-
Notifications
You must be signed in to change notification settings - Fork 652
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
Metrics instrumentation celery #1159
Comments
Hi Can you assign it to me? |
Hello @sanketmehta28 |
Hello @srikanthccv @TheAnshul756 this means that I can't use Opentelemetry Metrics under Celery ? Right now I'm trying to use it but some metrics are getting lost, I assume it's because the normal exporter doesn't work correctly in celery/worker-based projects, right ? |
@levivm I didn't understand your question. This issue is for adding metrics instrumentation for |
@srikanthccv I want to send metrics not span from a celery worker using OpenTelemetry, but it seems some metrics are getting lost, so, I don't know if it is because OpenTelemetry Metrics is not yet supported to be used along celery ? Thanks in advance for you help. |
The celery instrumentation doesn't have metrics instrumentation yet and this is a tracker issue for it. |
Hello @srikanthccv |
We will do something similar to this https://flower.readthedocs.io/en/latest/prometheus-integration.html#available-metrics. Since this framework is specific to Python projects it won't probably be added to spec but we can provide these metrics using OTEL Metrics API. |
Hi, can I work on it or you already work on it? @TheAnshul756 |
Sure you can work on it. |
@srikanthccv Hi, I try to add Gauge metrics and I see that there isn't record option for Gauge (For example when I use Histogram, the option is exist). |
There is no sync gauge in metric API/SDK specification. However, there is an async gauge. What gauge metrics did you have to add? |
|
You can use UpDownCounter? |
I use a histogram, I found it more suitable |
@srikanthccv Why we don't merge it? |
There are unresolved conversations. It will be merged when they are addressed. |
@srikanthccv All the conversations resolved. |
Relevant semconv: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/instrumentation/kafka.md
The text was updated successfully, but these errors were encountered: