Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: NR-338803 relationship synthesis for EXT to DOCKER INFRA #1794

Merged
merged 4 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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"
Loading