Skip to content

Commit

Permalink
feat: Relationship synthesis K8s infra container to ext service (#1712)
Browse files Browse the repository at this point in the history
* feat: relationship synthesis K8s infra container to ext service

* fix: Review comments addressed
  • Loading branch information
kolaarun authored Jul 30, 2024
1 parent d0e9369 commit 35866e9
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
relationships:
- name: nrInfraK8sContainerEXTService
version: "1"
origins:
- OpenTelemetry
conditions:
- attribute: eventType
anyOf: [ "Metric" ]
- attribute: entity.type
anyOf: [ "SERVICE" ]
relationship:
expires: P75M
relationshipType: HOSTS
source:
buildGuid:
account:
lookup: true
domain:
value: INFRA
type:
value: CONTAINER
valueInGuid: NA
identifier:
fragments:
- value: "k8s:"
- attribute: k8s.cluster.name
- value: ":"
- attribute: k8s.namespace.name
- value: ":"
- attribute: k8s.pod.name
- value: ":container:"
- attribute: k8s.container.name
hashAlgorithm: FARM_HASH
target:
extractGuid:
attribute: entity.guid

0 comments on commit 35866e9

Please sign in to comment.