-
Notifications
You must be signed in to change notification settings - Fork 10
[main] Merge upstream prometheus/main to b0649e08c439 #1044
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
[main] Merge upstream prometheus/main to b0649e08c439 #1044
Conversation
- No duration unit suggestions shown if a valid unit follows the digit (e.g. , ) - Adds related test cases Signed-off-by: ADITYA TIWARI <[email protected]>
Refactor duration regex to match complete durations with units. Signed-off-by: ADITYA TIWARI <[email protected]>
Added tests for durationWithUnitRegexp to validate matching of complete durations with units and ensure non-matching cases are correctly identified. Signed-off-by: ADITYA TIWARI <[email protected]>
Signed-off-by: ADITYA TIWARI <[email protected]>
…d compound duration test cases Signed-off-by: ADITYA TIWARI <[email protected]>
Signed-off-by: ADITYA TIWARI <[email protected]>
Removed polyfill for RegExp.escape and updated duration regex. Signed-off-by: ADITYA TIWARI <[email protected]>
…maries (#17374) This adds the following native histograms (with a few classic buckets for backwards compatibility), while keeping the corresponding summaries (same name, just without `_histogram`): - `prometheus_sd_refresh_duration_histogram_seconds` - `prometheus_rule_evaluation_duration_histogram_seconds` - `prometheus_rule_group_duration_histogram_seconds` - `prometheus_target_sync_length_histogram_seconds` - `prometheus_target_interval_length_histogram_seconds` - `prometheus_engine_query_duration_histogram_seconds` Signed-off-by: Harsh <[email protected]> Signed-off-by: harsh kumar <[email protected]> Co-authored-by: Björn Rabenstein <[email protected]>
This is ignored as of go 1.17, see e.g., for reference https://go.dev/blog/go116-module-changes Signed-off-by: Solomon Jacobs <[email protected]>
[BUGFIX] UI :Suppress duration unit autocomplete when unit already present in query selector
…sets (#17620) Signed-off-by: Nikos Angelopoulos <[email protected]>
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving this upstream merge PR.
This PR merges changes from prometheus/prometheus upstream repository.
Related GitHub action is defined here.
Merge from prometheus/prometheus
This PR was automatically created by the merge-upstream-prometheus workflow
Details:
mainmainb0649e08c4391c68009266779154adc72085d8ccChanges:
This PR merges the latest changes from the upstream prometheus/prometheus
mainbranch.Note
Adds native histogram metrics for key durations across engine/rules/SD/scrape, improves PromQL editor duration autocomplete, introduces explicit duplicate labelset errors, and tweaks README build instructions.
*_histogram_secondsfor durations:promqlengine:query_duration_histogram_secondsfor queue/prepare/inner_eval/result_sort; observe in code paths.rule_evaluation_duration_histogram_seconds,rule_group_duration_histogram_seconds; observe on eval/iteration.prometheus_sd_refresh_duration_histogram_seconds; observe on refresh.prometheus_target_sync_length_histogram_seconds,prometheus_target_interval_length_histogram_seconds; register/unregister and observe.durationWithUnitRegexp; extend tests.ErrDuplicateAlertLabelSetandErrDuplicateRecordingLabelSet; update tests to userequire.ErrorIs.discovery.RefreshMetricsand observe on each refresh.go installcommand (removeGO111MODULE=on).Written by Cursor Bugbot for commit 4337971. This will update automatically on new commits. Configure here.