Skip to content

Multiple-instrument callbacks for observables #112

@mortenpi

Description

@mortenpi

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions