Skip to content

Commit

Permalink
fix: modified entity relationship for fluentbit kubernetes (#1861)
Browse files Browse the repository at this point in the history
Co-authored-by: Otávio Carvalho <[email protected]>
  • Loading branch information
rohit-bandlamudi-nr and otaviocarvalho authored Jan 15, 2025
1 parent 52eb311 commit a7e8887
Showing 1 changed file with 20 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ relationships:
version: "1"
origins:
- Metric API
- Kubernetes Integration
conditions:
- attribute: eventType
anyOf: [ "Metric" ]
Expand All @@ -15,32 +14,32 @@ relationships:
expires: P75M
relationshipType: MANAGES
source:
extractGuid:
attribute: entityGuid
entityType:
value: KUBERNETES_DAEMONSET
valueInGuid: NA
target:
buildGuid:
account:
lookup: true
lookup: true
domain:
value: EXT
value: INFRA
type:
value: FLUENTBIT_KUBERNETES
value: KUBERNETES_DAEMONSET
valueInGuid: NA
identifier:
fragments:
- value: "k8s:"
- attribute: cluster_name
- value: ":"
- attribute: namespace
- value: ":"
- value: ":daemonset:"
- attribute: daemonset_name
hashAlgorithm: FARM_HASH
target:
extractGuid:
attribute: entity.guid
entityType:
value: FLUENTBIT_KUBERNETES
- name: otelKsmK8sDaemonSetManagesFluentbit
version: "1"
origins:
- Metric API
- OpenTelemetry
conditions:
- attribute: eventType
anyOf: [ "Metric" ]
Expand All @@ -52,23 +51,23 @@ relationships:
expires: P75M
relationshipType: MANAGES
source:
extractGuid:
attribute: entity.guid
entityType:
value: KUBERNETES_DAEMONSET
target:
buildGuid:
account:
lookup: true
lookup: true
domain:
value: EXT
value: INFRA
type:
value: FLUENTBIT_KUBERNETES
value: KUBERNETES_DAEMONSET
identifier:
fragments:
- attribute: cluster_name
- value: ":"
- attribute: namespace
- value: ":"
- attribute: daemonset_name
hashAlgorithm: FARM_HASH
hashAlgorithm: FARM_HASH
target:
extractGuid:
attribute: entity.guid
entityType:
value: FLUENTBIT_KUBERNETES

0 comments on commit a7e8887

Please sign in to comment.