-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workingneeds author feedbackWaiting for additional feedback from the authorWaiting for additional feedback from the authorneeds reprostale
Description
OpenTelemetry java agent version: 1.20.2
Kafka version: 3.1.1
OpenTelemetry Collector version: 0.66.0
OpenTelemetry Collector config file:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:14317
otlp/dummy: # Dummy receiver for the metrics pipeline
protocols:
grpc:
endpoint: localhost:65535
processors:
servicegraph:
metrics_exporter: prometheus/servicegraph # Exporter to send metrics to
dimensions: [cluster, namespace] # Additional dimensions (labels) to be added to the metrics extracted from the resource and span attributes
store: # Configuration for the in-memory store
ttl: 2s # Value to wait for an edge to be completed
max_items: 200 # Amount of edges that will be stored in the storeMap
exporters:
prometheus/servicegraph:
endpoint: 0.0.0.0:9091 # to prometheus
otlp:
endpoint: http://localhost:4317 # to jaeger
tls:
insecure: true
logging:
logLevel: debug
service:
pipelines:
traces:
receivers: [otlp]
processors: [servicegraph]
exporters: [logging, otlp]
metrics/servicegraph:
receivers: [otlp]
processors: []
exporters: [prometheus/servicegraph]
refresh http://localhost:9091/metrics in browser, I find that kafka_producer_connection_count keeps changing between counter and gauge
# HELP kafka_producer_connection_count The current number of active connections.
# TYPE kafka_producer_connection_count counter
kafka_producer_connection_count{client_id="producer-1",job="otel-demo-provider",kafka_version="3.1.1",spring_id="kafkaProducerFactory.producer-1"} 1
# HELP kafka_producer_connection_count The current number of active connections.
# TYPE kafka_producer_connection_count gauge
kafka_producer_connection_count{client_id="producer-1",job="otel-demo-provider"} 1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds author feedbackWaiting for additional feedback from the authorWaiting for additional feedback from the authorneeds reprostale