-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improve business metrics sent from compass #141
Comments
We are currently using I am thinking maybe we can improve the metric collection by replacing our If we are replacing StatsD with OpenTelemetry, the changes in compass only metrics should be sent to some open telemetry collector We can move slowly to OpenTelemetry by doing metrics first and tracing could be done later.
The easiest approach would be the 1. Keep Using Telegraf |
We can also make it configurable, so user can decide which one to use. wdyt? @mabdh |
I don't think persisting 2 methods would be give much benefit here. But it will be better if there is a functionality to convert otel metrics to statsd metrics so user could still use otel instrumentation to measure the grpc without adding custom code. Might need to do more analysis for this. |
@mabdh We should move to opentelemetry for this. This is something we are planning for all ODPF products actually. |
After looking at OpenTelemetry library, the grpc interceptor is currently only support tracing and not metrics. The metrics one is still in progress. Issue: open-telemetry/opentelemetry-go-contrib#194 I think we can move to OpenTelemetry when we are ready to implement tracing or when the otelgrpc has already had metrics implemented. |
Additional metrics needed:
|
Is your feature request related to a problem? Please describe.
Compass is currently sending metrics but only for some metrics (system/api). We can improve the way compass sending metrics by sending more business metrics and by having an abstraction of predefined metrics that could be use with whatever metric collector that user used (statsd / opentelemetry).
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: