-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement metrics ( See System.Diagnostics.DiagnosticSource
)
#58
Comments
Do you need help on this subject ? I Can try a basic implem |
@aygalinc Thank you. It would be great if you could work on it. The idea is to provide the same Java client metrics. You can have a look here: https://github.com/rabbitmq/rabbitmq-amqp-java-client/blob/main/src/test/java/com/rabbitmq/client/amqp/perf/AmqpPerfTest.java#L51 The idea is to create an interface for the metrics; see this branch: https://github.com/rabbitmq/rabbitmq-amqp-dotnet-client/blob/metrics/RabbitMQ.AMQP.Client/IMetricsCollector.cs Then, implement the class based on the interface. By default, it should work like Java with a class About Prometheus: We don't want to add other dependencies on this client, so each implementation should be done in another project with the correct implementation. I hope it is clear. if you have questions: You can find me on https://www.rabbitmq.com/blog/2023/04/04/announcing-rabbitmq-community-discord-server . Thank you |
You do not prefer to base your work on Otel metric semconv to define the set of needed metrics ? https://opentelemetry.io/docs/specs/semconv/messaging/messaging-metrics/ |
It is ok with me. In this client btw we'd need to have these metrics:
|
Do you want OTEL metric or the custom one you describe :
In otel semanctic convention should be translated to only one metric :
with the absence or thee presence of the tag error.type if the message is published well or not. |
@Gsantomaggio @aygalinc please refer to the AMQP 0.9.1 .NET client issues and pull requests, as there has been a LOT of discussion with Microsoft on OTel related naming rabbitmq/rabbitmq-dotnet-client#1528 |
Thank you @lukebakken . |
Hey ! Thanks for the pointers: issues and PR refer to tracing.(Span attribute converge with metrics tags to have a common base of understanding) |
Sorry for the confusion. My fault. Thank you |
That's not what I'm suggesting, just that there has been so much discussion around naming things that it's probably relevant to naming things for metrics. |
Is your feature request related to a problem? Please describe.
Implement client metrics
Describe the solution you'd like
See
System.Diagnostics.DiagnosticSource
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: