Skip to content
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

semconv-metrics: do not force a type of instrument #816

Merged

Conversation

iRevive
Copy link
Contributor

@iRevive iRevive commented Oct 26, 2024

It's an oversight from the original implementation: we shouldn't decide for a user which type of instrument they will use.

Bonus point: createObserver and createWithCallback.

@iRevive iRevive added module:semconv Something to do with semantic conventions breaking The changes are semantically or binary breaking labels Oct 26, 2024
@iRevive iRevive merged commit 7d84643 into typelevel:main Oct 26, 2024
10 checks passed
@iRevive iRevive deleted the semconv/metrics-instrument-factory-type branch October 26, 2024 08:18
@iRevive
Copy link
Contributor Author

iRevive commented Oct 26, 2024

A use case: typelevel/otel4s-experimental#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking The changes are semantically or binary breaking module:semconv Something to do with semantic conventions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant