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

OTLP: add CLI flag for 'quiet zero' #10238

Merged
merged 8 commits into from
Jan 3, 2025
Merged

OTLP: add CLI flag for 'quiet zero' #10238

merged 8 commits into from
Jan 3, 2025

Conversation

bboreham
Copy link
Contributor

So that we can update all ingesters before enabling this in distributors.

To be used together with grafana/mimir-prometheus#791

What this PR does

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

@bboreham bboreham requested a review from a team as a code owner December 13, 2024 15:07
@bboreham bboreham marked this pull request as draft December 13, 2024 15:08
@@ -956,6 +956,11 @@ instance_limits:
# limiting feature.)
# CLI flag: -distributor.reusable-ingester-push-workers
[reusable_ingester_push_workers: <int> | default = 2000]

# (advanced) Change the implementation of Otel startTime from a real zero to a
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# (advanced) Change the implementation of Otel startTime from a real zero to a
# (advanced) Change the implementation of OTel startTime from a real zero to a

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. This flag is not supposed to appear in the docs; I will need to research how to achieve that.

Copy link
Member

Choose a reason for hiding this comment

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

Hey @bboreham I just learned how to do so, simply append doc:"hidden" to it:

	EnableStartTimeQuietZero bool `yaml:"start_time_quiet_zero" category:"advanced" doc:"hidden"`

@jesusvazquez jesusvazquez marked this pull request as ready for review January 2, 2025 15:35
Copy link
Member

@jesusvazquez jesusvazquez left a comment

Choose a reason for hiding this comment

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

LGTM

Need review from someone else though since I'm biased and have partly helped get this done!

@krajorama krajorama self-requested a review January 3, 2025 09:12
@krajorama krajorama enabled auto-merge (squash) January 3, 2025 10:31
@krajorama krajorama merged commit 38beb42 into main Jan 3, 2025
29 checks passed
@krajorama krajorama deleted the quiet-zeros-flag branch January 3, 2025 10:51
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.

4 participants