You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bound metric instruments have a large API surface area and very few members of the OTel-Go community have defended keeping them. Although the corresponding Prometheus client library has this concept, it's not clearly needed in OTel-Go at this time.
Proposed Solution
Remove this feature until it has become part of the OTel specification. The Metrics SIG has discussed working on this after Metrics API and SDK reach 1.0.
Alternatives
This can be kept. I don't find myself wanting it.
Prior Art
See the Prometheus-Go client.
Additional Context
The SDK structure will remain. The existing concurrency mechanism and support for "forgetting" metric instruments when configured with delta temporality means that the mechanism behind bound instruments will stay in place. It will be easy to add this feature again.
The text was updated successfully, but these errors were encountered:
* Bump go (1.16 -> 1.18)
* Bump otel (0.16.0 -> 1.7.0 / 0.30.0)
A lot of stuff we used have been moved around. Traces are now stable in
otel so we can expect this to stay still; metrics are still in alpha
though so compat may break again in the future.
Notables changes:
* metric.Must has been removed; some constructors now have their
signature changed. We can introduce a custom Must so we don't
change those signatures
* metric.Bind has been removed from the metrics package. That introduces
a little more complexity to the code. I understood that
(open-telemetry/opentelemetry-go#2351) it
might be reintroduced in the future
* Fix typo in README.md
* Upgrade observability dependencies
* Bump go (1.16 -> 1.18)
* Bump otel (0.16.0 -> 1.7.0 / 0.30.0)
A lot of stuff we used have been moved around. Traces are now stable in
otel so we can expect this to stay still; metrics are still in alpha
though so compat may break again in the future.
Notables changes:
* metric.Must has been removed; some constructors now have their
signature changed. We can introduce a custom Must so we don't
change those signatures
* metric.Bind has been removed from the metrics package. That introduces
a little more complexity to the code. I understood that
(open-telemetry/opentelemetry-go#2351) it
might be reintroduced in the future
Problem Statement
Bound metric instruments have a large API surface area and very few members of the OTel-Go community have defended keeping them. Although the corresponding Prometheus client library has this concept, it's not clearly needed in OTel-Go at this time.
Proposed Solution
Remove this feature until it has become part of the OTel specification. The Metrics SIG has discussed working on this after Metrics API and SDK reach 1.0.
Alternatives
This can be kept. I don't find myself wanting it.
Prior Art
See the Prometheus-Go client.
Additional Context
The SDK structure will remain. The existing concurrency mechanism and support for "forgetting" metric instruments when configured with delta temporality means that the mechanism behind bound instruments will stay in place. It will be easy to add this feature again.
The text was updated successfully, but these errors were encountered: