feat(instrumentation-runtime-node): add active resource gauge#3361
feat(instrumentation-runtime-node): add active resource gauge#3361sfozz wants to merge 1 commit intoopen-telemetry:mainfrom
Conversation
Add a guage to monitor the Active Resources that are keeping the event loop alive.
|
@pichlermarc @maryliag Thoughts on whether the requirement here should be that we update semconv first? IIUC, the original definition of v8 semconv metrics was perhaps whatever this instrumentation already just happened to be emitting? Do you recall, Marylia? |
I think the best approach is indeed updating the semconv first. @sfozz can you make the changes here first?
First we did the conventions, then the instrumentation was added, was a little back and forward, but the implementation was based on the sem conv, and at that time we chose the most requested metrics. Also, @sfozz please add tests to this PR |
Which problem is this PR solving?
Add a gauge to monitor the Active Resources that are keeping the event loop alive. This metric is recommended to be monitored to avoid saturation and starvation issues.
Short description of the changes
v8js.active_resourcev8sj.active_resource.typeReference