Skip to content

Commit

Permalink
add relationship for k8s pod and host for otel (#1719)
Browse files Browse the repository at this point in the history
Co-authored-by: manuelrodriguez-nr <[email protected]>
  • Loading branch information
maxa101 and manuelrodriguez-nr authored Sep 7, 2024
1 parent 30bed92 commit 280bf54
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion relationships/synthesis/INFRA-HOST-to-INFRA-KUBERNETES_POD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,26 @@ relationships:
extractGuid:
attribute: entityGuid
entityType:
value: KUBERNETES_POD
value: KUBERNETES_POD
- name: k8sHostContainsPodOtel
version: "1"
origins:
- Kubernetes Integration
conditions:
- attribute: eventType
value: Metric
- attribute: entity.type
value: KUBERNETES_POD
relationship:
expires: P75M
relationshipType: CONTAINS
source:
extractGuid:
attribute: host.guid
entityType:
value: HOST
target:
extractGuid:
attribute: entityGuid
entityType:
value: KUBERNETES_POD

0 comments on commit 280bf54

Please sign in to comment.