Skip to content

Commit 3c71c7b

Browse files
authored
MSSQL OTEL: Updated the otel.library.name attribute within the MSSQL NRDOT host-receiver relationship (#2540)
* Updated the MSSQL database receiver name * updated the otel.library.name
1 parent b0a7022 commit 3c71c7b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

relationships/candidates/MSSQLDBINSTANCE.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,15 @@ lookups:
1414
onMultipleMatches: RELATE_ALL
1515
onMiss:
1616
action: NO_OP
17+
- entityTypes:
18+
- domain: INFRA
19+
type: MSSQLINSTANCE
20+
tags:
21+
matchingMode: ALL
22+
predicates:
23+
- tagKeys: ["host.name"]
24+
field: hostName
25+
onMatch:
26+
onMultipleMatches: RELATE_ALL
27+
onMiss:
28+
action: NO_OP

relationships/synthesis/NRDOTHOST-to-OTELMSSQLDB.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ relationships:
99
- attribute: instrumentation.provider
1010
anyOf: ["opentelemetry"]
1111
- attribute: otel.library.name
12-
anyOf: ["newrelicsqlserverreceiver"]
12+
anyOf:
13+
[
14+
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/newrelicsqlserverreceiver",
15+
]
1316
- attribute: host.id
1417
present: true
1518
relationship:

0 commit comments

Comments
 (0)