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

Disable by default gauge-based histograms in the Micrometer bridge #8360

Conversation

mateuszrzeszutek
Copy link
Member

Resolves #8357

I think this is something we'll want to do in the same release as #8334

@mateuszrzeszutek mateuszrzeszutek requested a review from a team April 25, 2023 14:01
@github-actions github-actions bot requested a review from theletterf April 25, 2023 14:01
@mateuszrzeszutek mateuszrzeszutek added this to the v1.26.0 milestone May 5, 2023
| `otel.instrumentation.micrometer.prometheus-mode.enabled` | boolean | false | Enable the "Prometheus mode" this will simulate the behavior of Micrometer's PrometheusMeterRegistry. The instruments will be renamed to match Micrometer instrument naming, and the base time unit will be set to seconds. |
| System property | Type | Default | Description |
|------------------------------------------------------------|---------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `otel.instrumentation.micrometer.base-time-unit` | String | `ms` | Set the base time unit for the OpenTelemetry `MeterRegistry` implementation. <details><summary>Valid values</summary>`ns`, `nanoseconds`, `us`, `microseconds`, `ms`, `microseconds`, `s`, `seconds`, `min`, `minutes`, `h`, `hours`, `d`, `days`</details> |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to change the default to s (in the same release as #8435)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, definitely! I've been waiting for the other two micrometer PRs to get merged first though, because of a large number of conflicts (especially in test code)

@mateuszrzeszutek mateuszrzeszutek removed this from the v1.26.0 milestone May 9, 2023
@mateuszrzeszutek mateuszrzeszutek force-pushed the disable-histogram-gauges-by-default branch from 2e02a1e to 75b670a Compare May 15, 2023 07:38
@mateuszrzeszutek mateuszrzeszutek enabled auto-merge (squash) May 15, 2023 09:40
@mateuszrzeszutek mateuszrzeszutek merged commit 3dd8ad7 into open-telemetry:main May 15, 2023
@mateuszrzeszutek mateuszrzeszutek deleted the disable-histogram-gauges-by-default branch May 15, 2023 10:05
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 this pull request may close these issues.

Disable by default gauge-based histograms in the Micrometer bridge
3 participants