Skip to content

Commit

Permalink
feat: NR-338803 relationship synthesis for EXT to DOCKER INFRA (#1794)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkadapa-nr authored Dec 11, 2024
1 parent 0ea2c66 commit 9e78df0
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 30 deletions.

This file was deleted.

59 changes: 59 additions & 0 deletions relationships/synthesis/INFRA_DOCKER_CONTAINER-to-EXT_SERVICE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
relationships:
# infra metrics from oTel dockerstats receiver
- name: extInfraDockerContainerEXTService
version: "1"
origins:
- OpenTelemetry
conditions:
- attribute: eventType
anyOf: [ "Metric" ]
relationship:
expires: P75M
relationshipType: HOSTS
source:
buildGuid:
account:
attribute: accountId
domain:
value: INFRA
type:
value: CONTAINER
identifier:
fragments:
- attribute: container.id
hashAlgorithm: FARM_HASH
target:
extractGuid:
attribute: entity.guid
entityType:
value: "SERVICE"
# infra metrics from NR infra agent
- name: nrInfraDockerContainerEXTService
version: "1"
origins:
- OpenTelemetry
conditions:
- attribute: eventType
anyOf: [ "Metric" ]
relationship:
expires: P75M
relationshipType: HOSTS
source:
buildGuid:
account:
attribute: accountId
domain:
value: INFRA
type:
value: CONTAINER
valueInGuid: NA
identifier:
fragments:
- value: "docker:"
- attribute: container.id
hashAlgorithm: FARM_HASH
target:
extractGuid:
attribute: entity.guid
entityType:
value: "SERVICE"

0 comments on commit 9e78df0

Please sign in to comment.