Skip to content

Multiple-instrument callbacks for observables #112

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

Closed
mortenpi opened this issue Jul 22, 2024 · 1 comment · Fixed by #113
Closed

Multiple-instrument callbacks for observables #112

mortenpi opened this issue Jul 22, 2024 · 1 comment · Fixed by #113
Assignees

Comments

@mortenpi
Copy link

This is a bit similar to #85, but distinct in that the idea is to set multiple different instruments in one callback call (potentially different types of instruments, so attributes are not a suitable workaround either I think).

The spec has a suggestion for an API: https://opentelemetry.io/docs/specs/otel/metrics/api/#multiple-instrument-callbacks

Is there some way to achieve this right now? If not (which I think is the case), is this something that should be supported? Any thoughts on the API?

@findmyway
Copy link
Member

Should be easy to support.

(I had thought about this while reading data from NVSwitch;)

@findmyway findmyway self-assigned this Jul 23, 2024
@findmyway findmyway linked a pull request Jul 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants