Skip to content

Commit

Permalink
feat: Adding tags for confluent kafka topic
Browse files Browse the repository at this point in the history
  • Loading branch information
dsankaraganti committed Jan 8, 2025
1 parent 5e8be02 commit fc10a60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion entity-types/infra-confluentcloudkafkatopic/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ goldenTags:
- confluent.kafka.server.metric.topic
- confluent.clusterId
- confluent.metricNamespace
- confluent.clusterBootstrapServers
- collector.name
- instrumentation.provider
- newrelic.source
- kafka.cluster_name
- confluent.resourceType
- collector.version
- confluent.region
- confluent.resourceGroup
Expand Down Expand Up @@ -47,6 +47,7 @@ synthesis:
kafka_id:
kafka.cluster_name:
instrumentation.provider:
bootstrap.servers:
newrelic.source:
conditions:
- attribute: eventType
Expand All @@ -73,6 +74,7 @@ synthesis:
kafka_id:
kafka.cluster_name:
instrumentation.provider:
bootstrap.servers:
newrelic.source:
conditions:
- attribute: eventType
Expand Down Expand Up @@ -100,6 +102,7 @@ synthesis:
confluent.clusterId:
confluent.clusterName:
collector.name:
confluent.clusterBootstrapServers:
confluent.metricNamespace:
instrumentation.provider:
newrelic.source:
Expand Down Expand Up @@ -133,6 +136,7 @@ synthesis:
confluent.clusterName:
collector.name:
confluent.metricNamespace:
confluent.clusterBootstrapServers:
instrumentation.provider:
newrelic.source:
conditions:
Expand Down
2 changes: 1 addition & 1 deletion relationships/candidates/KAFKATOPIC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ lookups:
tags:
matchingMode: ALL
predicates:
- tagKeys: ["bootstrap_servers"]
- tagKeys: ["confluent.clusterBootstrapServers", "bootstrap.servers"]
field: bootstrapServers
- tagKeys: ["confluent.kafka.server.metric.topic", "topic"]
field: topic
Expand Down

0 comments on commit fc10a60

Please sign in to comment.