-
Notifications
You must be signed in to change notification settings - Fork 440
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
Add Synchronous Gauge instrument to the metrics API/SDK #2279
Comments
Thanks for creating the issue. Adding for reference the relevant Specs PR - |
So:
We really need a plan to handle ABI changes gracefully, see #2222 |
Depends on: which will add CI for a WITH_ABI_VERSION_2 build. |
This issue was marked as stale due to lack of activity. |
This issue is available for anyone to work on. Make sure to reference this issue in your pull request. |
Before opening a feature request against this repo, consider whether the feature should/could be implemented in the other OpenTelemetry client libraries. If so, please open an issue on opentelemetry-specification first.
Is your feature request related to a problem?
There's plenty of use cases described in the specification issue.
Describe the solution you'd like
I expect to have two new functions in the class
Meter
calledCreateInt64Gauge()
andCreateDoubleGauge()
along with the template classGauge
. They should behave like the ObservableGauge instrument, but being synchronous instead of asynchronous.Describe alternatives you've considered
This is described as an experimental feature in the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#gauge
Additional context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered: