forked from newrelic/entity-definitions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Docker Infra container to EXT service (newrelic#1711)
* feat: Infra container to EXT service relationship * fix: Review comments addressed * fix: Review comments addressed * fix: Review comments addressed
- Loading branch information
Showing
2 changed files
with
59 additions
and
30 deletions.
There are no files selected for viewing
30 changes: 0 additions & 30 deletions
30
relationships/synthesis/EXT_INFRA-DOCKER_CONTAINER-to-EXT-SERVICE.yml
This file was deleted.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
relationships/synthesis/INFRA_DOCKER_CONTAINER-to-EXT_SERVICE.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |