Skip to content

Commit

Permalink
fix: Review comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
kolaarun committed Jul 29, 2024
1 parent eac4159 commit 2c1ac8b
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 30 deletions.

This file was deleted.

63 changes: 63 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,63 @@
relationships:
# infra metrics from oTel dockerstats receiver
- name: extInfraDockerContainerEXTService
version: "1"
origins:
- OpenTelemetry
conditions:
- attribute: eventType
anyOf: [ "Metric" ]
- attribute: entity.type
anyOf: ["SERVICE"]
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" ]
- attribute: entity.type
anyOf: ["SERVICE"]
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 2c1ac8b

Please sign in to comment.