-
Notifications
You must be signed in to change notification settings - Fork 517
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
[express plugin] automatic metrics instrumentation #13
Comments
Having metrics inside our plugins is definitely in the roadmap. |
Thanks @OlivierAlbertini , if I understand correctly, the express plugin being worked on will eventually encompass both tracing and metrics data within it, that's to say there will not be a separate tracing express plugin and a separate express metrics plugin? |
yes, one plugin for both. |
OK so this issue depends on open-telemetry/opentelemetry-js#666 and open-telemetry/opentelemetry-js#402 |
Moving inside the contrib repo since the express plugin is now there |
Hello, is there any progress? |
The metrics spec, JavaScript API, and SDK are under active development. I'd believe we need to wait for a (generally) stable metrics API to start the work on third-party instrumentation. (The work is being tracked at open-telemetry/opentelemetry-js#2480 and open-telemetry/opentelemetry-js#2574) |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
@legendecas as both the issues linked are now closed. Can we expect any movement on the metrics inside the express plugin? |
@anikdas if you are using the http instrumentation, the instrumentation should start reporting HTTP metrics for you. |
Hey @legendecas I've tried running metrics locally with:
and I don't see anything showing in the console. I also don't see anything received by my collector in production. On the other hand traces are working fine for me from the same Edit: just discovered this issue, is it actually not possible to configure the metrics entirely via the command line? |
Yes, automatic setup of metrics exporters via env vars this is not implemented yet. open-telemetry/opentelemetry-js#3193 tracks implementation of that. |
Closing this issue as it was the request to emit metrics for express, which the |
Describe the solution you'd like
We can draw inspiration from @yuriatgoogle's https://dev.to/yuriatgoogle/custom-metrics-in-node-js-with-opentelemetry-and-prometheus-3dbd to expose the "golden signals"
The text was updated successfully, but these errors were encountered: