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

deps(docker-compose): update prom/prometheus docker tag to v3 #394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2024

This PR contains the following updates:

Package Update Change
prom/prometheus major v2.55.1 -> v3.1.0

Release Notes

prometheus/prometheus (prom/prometheus)

v3.1.0: 3.1.0 / 2025-01-02

Compare Source

What's Changed

  • [SECURITY] upgrade golang.org/x/crypto to address reported CVE-2024-45337. #​15691
  • [CHANGE] Notifier: Increment prometheus_notifications_errors_total by the number of affected alerts rather than per batch. #​15428
  • [CHANGE] API: list rules field "groupNextToken:omitempty" renamed to "groupNextToken". #​15400
  • [ENHANCEMENT] OTLP translate: keep identifying attributes in target_info. #​15448
  • [ENHANCEMENT] Paginate rule groups, add infinite scroll to rules within groups. #​15677
  • [ENHANCEMENT] TSDB: Improve calculation of space used by labels. #​13880
  • [ENHANCEMENT] Rules: new metric rule_group_last_rule_duration_sum_seconds. #​15672
  • [ENHANCEMENT] Observability: Export 'go_sync_mutex_wait_total_seconds_total' metric. #​15339
  • [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP. #​15329
  • [PERF] Optimize l=~".+" matcher. #​15474, #​15684
  • [PERF] TSDB: Cache all symbols for compaction . #​15455
  • [PERF] TSDB: MemPostings: keep a map of label values slices. #​15426
  • [PERF] Remote-Write: Remove interning hook. #​15456
  • [PERF] Scrape: optimize string manipulation for experimental native histograms with custom buckets. #​15453
  • [PERF] TSDB: reduce memory allocations. #​15465, #​15427
  • [PERF] Storage: Implement limit in mergeGenericQuerier. #​14489
  • [PERF] TSDB: Optimize inverse matching. #​14144
  • [PERF] Regex: use stack memory for lowercase copy of string. #​15210
  • [PERF] TSDB: When deleting from postings index, pause to unlock and let readers read. #​15242
  • [BUGFIX] Main: Avoid possible segfault at exit. (#​15724)
  • [BUGFIX] Rules: Do not run rules concurrently if uncertain about dependencies. #​15560
  • [BUGFIX] PromQL: Adds test for absent, absent_over_time and deriv func with histograms. #​15667
  • [BUGFIX] PromQL: Fix various bugs related to quoting UTF-8 characters. #​15531
  • [BUGFIX] Scrape: fix nil panic after scrape loop reload. #​15563
  • [BUGFIX] Remote-write: fix panic on repeated log message. #​15562
  • [BUGFIX] Scrape: reload would ignore always_scrape_classic_histograms and convert_classic_histograms_to_nhcb configs. #​15489
  • [BUGFIX] TSDB: fix data corruption in experimental native histograms. #​15482
  • [BUGFIX] PromQL: Ignore histograms in all time related functions. #​15479
  • [BUGFIX] OTLP receiver: Convert metric metadata. #​15416
  • [BUGFIX] PromQL: Fix resets function for histograms. #​15527
  • [BUGFIX] PromQL: Fix behaviour of changes() for mix of histograms and floats. #​15469
  • [BUGFIX] PromQL: Fix behaviour of some aggregations with histograms. #​15432
  • [BUGFIX] allow quoted exemplar keys in openmetrics text format. #​15260
  • [BUGFIX] TSDB: fixes for rare conditions when loading write-behind-log (WBL). #​15380
  • [BUGFIX] round() function did not remove __name__ label. #​15250
  • [BUGFIX] Promtool: analyze block shows metric name with 0 cardinality. #​15438
  • [BUGFIX] PromQL: Fix count_values for histograms. #​15422
  • [BUGFIX] PromQL: fix issues with comparison binary operations with bool modifier and native histograms. #​15413
  • [BUGFIX] PromQL: fix incorrect "native histogram ignored in aggregation" annotations. #​15414
  • [BUGFIX] PromQL: Corrects the behaviour of some operator and aggregators with Native Histograms. #​15245
  • [BUGFIX] TSDB: Always return unknown hint for first sample in non-gauge histogram chunk. #​15343
  • [BUGFIX] PromQL: Clamp functions: Ignore any points with native histograms. #​15169
  • [BUGFIX] TSDB: Fix race on stale values in headAppender. #​15322
  • [BUGFIX] UI: Fix selector / series formatting for empty metric names. #​15340
  • [BUGFIX] OTLP receiver: Allow colons in non-standard units. #​15710

v3.0.1: 3.0.1 / 2024-11-28

Compare Source

The first bug fix release for Prometheus 3.

  • [BUGFIX] Promql: Make subqueries left open. #​15431
  • [BUGFIX] Fix memory leak when query log is enabled. #​15434
  • [BUGFIX] Support utf8 names on /v1/label/:name/values endpoint. #​15399

v3.0.0: 3.0.0 / 2024-11-14

Compare Source

This release includes new features such as a brand new UI and UTF-8 support enabled by default. As this marks the first new major version in seven years, several breaking changes are introduced. The breaking changes are mainly around the removal of deprecated feature flags and CLI arguments, and the full list can be found below. For users that want to upgrade we recommend to read through our migration guide.

  • [CHANGE] Set the GOMAXPROCS variable automatically to match the Linux CPU quota. Use --no-auto-gomaxprocs to disable it. The auto-gomaxprocs feature flag was removed. #​15376
  • [CHANGE] Set the GOMEMLIMIT variable automatically to match the Linux container memory limit. Use --no-auto-gomemlimit to disable it. The auto-gomemlimit feature flag was removed. #​15373
  • [CHANGE] Scraping: Remove implicit fallback to the Prometheus text format in case of invalid/missing Content-Type and fail the scrape instead. Add ability to specify a fallback_scrape_protocol in the scrape config. #​15136
  • [CHANGE] Remote-write: default enable_http2 to false. #​15219
  • [CHANGE] Scraping: normalize "le" and "quantile" label values upon ingestion. #​15164
  • [CHANGE] Scraping: config scrape_classic_histograms was renamed to always_scrape_classic_histograms. #​15178
  • [CHANGE] Config: remove expand-external-labels flag, expand external labels env vars by default. #​14657
  • [CHANGE] Disallow configuring AM with the v1 api. #​13883
  • [CHANGE] regexp . now matches all characters (performance improvement). #​14505
  • [CHANGE] holt_winters is now called double_exponential_smoothing and moves behind the experimental-promql-functions feature flag. #​14930
  • [CHANGE] API: The OTLP receiver endpoint can now be enabled using --web.enable-otlp-receiver instead of --enable-feature=otlp-write-receiver. #​14894
  • [CHANGE] Prometheus will not add or remove port numbers from the target address. no-default-scrape-port feature flag removed. #​14160
  • [CHANGE] Logging: the format of log lines has changed a little, along with the adoption of Go's Structured Logging package. #​14906
  • [CHANGE] Don't create extra _created timeseries if feature-flag created-timestamp-zero-ingestion is enabled. #​14738
  • [CHANGE] Float literals and time durations being the same is now a stable fetaure. #​15111
  • [CHANGE] UI: The old web UI has been replaced by a completely new one that is less cluttered and adds a few new features (PromLens-style tree view, better metrics explorer, "Explain" tab). However, it is still missing some features of the old UI (notably, exemplar display and heatmaps). To switch back to the old UI, you can use the feature flag --enable-feature=old-ui for the time being. #​14872
  • [CHANGE] PromQL: Range selectors and the lookback delta are now left-open, i.e. a sample coinciding with the lower time limit is excluded rather than included. #​13904
  • [CHANGE] Kubernetes SD: Remove support for discovery.k8s.io/v1beta1 API version of EndpointSlice. This version is no longer served as of Kubernetes v1.25. #​14365
  • [CHANGE] Kubernetes SD: Remove support for networking.k8s.io/v1beta1 API version of Ingress. This version is no longer served as of Kubernetes v1.22. #​14365
  • [CHANGE] UTF-8: Enable UTF-8 support by default. Prometheus now allows all UTF-8 characters in metric and label names. The corresponding utf8-name feature flag has been removed. #​14705
  • [CHANGE] Console: Remove example files for the console feature. Users can continue using the console feature by supplying their own JavaScript and templates. #​14807
  • [CHANGE] SD: Enable the new service discovery manager by default. This SD manager does not restart unchanged discoveries upon reloading. This makes reloads faster and reduces pressure on service discoveries' sources. The corresponding new-service-discovery-manager feature flag has been removed. #​14770
  • [CHANGE] Agent mode has been promoted to stable. The feature flag agent has been removed. To run Prometheus in Agent mode, use the new --agent cmdline arg instead. #​14747
  • [CHANGE] Remove deprecated remote-write-receiver,promql-at-modifier, and promql-negative-offset feature flags. #​13456, #​14526
  • [CHANGE] Remove deprecated storage.tsdb.allow-overlapping-blocks, alertmanager.timeout, and storage.tsdb.retention flags. #​14640, #​14643
  • [FEATURE] OTLP receiver: Ability to skip UTF-8 normalization using otlp.translation_strategy = NoUTF8EscapingWithSuffixes configuration option. #​15384
  • [FEATURE] Support config reload automatically - feature flag auto-reload-config. #​14769
  • [ENHANCEMENT] Scraping, rules: handle targets reappearing, or rules moving group, when out-of-order is enabled. #​14710
  • [ENHANCEMENT] Tools: add debug printouts to promtool rules unit testing #​15196
  • [ENHANCEMENT] Scraping: support Created-Timestamp feature on native histograms. #​14694
  • [ENHANCEMENT] UI: Many fixes and improvements. #​14898, #​14899, #​14907, #​14908, #​14912, #​14913, #​14914, #​14931, #​14940, #​14945, #​14946, #​14972, #​14981, #​14982, #​14994, #​15096
  • [ENHANCEMENT] UI: Web UI now displays notifications, e.g. when starting up and shutting down. #​15082
  • [ENHANCEMENT] PromQL: Introduce exponential interpolation for native histograms. #​14677
  • [ENHANCEMENT] TSDB: Add support for ingestion of out-of-order native histogram samples. #​14850, #​14546
  • [ENHANCEMENT] Alerts: remove metrics for removed Alertmanagers. #​13909
  • [ENHANCEMENT] Kubernetes SD: Support sidecar containers in endpoint discovery. #​14929
  • [ENHANCEMENT] Consul SD: Support catalog filters. #​11224
  • [ENHANCEMENT] Move AM discovery page from "Monitoring status" to "Server status". #​14875
  • [PERF] TSDB: Parallelize deletion of postings after head compaction. #​14975
  • [PERF] TSDB: Chunk encoding: shorten some write sequences. #​14932
  • [PERF] TSDB: Grow postings by doubling. #​14721
  • [PERF] Relabeling: Optimize adding a constant label pair. #​12180
  • [BUGFIX] UI: fix selector / series formatting for empty metric names. #​15341
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to always ignore native histograms. #​14941
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to treat Infinity consistently. #​14941
  • [BUGFIX] OTLP receiver: Preserve colons when generating metric names in suffix adding mode (this mode is always enabled, unless one uses Prometheus as a library). #​15251
  • [BUGFIX] Scraping: Unit was missing when using protobuf format. #​15095
  • [BUGFIX] PromQL: Only return "possible non-counter" annotation when rate returns points. #​14910
  • [BUGFIX] TSDB: Chunks could have one unnecessary zero byte at the end. #​14854
  • [BUGFIX] "superfluous response.WriteHeader call" messages in log. #​14884
  • [BUGFIX] PromQL: Unary negation of native histograms. #​14821
  • [BUGFIX] PromQL: Handle stale marker in native histogram series (e.g. if series goes away and comes back). #​15025
  • [BUGFIX] Autoreload: Reload invalid yaml files. #​14947
  • [BUGFIX] Scrape: Do not override target parameter labels with config params. #​11029

Full Changelog: prometheus/prometheus@v2.55.0...v3.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

coderabbitai bot commented Nov 14, 2024

Important

Review skipped

Auto reviews are limited to specific labels.

🏷️ Labels to auto review (2)
  • fix
  • feat

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the deps label Nov 14, 2024
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch 5 times, most recently from 285d114 to db84f72 Compare November 23, 2024 23:12
@pbrissaud pbrissaud changed the title deps(docker-compose): update prom/prometheus docker tag to v3 feat: update prom/prometheus docker tag to v3 Nov 24, 2024
@github-actions github-actions bot added feat and removed deps labels Nov 24, 2024
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch from db84f72 to f9b96fd Compare November 25, 2024 01:47
@renovate renovate bot changed the title feat: update prom/prometheus docker tag to v3 deps(docker-compose): update prom/prometheus docker tag to v3 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch from f9b96fd to ed0a9da Compare November 28, 2024 19:13
@github-actions github-actions bot added deps and removed feat labels Nov 28, 2024
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch 3 times, most recently from 4dedbb9 to d1061d1 Compare December 9, 2024 14:02
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch from d1061d1 to 176af3e Compare December 11, 2024 21:17
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch 3 times, most recently from 7f515da to 4b48745 Compare December 23, 2024 21:37
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch 3 times, most recently from 05b628b to e2d224a Compare January 3, 2025 22:07
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch from e2d224a to 0205e62 Compare January 19, 2025 01:11
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch from 0205e62 to ab855f5 Compare January 28, 2025 09:29
@renovate renovate bot force-pushed the renovate/prom-prometheus-3.x branch from ab855f5 to bd63dbb Compare January 28, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant