File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ relationships :
2+ # Pattern 1: Legacy Datastore/instance pattern (for older APM agents)
3+ - name : apmApplicationCallsInfraMongodbInstance
4+ version : " 1"
5+ origins :
6+ - APM Metrics
7+ conditions :
8+ - attribute : metricName
9+ # "datastore/instance/MongoDB/$host/$port" or "Datastore/instance/MongoDB/$host/$port"
10+ regex : " ^[Dd]atastore/instance/[Mm]ongo[Dd][Bb]/[^/]+/[0-9]+"
11+ relationship :
12+ expires : P75M
13+ relationshipType : CALLS
14+ source :
15+ extractGuid :
16+ attribute : entity.guid
17+ target :
18+ buildGuid :
19+ account :
20+ lookup : true
21+ domain :
22+ value : INFRA
23+ type :
24+ value : MONGODB_INSTANCE
25+ identifier :
26+ fragments :
27+ - attribute : metricName__4 # hostname
28+ hashAlgorithm : FARM_HASH
29+
30+ # Pattern 2: Modern APM dimensional metrics for MongoDB datastore operations
31+ - name : apmApplicationCallsMongodbFromDimensionalMetrics
32+ version : " 1"
33+ origins :
34+ - APM Metrics
35+ conditions :
36+ - attribute : metricName
37+ anyOf : ["apm.service.datastore.operation.duration"]
38+ relationship :
39+ expires : P75M
40+ relationshipType : CALLS
41+ source :
42+ extractGuid :
43+ attribute : entity.guid
44+ target :
45+ buildGuid :
46+ account :
47+ lookup : true
48+ domain :
49+ value : INFRA
50+ type :
51+ value : MONGODB_INSTANCE
52+ identifier :
53+ fragments :
54+ - attribute : host # Uses MongoDB server hostname: "pk-nri-kafka"
55+ hashAlgorithm : FARM_HASH
You can’t perform that action at this time.
0 commit comments