dao-jun commented on code in PR #22179:
URL: https://github.com/apache/pulsar/pull/22179#discussion_r1515889914
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java:
##########
@@ -386,7 +402,29 @@ protected ConsumerImpl(PulsarClientImpl client, String
topic, ConsumerConfigurat
topicNameWithoutPartition = topicName.getPartitionedTopicName();
+ InstrumentProvider ip = client.instrumentProvider();
+ consumersOpenedCounter =
ip.newCounter("pulsar.client.consumer.opened", Unit.Sessions,
+ "Counter of sessions opened", topic, Attributes.empty());
Review Comment:
Since we provided OTEL metrics, can we provide it more detail?
I mean, the metrics at the TOPIC level are a bit coarse-grained
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]