Custom metrics with auto-instrumentation #2854
Unanswered
glisicivan
asked this question in
Q&A
Replies: 1 comment 4 replies
-
As for now, we don't provide many metric instrumentations yet since the metric SDK is still under active development. Still, one of the instrumentations could be found here: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/opentelemetry-host-metrics However, if you are implementing instrumentation, you can get the meter with https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/packages/opentelemetry-instrumentation/src/instrumentation.ts#L69. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to send custom metrics with auto-instrumentation? For example, I want to send http request, and then extract some data from the response and send that data as metric.
If this is possible, can you point me to some example. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions