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: Docker Infra container to EXT service #1711

Merged
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
relationships:
- 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:
attribute: entity.type
Copy link
Contributor

@mborroni mborroni Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can delete the entityType.value because it's already defined on the conditions as SERVICE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mborroni , Thanks for reviewing this PR. I have updated the PR as per your suggestion.

Loading