Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: golang-github-prometheus-prometheus | Distribution: openSUSE Tumbleweed |
Version: 2.54.1 | Vendor: openSUSE |
Release: 1.1 | Build date: Sat Sep 14 17:33:35 2024 |
Group: System/Monitoring | Build host: reproducible |
Size: 262035538 | Source RPM: golang-github-prometheus-prometheus-2.54.1-1.1.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://prometheus.io/ | |
Summary: The Prometheus monitoring system and time series database |
Prometheus's main features are: - a multi-dimensional data model (time series identified by metric name and key/value pairs) - a flexible query language to leverage this dimensionality - no reliance on distributed storage; single server nodes are autonomous - time series collection happens via a pull model over HTTP - pushing time series is supported via an intermediary gateway - targets are discovered via service discovery or static configuration - multiple modes of graphing and dashboarding support
Apache-2.0
* Sat Sep 14 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.54.1: * [BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps. #14685 * [BUGFIX] Docker SD: fix crash in match_first_network mode when container is reconnected to a new network. #14654 * [BUGFIX] PromQL: fix experimental native histogram counter reset detection on stale samples. #14514 * [BUGFIX] PromQL: fix experimental native histograms getting corrupted due to vector selector bug in range queries. #14538 * [BUGFIX] PromQL: fix experimental native histogram memory corruption when using histogram_count or histogram_sum. #14605 * Fri Aug 16 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - drop patch 0003-Bump-go-retryablehttp.patch - update to 2.54.0: Release 2.54 brings a release candidate of a major new version of Remote Write: 2.0. This is experimental at this time and may still change. Remote-write v2 is enabled by default, but can be disabled via feature-flag web.remote-write-receiver.accepted-protobuf-messages. * [CHANGE] Remote-Write: highest_timestamp_in_seconds and queue_highest_sent_timestamp_seconds metrics now initialized to 0. #14437 * [CHANGE] API: Split warnings from info annotations in API response. #14327 * [FEATURE] Remote-Write: Version 2.0 experimental, plus metadata in WAL via feature flag metadata-wal-records (defaults on). [#14395],#14427,#14444 * [FEATURE] PromQL: add limitk() and limit_ratio() aggregation operators. #12503 * [ENHANCEMENT] PromQL: Accept underscores in literal numbers, e.g. 1_000_000 for 1 million. #12821 * [ENHANCEMENT] PromQL: float literal numbers and durations are now interchangeable (experimental). Example: time() - my_timestamp > 10m. #9138 * [ENHANCEMENT] PromQL: use Kahan summation for sum(). [#14074],#14362 * [ENHANCEMENT] PromQL (experimental native histograms): Optimize histogram_count and histogram_sum functions. #14097 * [ENHANCEMENT] TSDB: Better support for out-of-order experimental native histogram samples. #14438 * [ENHANCEMENT] TSDB: Optimise seek within index. #14393 * [ENHANCEMENT] TSDB: Optimise deletion of stale series. #14307 * [ENHANCEMENT] TSDB: Reduce locking to optimise adding and removing series. #13286,#14286 * [ENHANCEMENT] TSDB: Small optimisation: streamline special handling for out-of-order data. #14396,#14584 * [ENHANCEMENT] Regexps: Optimize patterns with multiple prefixes. #13843,#14368 * [ENHANCEMENT] Regexps: Optimize patterns containing multiple literal strings. #14173 * [ENHANCEMENT] AWS SD: expose Primary IPv6 addresses as __meta_ec2_primary_ipv6_addresses. #14156 * [ENHANCEMENT] Docker SD: add MatchFirstNetwork for containers with multiple networks. #10490 * [ENHANCEMENT] OpenStack SD: Use flavor.original_name if available. #14312 * [ENHANCEMENT] UI (experimental native histograms): more accurate representation. #13680,#14430 * [ENHANCEMENT] Agent: out_of_order_time_window config option now applies to agent. #14094 * [ENHANCEMENT] Notifier: Send any outstanding Alertmanager notifications when shutting down. #14290 * [ENHANCEMENT] Rules: Add label-matcher support to Rules API. [#10194] * [ENHANCEMENT] HTTP API: Add url to message logged on error while sending response. #14209 * [BUGFIX] CLI: escape | characters when generating docs. #14420 * [BUGFIX] PromQL (experimental native histograms): Fix some binary operators between native histogram values. #14454 * [BUGFIX] TSDB: LabelNames API could fail during compaction. [#14279] * [BUGFIX] TSDB: Fix rare issue where pending OOO read can be left dangling if creating querier fails. #14341 * [BUGFIX] TSDB: fix check for context cancellation in LabelNamesFor. #14302 * [BUGFIX] Rules: Fix rare panic on reload. #14366 * [BUGFIX] Config: In YAML marshalling, do not output a regexp field if it was never set. #14004 * [BUGFIX] Remote-Write: reject samples with future timestamps. [#14304] * [BUGFIX] Remote-Write: Fix data corruption in remote write if max_sample_age is applied. #14078 * [BUGFIX] Notifier: Fix Alertmanager discovery not updating under heavy load. #14174 * [BUGFIX] Regexes: some Unicode characters were not matched by case-insensitive comparison. #14170,#14299 * [BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. #14515 * Wed Jul 10 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.53.1: This is a bug-fix release, reverting a change introduced in v2.51.0. * [BUGFIX] Remote-write: stop dropping samples in catch-up #14446 The bug was that remote-write would drop samples if the sending flow stalled for longer than it takes to write one "WAL segment". How long this takes depends on the data rate of your Prometheus; as a rough guide with 10 million series scraping once per minute it could be about 5 minutes. The issue is [#14087]. * Fri Jun 28 2024 Witek Bedyk <witold.bedyk@suse.com> - Bump go-retryablehttp to version 0.7.7 (CVE-2024-6104, bsc#1227038) - Add 0003-Bump-go-retryablehttp.patch * Wed Jun 19 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.53.0: This release changes the default for GOGC, the Go runtime control for the trade-off between excess memory use and CPU usage. We have found that Prometheus operates with minimal additional CPU usage, but greatly reduced memory by adjusting the upstream Go default from 100 to 75. * [CHANGE] Rules: Execute 1 query instead of N (where N is the number of alerts within alert rule) when restoring alerts. [#13980] #14048 * [CHANGE] Runtime: Change GOGC threshold from 100 to 75 #14176 [#14285] * [FEATURE] Rules: Add new option query_offset for each rule group via rule group configuration file and rule_query_offset as part of the global configuration to have more resilience for remote write delays. #14061 #14216 #14273 * [ENHANCEMENT] Rules: Add rule_group_last_restore_duration_seconds metric to measure the time it takes to restore a rule group. #13974 * [ENHANCEMENT] OTLP: Improve remote write format translation performance by using label set hashes for metric identifiers instead of string based ones. #14006 #13991 * [ENHANCEMENT] TSDB: Optimize querying with regexp matchers. [#13620] * [BUGFIX] OTLP: Don't generate target_info unless there are metrics and at least one identifying label is defined. #13991 * [BUGFIX] Scrape: Do no try to ingest native histograms when the native histograms feature is turned off. This happened when protobuf scrape was enabled by for example the created time feature. #13987 * [BUGFIX] Scaleway SD: Use the instance's public IP if no private IP is available as the __address__ meta label. #13941 * [BUGFIX] Query logger: Do not leak file descriptors on error. [#13948] * [BUGFIX] TSDB: Let queries with heavy regex matches be cancelled and not use up the CPU. #14096 #14103 #14118 #14199 * [BUGFIX] API: Do not warn if result count is equal to the limit, only when exceeding the limit for the series, label-names and label-values APIs. #14116 * [BUGFIX] TSDB: Fix head stats and hooks when replaying a corrupted snapshot. #14079 * Thu May 09 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.52.0: * [CHANGE] TSDB: Fix the predicate checking for blocks which are beyond the retention period to include the ones right at the retention boundary. #9633 * [FEATURE] Kubernetes SD: Add a new metric prometheus_sd_kubernetes_failures_total to track failed requests to Kubernetes API. #13554 * [FEATURE] Kubernetes SD: Add node and zone metadata labels when using the endpointslice role. #13935 * [FEATURE] Azure SD/Remote Write: Allow usage of Azure authorization SDK. #13099 * [FEATURE] Alerting: Support native histogram templating. #13731 * [FEATURE] Linode SD: Support IPv6 range discovery and region filtering. #13774 * [ENHANCEMENT] PromQL: Performance improvements for queries with regex matchers. #13461 * [ENHANCEMENT] PromQL: Performance improvements when using aggregation operators. #13744 * [ENHANCEMENT] PromQL: Validate label_join destination label. [#13803] * [ENHANCEMENT] Scrape: Increment prometheus_target_scrapes_sample_duplicate_timestamp_total metric on duplicated series during one scrape. #12933 * [ENHANCEMENT] TSDB: Many improvements in performance. #13742 [#13673] #13782 * [ENHANCEMENT] TSDB: Pause regular block compactions if the head needs to be compacted (prioritize head as it increases memory consumption). #13754 * [ENHANCEMENT] Observability: Improved logging during signal handling termination. #13772 * [ENHANCEMENT] Observability: All log lines for drop series use "num_dropped" key consistently. #13823 * [ENHANCEMENT] Observability: Log chunk snapshot and mmaped chunk replay duration during WAL replay. #13838 * [ENHANCEMENT] Observability: Log if the block is being created from WBL during compaction. #13846 * [BUGFIX] PromQL: Fix inaccurate sample number statistic when querying histograms. #13667 * [BUGFIX] PromQL: Fix histogram_stddev and histogram_stdvar for cases where the histogram has negative buckets. #13852 * [BUGFIX] PromQL: Fix possible duplicated label name and values in a metric result for specific queries. #13845 * [BUGFIX] Scrape: Fix setting native histogram schema factor during scrape. #13846 * [BUGFIX] TSDB: Fix counting of histogram samples when creating WAL checkpoint stats. #13776 * [BUGFIX] TSDB: Fix cases of compacting empty heads. #13755 * [BUGFIX] TSDB: Count float histograms in WAL checkpoint. #13844 * [BUGFIX] Remote Read: Fix memory leak due to broken requests. [#13777] * [BUGFIX] API: Stop building response for /api/v1/series/ when the API request was cancelled. #13766 * [BUGFIX] promtool: Fix panic on promtool tsdb analyze - -extended when no native histograms are present. #13976 * Wed Apr 10 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.51.2: Bugfix release. * [BUGFIX] Notifier: could hang when using relabeling on alerts [#13861] * Fri Mar 29 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.51.1: Bugfix release. * [BUGFIX] PromQL: Re-instate validation of label_join destination label #13803 * [BUGFIX] Scraping (experimental native histograms): Fix handling of the min bucket factor on sync of targets #13846 * [BUGFIX] PromQL: Some queries could return the same series twice (library use only) #13845 * Wed Mar 20 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.51.0: There is a new optional build tag "dedupelabels", which should reduce memory consumption (#12304). It is off by default; there will be an optional alternative image to try it out. * [CHANGE] Scraping: Do experimental timestamp alignment even if tolerance is bigger than 1% of scrape interval #13624, #13737 * [FEATURE] Alerting: Relabel rules for AlertManagerConfig; allows routing alerts to different alertmanagers #12551, #13735 * [FEATURE] API: add limit param to series, label-names and label-values APIs #13396 * [FEATURE] UI (experimental native histograms): Add native histogram chart to Table view #13658 * [FEATURE] Promtool: Add a "tsdb dump-openmetrics" to dump in OpenMetrics format. #13194 * [FEATURE] PromQL (experimental native histograms): Add histogram_avg function #13467 * [ENHANCEMENT] Rules: Evaluate independent rules concurrently [#12946], #13527 * [ENHANCEMENT] Scraping (experimental native histograms): Support exemplars #13488 * [ENHANCEMENT] Remote Write: Disable resharding during active retry backoffs #13562 * [ENHANCEMENT] Observability: Add native histograms to latency/duration metrics #13681 * [ENHANCEMENT] Observability: Add 'type' label to prometheus_tsdb_head_out_of_order_samples_appended_total #13607 * [ENHANCEMENT] API: Faster generation of targets into JSON [#13469], #13484 * [ENHANCEMENT] Scraping, API: Use faster compression library [#10782] * [ENHANCEMENT] OpenTelemetry: Performance improvements in OTLP parsing #13627 * [ENHANCEMENT] PromQL: Optimisations to reduce CPU and memory [#13448], #13536 * [BUGFIX] PromQL: Constrain extrapolation in rate() to half of sample interval #13725 * [BUGFIX] Remote Write: Stop slowing down when a new WAL segment is created #13583, #13628 * [BUGFIX] PromQL: Fix wrongly scoped range vectors with @ modifier #13559 * [BUGFIX] Kubernetes SD: Pod status changes were not discovered by Endpoints service discovery #13337 * [BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' (#13702) * [BUGFIX] Remote Write: Fix signing for AWS sigv4 transport [#13497] * [BUGFIX] Observability: Exemplars emitted by Prometheus use "trace_id" not "traceID" #13589 * Mon Mar 18 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.50.1: This is a bug-fix release for an issue that broke the /metadata API. * [BUGFIX] API: Fix metadata API using wrong field names. [#13633] * Mon Mar 18 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.50.0: * [CHANGE] Remote Write: Error storage.ErrTooOldSample is now generating HTTP error 400 instead of HTTP error 500. #13335 * [FEATURE] Remote Write: Drop old inmemory samples. Activated using the config entry sample_age_limit. #13002 * [FEATURE] Experimental: Add support for ingesting zeros as created timestamps. (enabled under the feature-flag created-timestamp-zero-ingestion). #12733 #13279 * [FEATURE] Promtool: Add analyze histograms command. #12331 * [FEATURE] TSDB/compaction: Add a way to enable overlapping compaction. #13282 #13393 #13398 * [FEATURE] Add automatic memory limit handling. Activated using the feature flag. auto-gomemlimit #13395 * [ENHANCEMENT] Promtool: allow specifying multiple matchers in promtool tsdb dump. #13296 * [ENHANCEMENT] PromQL: Restore more efficient version of NewPossibleNonCounterInfo annotation. #13022 * [ENHANCEMENT] Kuma SD: Extend configuration to allow users to specify client ID. #13278 * [ENHANCEMENT] PromQL: Use natural sort in sort_by_label and sort_by_label_desc. This is experimental. #13411 * [ENHANCEMENT] Native Histograms: support native_histogram_min_bucket_factor in scrape_config. #13222 * [ENHANCEMENT] Native Histograms: Issue warning if histogramRate is applied to the wrong kind of histogram. #13392 * [ENHANCEMENT] TSDB: Make transaction isolation data structures smaller. #13015 * [ENHANCEMENT] TSDB/postings: Optimize merge using Loser Tree. [#12878] * [ENHANCEMENT] TSDB: Simplify internal series delete function. [#13261] * [ENHANCEMENT] Agent: Performance improvement by making the global hash lookup table smaller. #13262 * [ENHANCEMENT] PromQL: faster execution of metric functions, e.g. abs(), rate() #13446 * [ENHANCEMENT] TSDB: Optimize label values with matchers by taking shortcuts. #13426 * [ENHANCEMENT] Kubernetes SD: Check preconditions earlier and avoid unnecessary checks or iterations in kube_sd. #13408 * [ENHANCEMENT] Promtool: Improve visibility for promtool test rules with JSON colored formatting. #13342 * [ENHANCEMENT] Consoles: Exclude iowait and steal from CPU Utilisation. #9593 * [ENHANCEMENT] Various improvements and optimizations on Native Histograms. #13267, #13215, #13276 #13289, #13340 * [BUGFIX] Scraping: Fix quality value in HTTP Accept header. [#13313] * [BUGFIX] UI: Fix usage of the function time() that was crashing. #13371 * [BUGFIX] Azure SD: Fix SD crashing when it finds a VM scale set. #13578 * Mon Jan 15 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.49.1: * [BUGFIX] TSDB: Fixed a wrong q= value in scrape accept header [#13313] - rebase patch 0001-Do-not-force-the-pure-Go-name-resolver.patch * Mon Jan 15 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de> - update to 2.49.0: * [SECURITY BUGFIX]: Fix DoS vulnerability in OpenTelemetry library (CVE-2023-45142, bsc#1228556) * [FEATURE] Promtool: Add --run flag promtool test rules command. [#12206] * [FEATURE] SD: Add support for NS records to DNS SD. #13219 * [FEATURE] UI: Add heatmap visualization setting in the Graph tab, useful histograms. #13096 #13371 * [FEATURE] Scraping: Add scrape_config.enable_compression (default true) to disable gzip compression when scraping the target. #13166 * [FEATURE] PromQL: Add a promql-experimental-functions feature flag containing some new experimental PromQL functions. #13103 NOTE: More experimental functions might be added behind the same feature flag in the future. Added functions: experimental mad_over_time (median absolute deviation around the median) function. #13059 and experimental sort_by_label and sort_by_label_desc functions allowing sorting returned series by labels. #11299 * [FEATURE] SD: Add __meta_linode_gpus label to Linode SD. #13097 * [FEATURE] API: Add exclude_alerts query parameter to /api/v1/rules to only return recording rules. #12999 * [FEATURE] TSDB: --storage.tsdb.retention.time flag value is now exposed as a prometheus_tsdb_retention_limit_seconds metric. [#12986] * [FEATURE] Scraping: Add ability to specify priority of scrape protocols to accept during scrape (e.g. to scrape Prometheus proto format for certain jobs). This can be changed by setting global.scrape_protocols and scrape_config.scrape_protocols. [#12738] * [ENHANCEMENT] Scraping: Automated handling of scraping histograms that violate scrape_config.native_histogram_bucket_limit setting. #13129 * [ENHANCEMENT] Scraping: Optimized memory allocations when scraping. #12992 * [ENHANCEMENT] SD: Added cache for Azure SD to avoid rate-limits. #12622 * [ENHANCEMENT] TSDB: Various improvements to OOO exemplar scraping. E.g. allowing ingestion of exemplars with the same timestamp, but with different labels. #13021 * [ENHANCEMENT] API: Optimize /api/v1/labels and /api/v1/label/<label_name>/values when 1 set of matchers are used. #12888 * [ENHANCEMENT] TSDB: Various optimizations for TSDB block index, head mmap chunks and WAL, reducing latency and memory allocations (improving API calls, compaction queries etc). [#12997] #13058 #13056 #13040 * [ENHANCEMENT] PromQL: Optimize memory allocations and latency when querying float histograms. #12954 * [ENHANCEMENT] Rules: Instrument TraceID in log lines for rule evaluations. #13034 * [ENHANCEMENT] PromQL: Optimize memory allocations in query_range calls. #13043 * [ENHANCEMENT] Promtool: unittest interval now defaults to evaluation_intervals when not set. #12729 * [BUGFIX] SD: Fixed Azure SD public IP reporting #13241 * [BUGFIX] API: Fix inaccuracies in posting cardinality statistics. #12653 * [BUGFIX] PromQL: Fix inaccuracies of histogram_quantile with classic histograms. #13153 * [BUGFIX] TSDB: Fix rare fails or inaccurate queries with OOO samples. #13115 * [BUGFIX] TSDB: Fix rare panics on append commit when exemplars are used. #13092 * [BUGFIX] TSDB: Fix exemplar WAL storage, so remote write can send/receive samples before exemplars. #13113 * [BUGFIX] Mixins: Fix url filter on remote write dashboards. [#10721] * [BUGFIX] PromQL/TSDB: Various fixes to float histogram operations. #12891 #12977 #12609 #13190 #13189 #13191 #13201 [#13212] #13208 * [BUGFIX] Promtool: Fix int32 overflow issues for 32-bit architectures. #12978 * [BUGFIX] SD: Fix Azure VM Scale Set NIC issue. #13283 * Sat Dec 09 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.48.1: * [BUGFIX] TSDB: Make the wlog watcher read segments synchronously when not tailing. #13224 * [BUGFIX] Agent: Participate in notify calls (fixes slow down in remote write handling introduced in 2.45). #13223 * Thu Nov 16 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.48.0: - [CHANGE] Remote-write: respect Retry-After header on 5xx errors. #12677 - [FEATURE] Alerting: Add AWS SigV4 authentication support for Alertmanager endpoints. #12774 - [FEATURE] Promtool: Add support for histograms in the TSDB dump command. #12775 - [FEATURE] PromQL: Add warnings (and annotations) to PromQL query results. #12152 #12982 #12988 #13012 - [FEATURE] Remote-write: Add Azure AD OAuth authentication support for remote write requests. #12572 - [ENHANCEMENT] Remote-write: Add a header to count retried remote write requests. #12729 - [ENHANCEMENT] TSDB: Improve query performance by re-using iterator when moving between series. #12757 - [ENHANCEMENT] UI: Move /targets page discovered labels to expandable section #12824 - [ENHANCEMENT] TSDB: Optimize WBL loading by not sending empty buffers over channel. #12808 - [ENHANCEMENT] TSDB: Reply WBL mmap markers concurrently. #12801 - [ENHANCEMENT] Promtool: Add support for specifying series matchers in the TSDB analyze command. #12842 - [ENHANCEMENT] PromQL: Prevent Prometheus from overallocating memory on subquery with large amount of steps. #12734 - [ENHANCEMENT] PromQL: Add warning when monotonicity is forced in the input to histogram_quantile. #12931 - [ENHANCEMENT] Scraping: Optimize sample appending by reducing garbage. #12939 - [ENHANCEMENT] Storage: Reduce memory allocations in queries that merge series sets. #12938 - [ENHANCEMENT] UI: Show group interval in rules display. #12943 - [ENHANCEMENT] Scraping: Save memory when scraping by delaying creation of buffer. #12953 - [ENHANCEMENT] Agent: Allow ingestion of out-of-order samples. [#12897] - [ENHANCEMENT] Promtool: Improve support for native histograms in TSDB analyze command. #12869 - [ENHANCEMENT] Scraping: Add configuration option for tracking staleness of scraped timestamps. #13060 - [BUGFIX] SD: Ensure that discovery managers are properly canceled. #10569 - [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558 - [BUGFIX] TSDB: Fix handling of explicit counter reset header in histograms. #12772 - [BUGFIX] SD: Validate HTTP client configuration in HTTP, EC2, Azure, Uyuni, PuppetDB, and Lightsail SDs. #12762 #12811 #12812 [#12815] #12814 #12816 - [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838 - [BUGFIX] TSDB: Fix duplicate sample detection at chunk size limit. #12874 - [BUGFIX] Promtool: Fix errors not being reported in check rules command. #12715 - [BUGFIX] TSDB: Avoid panics reported in logs when head initialization takes a long time. #12876 - [BUGFIX] TSDB: Ensure that WBL is repaired when possible. [#12406] - [BUGFIX] Storage: Fix crash caused by incorrect mixed samples handling. #13055 - [BUGFIX] TSDB: Fix compactor failures by adding min time to histogram chunks. #13062 * Thu Oct 19 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.47.2: * [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838 * Wed Oct 04 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.47.1: This is a patch release to fix a bug, and to rebuild with Go 1.21.1. * [BUGFIX] Fix duplicate sample detection at chunk size limit [#12874] - BuildRequire go1.21 as upstream does * Wed Sep 06 2023 Johannes Kastl <kastl@b1-systems.de> - use "manual" service instead of "disabled" - update to 2.47.0: This release adds an experimental OpenTelemetry (OTLP) Ingestion feature, and also new setting `keep_dropped_targets` to limit the amount of dropped targets held in memory. This defaults to 0 meaning 'no limit', so we encourage users with large Prometheus to try setting a limit such as 100. * [FEATURE] Web: Add OpenTelemetry (OTLP) Ingestion endpoint. [#12571] #12643 * [FEATURE] Scraping: Optionally limit detail on dropped targets, to save memory. #12647 * [ENHANCEMENT] TSDB: Write head chunks to disk in the background to reduce blocking. #11818 * [ENHANCEMENT] PromQL: Speed up aggregate and function queries. [#12682] * [ENHANCEMENT] PromQL: More efficient evaluation of query with `timestamp()`. #12579 * [ENHANCEMENT] API: Faster streaming of Labels to JSON. #12598 * [ENHANCEMENT] Agent: Memory pooling optimisation. #12651 * [ENHANCEMENT] TSDB: Prevent storage space leaks due to terminated snapshots on shutdown. #12664 * [ENHANCEMENT] Histograms: Refactoring and optimisations. #12352 [#12584] #12596 #12711 #12054 * [ENHANCEMENT] Histograms: Add `histogram_stdvar` and `histogram_stddev` functions. #12614 * [ENHANCEMENT] Remote-write: add http.resend_count tracing attribute. #12676 * [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12722 * [BUGFIX] TSDB/Agent: ensure that new series get written to WAL on rollback. #12592 * [BUGFIX] Scraping: fix infinite loop on exemplar in protobuf format. #12737 * Tue Jul 25 2023 Johannes Kastl <kastl@b1-systems.de> - remove vendor.tar.gz during "make clean" - update to 2.46.0: * [FEATURE] Promtool: Add PromQL format and label matcher set/delete commands to promtool. #11411 * [FEATURE] Promtool: Add push metrics command. #12299 * [ENHANCEMENT] Promtool: Read from stdin if no filenames are provided in check rules. #12225 * [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12569 * [ENHANCEMENT] Kubernetes SD: Add more labels for endpointslice and endpoints role. #10914 * [ENHANCEMENT] Kubernetes SD: Do not add pods to target group if the PodIP status is not set. #11642 * [ENHANCEMENT] OpenStack SD: Include instance image ID in labels. #12502 * [ENHANCEMENT] Remote Write receiver: Validate the metric names and labels. #11688 * [ENHANCEMENT] Web: Initialize `prometheus_http_requests_total` metrics with `code` label set to `200`. #12472 * [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. [#11666] * [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258 * [ENHANCEMENT] Labels: Avoid compiling regexes that are literal. [#12434] * [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577 * [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554 * [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557 * [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on Windows. #12488 * [BUGFIX] Linode SD: Cast `InstanceSpec` values to `int64` to avoid overflows on 386 architecture. #12568 * [BUGFIX] PromQL Engine: Include query parsing in active-query tracking. #12418 * [BUGFIX] TSDB: Handle TOC parsing failures. #10623 * Mon Jun 26 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.45.0: This release is a LTS (Long-Term Support) release of Prometheus and will receive security, documentation and bugfix patches for at least 12 months. Please read more about our LTS release cycle at <https://prometheus.io/docs/introduction/release-cycle/>. * [FEATURE] API: New limit parameter to limit the number of items returned by `/api/v1/status/tsdb` endpoint. #12336 * [FEATURE] Config: Add limits to global config. #12126 * [FEATURE] Consul SD: Added support for `path_prefix`. #12372 * [FEATURE] Native histograms: Add option to scrape both classic and native histograms. #12350 * [FEATURE] Native histograms: Added support for two more arithmetic operators `avg_over_time` and `sum_over_time`. [#12262] * [FEATURE] Promtool: When providing the block id, only one block will be loaded and analyzed. #12031 * [FEATURE] Remote-write: New Azure ad configuration to support remote writing directly to Azure Monitor workspace. #11944 * [FEATURE] TSDB: Samples per chunk are now configurable with flag `storage.tsdb.samples-per-chunk`. By default set to its former value 120. #12055 * [ENHANCEMENT] Native histograms: bucket size can now be limited to avoid scrape fails. #12254 * [ENHANCEMENT] TSDB: Dropped series are now deleted from the WAL sooner. #12297 * [BUGFIX] Native histograms: ChunkSeries iterator now checks if a new sample can be appended to the open chunk. #12185 * [BUGFIX] Native histograms: Fix Histogram Appender `Appendable()` segfault. #12357 * [BUGFIX] Native histograms: Fix setting reset header to gauge histograms in seriesToChunkEncoder. #12329 * [BUGFIX] TSDB: Tombstone intervals are not modified after Get() call. #12245 * [BUGFIX] TSDB: Use path/filepath to set the WAL directory. [#12349] * Sun May 14 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.44.0: This version is built with Go tag `stringlabels`, to use the smaller data structure for Labels that was optional in the previous release. For more details about this code change see [#10991]. * [CHANGE] Remote-write: Raise default samples per send to 2,000. [#12203] * [FEATURE] Remote-read: Handle native histograms. #12085, #12192 * [FEATURE] Promtool: Health and readiness check of prometheus server in CLI. #12096 * [FEATURE] PromQL: Add `query_samples_total` metric, the total number of samples loaded by all queries. #12251 * [ENHANCEMENT] Storage: Optimise buffer used to iterate through samples. #12326 * [ENHANCEMENT] Scrape: Reduce memory allocations on target labels. #12084 * [ENHANCEMENT] PromQL: Use faster heap method for `topk()` / `bottomk()`. #12190 * [ENHANCEMENT] Rules API: Allow filtering by rule name. #12270 * [ENHANCEMENT] Native Histograms: Various fixes and improvements. #11687, #12264, #12272 * [ENHANCEMENT] UI: Search of scraping pools is now case-insensitive. #12207 * [ENHANCEMENT] TSDB: Add an affirmative log message for successful WAL repair. #12135 * [BUGFIX] TSDB: Block compaction failed when shutting down. [#12179] * [BUGFIX] TSDB: Out-of-order chunks could be ignored if the write-behind log was deleted. #12127 - rebase patch 0001-Do-not-force-the-pure-Go-name-resolver.patch onto v2.44.0 * Fri May 05 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.43.1 * [BUGFIX] Labels: Set() after Del() would be ignored, which broke some relabeling rules. #12322 * Thu Apr 13 2023 Johannes Kastl <kastl@b1-systems.de> - Remove npm_licenses.tar.bz2 during "make clean" * Thu Apr 06 2023 Lukas Müller <expeehaa@outlook.com> - Remove web-ui archives during "make clean". * Wed Apr 05 2023 Witek Bedyk <witold.bedyk@suse.com> - Require promu >= 0.14.0 for building * Wed Mar 22 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.43.0: * [SECURITY BUGFIX]: Fix uncontrolled resource consumption by updating Go to version 1.20.1 (bsc#1208298, CVE-2022-41723) * [FEATURE] Promtool: Add HTTP client configuration to query commands. #11487 * [FEATURE] Scrape: Add `include_scrape_configs` to include scrape configs from different files. #12019 * [FEATURE] HTTP client: Add `no_proxy` to exclude URLs from proxied requests. #12098 * [FEATURE] HTTP client: Add `proxy_from_enviroment` to read proxies from env variables. #12098 * [ENHANCEMENT] API: Add support for setting lookback delta per query via the API. #12088 * [ENHANCEMENT] API: Change HTTP status code from 503/422 to 499 if a request is canceled. #11897 * [ENHANCEMENT] Scrape: Allow exemplars for all metric types. [#11984] * [ENHANCEMENT] TSDB: Add metrics for head chunks and WAL folders size. #12013 * [ENHANCEMENT] TSDB: Automatically remove incorrect snapshot with index that is ahead of WAL. #11859 * [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensible. #11682 * [ENHANCEMENT] UI: Scope `group by` labels to metric in autocompletion. #11914 * [BUGFIX] Scrape: Fix `prometheus_target_scrape_pool_target_limit` metric not set before reloading. #12002 * [BUGFIX] TSDB: Correctly update `prometheus_tsdb_head_chunks_removed_total` and `prometheus_tsdb_head_chunks` metrics when reading WAL. #11858 * [BUGFIX] TSDB: Use the correct unit (seconds) when recording out-of-order append deltas in the `prometheus_tsdb_sample_ooo_delta` metric. #12004 * Tue Feb 28 2023 Johannes Kastl <kastl@b1-systems.de> - fix building web assets (boo#1208752) - adjust packaging to build webassets locally, outside of OBS * to get the UI working, newer versions of prometheus need the react app assets * as running `npm install` inside of OBS is not possible, the required dependencies need to be prepared outside of OBS * added a PACKAGING_README.md file, that explains how the new web-ui-*.tar.gz and npm_licenses.tar.bz2 tarballs can be created * Thu Feb 02 2023 Johannes Kastl <kastl@b1-systems.de> - update to 2.42.0: This release comes with a bunch of feature coverage for native histograms and breaking changes. If you are trying native histograms already, we recommend you remove the `wal` directory when upgrading. Because the old WAL record for native histograms is not backward compatible in v2.42.0, this will lead to some data loss for the latest data. Additionally, if you scrape "float histograms" or use recording rules on native histograms in v2.42.0 (which writes float histograms), it is a one-way street since older versions do not support float histograms. * [CHANGE] **breaking** TSDB: Changed WAL record format for the experimental native histograms. #11783 * [FEATURE] Add 'keep_firing_for' field to alerting rules. [#11827] * [FEATURE] Promtool: Add support of selecting timeseries for TSDB dump. #11872 * [ENHANCEMENT] Agent: Native histogram support. #11842 * [ENHANCEMENT] Rules: Support native histograms in recording rules. #11838 * [ENHANCEMENT] SD: Add container ID as a meta label for pod targets for Kubernetes. #11844 * [ENHANCEMENT] SD: Add VM size label to azure service discovery. #11650 * [ENHANCEMENT] Support native histograms in federation. #11830 * [ENHANCEMENT] TSDB: Add gauge histogram support. [#11783] #11840 #11814 * [ENHANCEMENT] TSDB/Scrape: Support FloatHistogram that represents buckets as float64 values. #11522 #11817 #11716 * [ENHANCEMENT] UI: Show individual scrape pools on /targets page. #11142 * Tue Jan 10 2023 Johannes Kastl <kastl@b1-systems.de> - modify _service file and set go_modules to disabled * this allows full preparation just using 'osc service disabledrun' - rebase patch 0002-Default-settings.patch - drop patch 0003-Bump-client_golang-to-1.12.1.patch - update to 2.33.0: * [CHANGE] PromQL: Promote negative offset and @ modifer to stable features. #10121 * [CHANGE] Web: Promote remote-write-receiver to stable. #10119 * [FEATURE] Config: Add stripPort template function. #10002 * [FEATURE] Promtool: Add cardinality analysis to check metrics, enabled by flag --extended. #10045 * [FEATURE] SD: Enable target discovery in own K8s namespace. #9881 * [FEATURE] SD: Add provider ID label in K8s SD. #9603 * [FEATURE] Web: Add limit field to the rules API. #10152 * [ENHANCEMENT] Remote-write: Avoid allocations by buffering concrete structs instead of interfaces. #9934 * [ENHANCEMENT] Remote-write: Log time series details for out-of-order samples in remote write receiver. #9894 * [ENHANCEMENT] Remote-write: Shard up more when backlogged. #9274 * [ENHANCEMENT] TSDB: Use simpler map key to improve exemplar ingest performance. #10111 * [ENHANCEMENT] TSDB: Avoid allocations when popping from the intersected postings heap. #10092 * [ENHANCEMENT] TSDB: Make chunk writing non-blocking, avoiding latency spikes in remote-write. #10051 * [ENHANCEMENT] TSDB: Improve label matching performance. #9907 * [ENHANCEMENT] UI: Optimize the service discovery page and add a search bar. #10131 * [ENHANCEMENT] UI: Optimize the target page and add a search bar. #10103 * [BUGFIX] Promtool: Make exit codes more consistent. #9861 * [BUGFIX] Promtool: Fix flakiness of rule testing. #8818 * [BUGFIX] Remote-write: Update prometheus_remote_storage_queue_highest_sent_timestamp_seconds metric when write irrecoverably fails. #10102 * [BUGFIX] Storage: Avoid panic in BufferedSeriesIterator. #9945 * [BUGFIX] TSDB: CompactBlockMetas should produce correct mint/maxt for overlapping blocks. #10108 * [BUGFIX] TSDB: Fix logging of exemplar storage size. #9938 * [BUGFIX] UI: Fix overlapping click targets for the alert state checkboxes. #10136 * [BUGFIX] UI: Fix Unhealthy filter on target page to actually display only Unhealthy targets. #10103 * [BUGFIX] UI: Fix autocompletion when expression is empty. #10053 * [BUGFIX] TSDB: Fix deadlock from simultaneous GC and write. #10166 - update to 2.33.1: * [BUGFIX] SD: Fix no such file or directory in K8s SD when not running inside K8s. #10235 - update to 2.33.2: * [BUGFIX] Azure SD: Fix panic when IP Address isn't set. #10280 * [BUGFIX] Remote-write: Fix deadlock when stopping a shard. #10279 - update to 2.33.3: * [BUGFIX] Azure SD: Fix a regression when public IP Address isn't set. #10289 - update to 2.33.4: * [BUGFIX] TSDB: Fix panic when m-mapping head chunks onto the disk. #10316 - update to 2.33.5: * [BUGFIX] Remote-write: Fix deadlock between adding to queue and getting batch. #10395 - update to 2.34.0: * [CHANGE] UI: Classic UI removed. #10208 * [CHANGE] Tracing: Migrate from Jaeger to OpenTelemetry based tracing. #9724, #10203, #10276 * [ENHANCEMENT] TSDB: Disable the chunk write queue by default and allow configuration with the experimental flag --storage.tsdb.head-chunks-write-queue-size. #10425 * [ENHANCEMENT] HTTP SD: Add a failure counter. #10372 * [ENHANCEMENT] Azure SD: Set Prometheus User-Agent on requests. #10209 * [ENHANCEMENT] Uyuni SD: Reduce the number of logins to Uyuni. #10072 * [ENHANCEMENT] Scrape: Log when an invalid media type is encountered during a scrape. #10186 * [ENHANCEMENT] Scrape: Accept application/openmetrics-text;version=1.0.0 in addition to version=0.0.1. #9431 * [ENHANCEMENT] Remote-read: Add an option to not use external labels as selectors for remote read. #10254 * [ENHANCEMENT] UI: Optimize the alerts page and add a search bar. #10142 * [ENHANCEMENT] UI: Improve graph colors that were hard to see. #10179 * [ENHANCEMENT] Config: Allow escaping of $ with $$ when using environment variables with external labels. #10129 * [BUGFIX] PromQL: Properly return an error from histogram_quantile when metrics have the same labelset. #10140 * [BUGFIX] UI: Fix bug that sets the range input to the resolution. #10227 * [BUGFIX] TSDB: Fix a query panic when memory-snapshot-on-shutdown is enabled. #10348 * [BUGFIX] Parser: Specify type in metadata parser errors. #10269 * [BUGFIX] Scrape: Fix label limit changes not applying. #10370 - update to 2.35.0: * [CHANGE] TSDB: Delete *.tmp WAL files when Prometheus starts. #10317 * [CHANGE] promtool: Add new flag --lint (enabled by default) for the commands check rules and check config, resulting in a new exit code (3) for linter errors. #10435 * [FEATURE] Support for automatically setting the variable GOMAXPROCS to the container CPU limit. Enable with the flag --enable-feature=auto-gomaxprocs. #10498 * [FEATURE] PromQL: Extend statistics with total and peak number of samples in a query. Additionally, per-step statistics are available with --enable-feature=promql-per-step-stats and using stats=all in the query API. * Enable with the flag --enable-feature=per-step-stats. #10369 * [ENHANCEMENT] Prometheus is built with Go 1.18. #10501 * [ENHANCEMENT] TSDB: more efficient sorting of postings read from WAL at startup. #10500 * [ENHANCEMENT] Azure SD: Add metric to track Azure SD failures. #10476 * [ENHANCEMENT] Azure SD: Add an optional resource_group configuration. #10365 * [ENHANCEMENT] Kubernetes SD: Support discovery.k8s.io/v1 EndpointSlice (previously only discovery.k8s.io/v1beta1 EndpointSlice was supported). #9570 * [ENHANCEMENT] Kubernetes SD: Allow attaching node metadata to discovered pods. #10080 * [ENHANCEMENT] OAuth2: Support for using a proxy URL to fetch OAuth2 tokens. #10492 * [ENHANCEMENT] Configuration: Add the ability to disable HTTP2. #10492 * [ENHANCEMENT] Config: Support overriding minimum TLS version. #10610 * [BUGFIX] Kubernetes SD: Explicitly include gcp auth from k8s.io. #10516 * [BUGFIX] Fix OpenMetrics parser to sort uppercase labels correctly. #10510 * [BUGFIX] UI: Fix scrape interval and duration tooltip not showing on target page. #10545 * [BUGFIX] Tracing/GRPC: Set TLS credentials only when insecure is false. #10592 * [BUGFIX] Agent: Fix ID collision when loading a WAL with multiple segments. #10587 * [BUGFIX] Remote-write: Fix a deadlock between Batch and flushing the queue. #10608 - update to 2.36.0: * [FEATURE] Add lowercase and uppercase relabel action. #10641 * [FEATURE] SD: Add IONOS Cloud integration. #10514 * [FEATURE] SD: Add Vultr integration. #10714 * [FEATURE] SD: Add Linode SD failure count metric. #10673 * [FEATURE] Add prometheus_ready metric. #10682 * [ENHANCEMENT] Add stripDomain to template function. #10475 * [ENHANCEMENT] UI: Enable active search through dropped targets. #10668 * [ENHANCEMENT] promtool: support matchers when querying label values. #10727 * [ENHANCEMENT] Add agent mode identifier. #9638 * [BUGFIX] Changing TotalQueryableSamples from int to int64. #10549 * [BUGFIX] tsdb/agent: Ignore duplicate exemplars. #10595 * [BUGFIX] TSDB: Fix chunk overflow appending samples at a variable rate. #10607 * [BUGFIX] Stop rule manager before TSDB is stopped. #10680 - update to 2.36.1: * [BUGFIX] promtool: Add --lint-fatal option #10840 - update to 2.36.2: * [BUGFIX] Fix serving of static assets like fonts and favicon. #10888 - update to 2.37.0: * [FEATURE] Nomad SD: New service discovery for Nomad built-in service discovery. #10915 * [ENHANCEMENT] Kubernetes SD: Allow attaching node labels for endpoint role. #10759 * [ENHANCEMENT] PromQL: Optimise creation of signature with/without labels. #10667 * [ENHANCEMENT] TSDB: Memory optimizations. #10873 #10874 * [ENHANCEMENT] TSDB: Reduce sleep time when reading WAL. #10859 #10878 * [ENHANCEMENT] OAuth2: Add appropriate timeouts and User-Agent header. #11020 * [BUGFIX] Alerting: Fix Alertmanager targets not being updated when alerts were queued. #10948 * [BUGFIX] Hetzner SD: Make authentication files relative to Prometheus config file. #10813 * [BUGFIX] Promtool: Fix promtool check config not erroring properly on failures. #10952 * [BUGFIX] Scrape: Keep relabeled scrape interval and timeout on reloads. #10916 * [BUGFIX] TSDB: Don't increment prometheus_tsdb_compactions_failed_total when context is canceled. #10772 * [BUGFIX] TSDB: Fix panic if series is not found when deleting series. #10907 * [BUGFIX] TSDB: Increase prometheus_tsdb_mmap_chunk_corruptions_total on out of sequence errors. #10406 * [BUGFIX] Uyuni SD: Make authentication files relative to Prometheus configuration file and fix default configuration values. #10813 - update to 2.38.0: * [FEATURE]: Web: Add a /api/v1/format_query HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005 * [FEATURE]: UI: Add support for formatting PromQL expressions in the UI. #11039 * [FEATURE]: DNS SD: Support MX records for discovering targets. #10099 * [FEATURE]: Templates: Add toTime() template function that allows converting sample timestamps to Go time.Time values. #10993 * [ENHANCEMENT]: Kubernetes SD: Add __meta_kubernetes_service_port_number meta label indicating the service port number. #11002 #11053 * [ENHANCEMENT]: Kubernetes SD: Add __meta_kubernetes_pod_container_image meta label indicating the container image. #11034 #11146 * [ENHANCEMENT]: PromQL: When a query panics, also log the query itself alongside the panic message. #10995 * [ENHANCEMENT]: UI: Tweak colors in the dark theme to improve the contrast ratio. #11068 * [ENHANCEMENT]: Web: Speed up calls to /api/v1/rules by avoiding locks and using atomic types instead. #10858 * [ENHANCEMENT]: Scrape: Add a no-default-scrape-port feature flag, which omits or removes any default HTTP (:80) or HTTPS (:443) ports in the target's scrape address. #9523 * [BUGFIX]: TSDB: In the WAL watcher metrics, expose the type="exemplar" label instead of type="unknown" for exemplar records. #11008 * [BUGFIX]: TSDB: Fix race condition around allocating series IDs during chunk snapshot loading. #11099 - update to 2.39.0: * [FEATURE] experimental TSDB: Add support for ingesting out-of-order samples. This is configured via out_of_order_time_window field in the config file; check config file docs for more info. #11075 * [ENHANCEMENT] API: /-/healthy and /-/ready API calls now also respond to a HEAD request on top of existing GET support. #11160 * [ENHANCEMENT] PuppetDB SD: Add __meta_puppetdb_query label. #11238 * [ENHANCEMENT] AWS EC2 SD: Add __meta_ec2_region label. #11326 * [ENHANCEMENT] AWS Lightsail SD: Add __meta_lightsail_region label. #11326 * [ENHANCEMENT] Scrape: Optimise relabeling by re-using memory. #11147 * [ENHANCEMENT] TSDB: Improve WAL replay timings. #10973 #11307 #11319 * [ENHANCEMENT] TSDB: Optimise memory by not storing unnecessary data in the memory. #11280 #11288 #11296 * [ENHANCEMENT] TSDB: Allow overlapping blocks by default. --storage.tsdb.allow-overlapping-blocks now has no effect. #11331 * [ENHANCEMENT] UI: Click to copy label-value pair from query result to clipboard. #11229 * [BUGFIX] TSDB: Turn off isolation for Head compaction to fix a memory leak. #11317 * [BUGFIX] TSDB: Fix 'invalid magic number 0' error on Prometheus startup. #11338 * [BUGFIX] PromQL: Properly close file descriptor when logging unfinished queries. #11148 * [BUGFIX] Agent: Fix validation of flag options and prevent WAL from growing more than desired. #9876 - update to 2.39.1: * [BUGFIX] Rules: Fix notifier relabel changing the labels on active alerts. #11427 - update to 2.40.0: * [SECURITY] CVE-2022-41715: Limit memory used by parsing regexps. (bsc#1204023). * [FEATURE] Add experimental support for native histograms. Enable with the flag --enable-feature=native-histograms. #11447 * [FEATURE] SD: Add service discovery for OVHcloud. #10802 * [ENHANCEMENT] Kubernetes SD: Use protobuf encoding. #11353 * [ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed. #11054 #11318 #11380 * [ENHANCEMENT] Consul SD: Add enterprise admin partitions. Adds __meta_consul_partition label. Adds partition config in consul_sd_config. #11482 * [BUGFIX] API: Fix API error codes for /api/v1/labels and /api/v1/series. #11356 - update to 2.40.1: * [BUGFIX] TSDB: Fix alignment for atomic int64 for 32 bit architecture. #11547 * [BUGFIX] Scrape: Fix accept headers. #11552 - update to 2.40.2: * [BUGFIX] UI: Fix black-on-black metric name color in dark mode. #11572 - update to 2.40.3: * [BUGFIX] TSDB: Fix compaction after a deletion is called. #11623 - update to 2.40.4: * [SECURITY] Fix basic authentication bypass vulnerability (CVE-2022-46146, bsc#1208049). - update to 2.40.5: * [BUGFIX] TSDB: Fix queries involving native histograms due to improper reset of iterators. #11643 - update to 2.40.6: * [SECURITY] Security upgrade from go and upstream dependencies that include security fixes to the net/http and os packages. #11691 - update to 2.40.7: * [BUGFIX] Use Windows native DNS resolver. #11704 * [BUGFIX] TSDB: Fix queries involving negative buckets of native histograms. #11699 - modify patch 0001-Do-not-force-the-pure-Go-name-resolver.patch to work on 2.40.7 - update to 2.41.0: * [FEATURE] Relabeling: Add keepequal and dropequal relabel actions. #11564 * [FEATURE] Add support for HTTP proxy headers. #11712 * [ENHANCEMENT] Reload private certificates when changed on disk. #11685 * [ENHANCEMENT] Add max_version to specify maximum TLS version in tls_config. #11685 * [ENHANCEMENT] Add goos and goarch labels to prometheus_build_info. #11685 * [ENHANCEMENT] SD: Add proxy support for EC2 and LightSail SDs #11611 * [ENHANCEMENT] SD: Add new metric prometheus_sd_file_watcher_errors_total. #11066 * [ENHANCEMENT] Remote Read: Use a pool to speed up marshalling. #11357 * [ENHANCEMENT] TSDB: Improve handling of tombstoned chunks in iterators. #11632 * [ENHANCEMENT] TSDB: Optimize postings offset table reading. #11535 * [BUGFIX] Scrape: Validate the metric name, label names, and label values after relabeling. #11074 * [BUGFIX] Remote Write receiver and rule manager: Fix error handling. #11727 - BuildRequire go1.19 * Thu Apr 07 2022 Julio González Gil <jgonzalez@suse.com> - Build firewalld-prometheus-config only for SUSE Linux Enterprise 15, 15.1 and 15.2, and require firewalld for it - firewalld-prometheus-config needs to be a Recommends, not a Requires, as prometheus does not require it to run * Fri Mar 18 2022 Witek Bedyk <witold.bedyk@suse.com> - Create firewalld-prometheus-config subpackage (bsc#1197042, jsc#SLE-24374, jsc#SLE-24375) * Mon Mar 07 2022 Witek Bedyk <witold.bedyk@suse.com> - Update vendor tarball with prometheus/client_golang 1.12.1 (bsc#1196338) * Added 0003-Bump-client_golang-to-1.12.1.patch * Tue Feb 22 2022 Witek Bedyk <witold.bedyk@suse.com> - Fix Firewalld configuration file location (bsc#1196300) * Fri Feb 18 2022 Witek Bedyk <witold.bedyk@suse.com> - Require Go 1.16+ - Do not build on s390 architecture. * Wed Jan 19 2022 Witek Bedyk <witold.bedyk@suse.com> - Updated patches: + Changed: * 0002-Default-settings.patch + Removed: * 0003-Add-Uyuni-service-discovery.patch - Use obs-service-go_modules - Upgrade to upstream version 2.32.1 (jsc#SLE-22863) + Bugfixes: * Scrape: Fix reporting metrics when sample limit is reached during the report. #9996 * Scrape: Ensure that scrape interval and scrape timeout are always set. #10023 * TSDB: Expose and fix bug in iterators' Seek() method. #10030 - Upgrade to upstream version 2.32.0 + Change: * remote-write: Change default max retry time from 100ms to 5 seconds. #9634 + Features: * Agent: New mode of operation optimized for remote-write only scenarios, without local storage. * Promtool: Add promtool check service-discovery command. #8970 + Enhancements: * Promtool: Improve test output. #8064 * Promtool: Use kahan summation for better numerical stability. * Remote-write: Reuse memory for marshalling. #9412 * Scrape: Add scrape_body_size_bytes scrape metric behind the - -enable-feature=extra-scrape-metrics flag. #9569 * TSDB: Add windows arm64 support. #9703 * TSDB: Optimize query by skipping unneeded sorting in TSDB. * Templates: Support int and uint as datatypes for template formatting. #9680 * UI: Prefer rate over rad, delta over deg, and count over cos in autocomplete. #9688 + Bugfixes: * TSDB: Add more size checks when writing individual sections in the index. #9710 * PromQL: Make deriv() return zero values for constant series. * TSDB: Fix panic when checkpoint directory is empty. #9687 * TSDB: Fix panic, out of order chunks, and race warning during WAL replay. #9856 * UI: Correctly render links for targets with IPv6 addresses that contain a Zone ID. #9853 * Promtool: Fix checking of authorization.credentials_file and bearer_token_file fields. #9883 * Uyuni SD: Fix null pointer exception during initialization. * TSDB: Fix queries after a failed snapshot replay. #9980 - Upgrade to upstream version 2.31.1 + Bugfix: * SD: Fix a panic when the experimental discovery manager receives targets during a reload. #9656 - Upgrade to upstream version 2.31.0 + Change: * UI: Remove standard PromQL editor in favour of the codemirror-based editor. #9452 + Features: * PromQL: Add trigonometric functions and atan2 binary operator. #9239 #9248 #9515 * Remote: Add support for exemplar in the remote write receiver endpoint. #9319 #9414 * SD: Add PuppetDB service discovery. #8883 * SD: Add Uyuni service discovery. #8190 * Web: Add support for security-related HTTP headers. #9546 + Enhancements: * Azure SD: Add proxy_url, follow_redirects, tls_config. #9267 * Backfill: Add --max-block-duration in promtool create-blocks-from rules. #9511 * Config: Print human-readable sizes with unit instead of raw numbers. #9361 * HTTP: Re-enable HTTP/2. #9398 * Kubernetes SD: Warn user if number of endpoints exceeds limit. #9467 * OAuth2: Add TLS configuration to token requests. #9550 * PromQL: Several optimizations. #9365 #9360 #9362 #9552 * PromQL: Make aggregations deterministic in instant queries. * Rules: Add the ability to limit number of alerts or series. * SD: Experimental discovery manager to avoid restarts upon reload. * UI: Debounce timerange setting changes. #9359 + Bugfixes: * Backfill: Apply rule labels after query labels. #9421 * Scrape: Resolve conflicts between multiple exported label prefixes. #9479 #9518 * Scrape: Restart scrape loops when __scrape_interval__ is changed. #9551 * TSDB: Fix memory leak in samples deletion. #9151 * UI: Use consistent margin-bottom for all alert kinds. #9318 - Upgrade to upstream version 2.30.3 + Bugfixes: * TSDB: Fix panic on failed snapshot replay. #9438 * TSDB: Don't fail snapshot replay with exemplar storage disabled when the snapshot contains exemplars. #9438 - Upgrade to upstream version 2.30.2 + Bugfix: * TSDB: Don't error on overlapping m-mapped chunks during WAL replay. #9381 - Upgrade to upstream version 2.30.1 + Enhancements: * Remote Write: Redact remote write URL when used for metric label. #9383 * UI: Redact remote write URL and proxy URL passwords in the /config page. #9408 + Bugfixes: * promtool rules backfill: Prevent creation of data before the start time. #9339 * promtool rules backfill: Do not query after the end time. * Azure SD: Fix panic when no computername is set. #9387 - Upgrade to upstream version 2.30.0 + Features: * experimental TSDB: Snapshot in-memory chunks on shutdown for faster restarts. #7229 * experimental Scrape: Configure scrape interval and scrape timeout via relabeling using __scrape_interval__ and __scrape_timeout__ labels respectively. #8911 * Scrape: Add scrape_timeout_seconds and scrape_sample_limit metric. #9247 #9295 + Enhancements: * Scrape: Add --scrape.timestamp-tolerance flag to adjust scrape timestamp tolerance when enabled via - -scrape.adjust-timestamps. #9283 * Remote Write: Improve throughput when sending exemplars. * TSDB: Optimise WAL loading by removing extra map and caching min-time #9160 * promtool: Speed up checking for duplicate rules. #9262/#9306 * Scrape: Reduce allocations when parsing the metrics. #9299 * docker_sd: Support host network mode #9125 + Bugfixes: * Exemplars: Fix panic when resizing exemplar storage from 0 to a non-zero size. #9286 * TSDB: Correctly decrement prometheus_tsdb_head_active_appenders when the append has no samples. #9230 * promtool rules backfill: Return 1 if backfill was unsuccessful. #9303 * promtool rules backfill: Avoid creation of overlapping blocks. #9324 * config: Fix a panic when reloading configuration with a null relabel action. #9224 - Upgrade to upstream version 2.29.2 + Bugfixes: * Fix Kubernetes SD failing to discover Ingress in Kubernetes v1.22. #9205 * Fix data race in loading write-ahead-log (WAL). #9259 - Upgrade to upstream version 2.29.1 + Bugfixes: * TSDB: align atomically accessed int64 to prevent panic in 32-bit archs. #9192 - Upgrade to upstream version 2.29.0 + Changes: * Promote --storage.tsdb.allow-overlapping-blocks flag to stable. #9117 * Promote --storage.tsdb.retention.size flag to stable. #9004 + Features: * Add Kuma service discovery. #8844 * Add present_over_time PromQL function. #9097 * Allow configuring exemplar storage via file and make it reloadable. #8974 * UI: Allow selecting time range with mouse drag. #8977 * promtool: Add feature flags flag --enable-feature. #8958 * promtool: Add file_sd file validation. #8950 + Enhancements: * Reduce blocking of outgoing remote write requests from series garbage collection. #9109 * Improve write-ahead-log decoding performance. #9106 * Improve append performance in TSDB by reducing mutexes usage. * Allow configuring max_samples_per_send for remote write metadata. #8959 * Add __meta_gce_interface_ipv4_<name> meta label to GCE discovery. #8978 * Add __meta_ec2_availability_zone_id meta label to EC2 discovery. #8896 * Add __meta_azure_machine_computer_name meta label to Azure discovery. #9112 * Add __meta_hetzner_hcloud_labelpresent_<labelname> meta label to Hetzner discovery. #9028 * promtool: Add compaction efficiency to promtool tsdb analyze reports. #8940 * promtool: Allow configuring max block duration for backfilling via --max-block-duration flag. #8919 * UI: Add sorting and filtering to flags page. #8988 * UI: Improve alerts page rendering performance. #9005 + Bugfixes: * Log when total symbol size exceeds 2^32 bytes, causing compaction to fail, and skip compaction. #9104 * Fix incorrect target_limit reloading of zero value. #9120 * Fix head GC and pending readers race condition. #9081 * Fix timestamp handling in OpenMetrics parser. #9008 * Fix potential duplicate metrics in /federate endpoint when specifying multiple matchers. #8885 * Fix server configuration and validation for authentication via client cert. #9123 * Allow start and end again as label names in PromQL queries. They were disallowed since the introduction of @ timestamp feature. #9119 - Upgrade to upstream version 2.28.1 + Bugfixes: * HTTP SD: Allow charset specification in Content-Type header. * HTTP SD: Fix handling of disappeared target groups. #9019 * Fix incorrect log-level handling after moving to go-kit/log. - Upgrade to upstream version 2.28.0 + Change: * UI: Make the new experimental PromQL editor the default. + Features: * Linode SD: Add Linode service discovery. #8846 * HTTP SD: Add generic HTTP-based service discovery. #8839 * Kubernetes SD: Allow configuring API Server access via a kubeconfig file. #8811 * UI: Add exemplar display support to the graphing interface. * Consul SD: Add namespace support for Consul Enterprise. #8900 + Enhancements: * Promtool: Allow silencing output when importing / backfilling data. #8917 * Consul SD: Support reading tokens from file. #8926 * Rules: Add a new .ExternalURL alert field templating variable, containing the external URL of the Prometheus server. #8878 * Scrape: Add experimental body_size_limit scrape configuration setting to limit the allowed response body size for target scrapes. #8833 #8886 * Kubernetes SD: Add ingress class name label for ingress discovery. #8916 * UI: Show a startup screen with progress bar when the TSDB is not ready yet. #8662 #8908 #8909 #8946 * SD: Add a target creation failure counter prometheus_target_sync_failed_total and improve target creation failure handling. #8786 * TSDB: Improve validation of exemplar label set length. #8816 * TSDB: Add a prometheus_tsdb_clean_start metric that indicates whether a TSDB lockfile from a previous run still existed upon startup. #8824 + Bugfixes: * UI: In the experimental PromQL editor, fix autocompletion and parsing for special float values and improve series metadata fetching. #8856 * TSDB: When merging chunks, split resulting chunks if they would contain more than the maximum of 120 samples. #8582 * SD: Fix the computation of the prometheus_sd_discovered_targets metric when using multiple service discoveries. #8828 * Mon Sep 20 2021 Johannes Segitz <jsegitz@suse.com> - Added hardening to systemd service(s) (bsc#1181400). Modified: * prometheus.service * Thu Jul 08 2021 Witek Bedyk <witold.bedyk@suse.com> - Provide and reload firewalld configuration only for: + openSUSE Leap 15.0, 15.1, 15.2 + SUSE SLE15, SLE15 SP1, SLE15 SP2 * Wed May 19 2021 Daniel Molkentin <daniel.molkentin@suse.com> - Refresh patches + Changed: * 0001-Do-not-force-the-pure-Go-name-resolver.patch * 0002-Default-settings.patch * 0003-Add-Uyuni-service-discovery.patch - Upgrade to upstream version 2.27.1 (jsc#SLE-18254) + Bugfix: * SECURITY: Fix arbitrary redirects under the /new endpoint (CVE-2021-29622, bsc#1186242) - Upgrade to upstream version 2.27.0 + Features: * Promtool: Retroactive rule evaluation functionality. #7675 * Configuration: Environment variable expansion for external labels. Behind --enable-feature=expand-external-labels flag. #8649 * TSDB: Add a flag(--storage.tsdb.max-block-chunk-segment-size) to control the max chunks file size of the blocks for small Prometheus instances. #8478 * UI: Add a dark theme. #8604 * AWS Lightsail Discovery: Add AWS Lightsail Discovery. #8693 * Docker Discovery: Add Docker Service Discovery. #8629 * OAuth: Allow OAuth 2.0 to be used anywhere an HTTP client is used. #8761 * Remote Write: Send exemplars via remote write. Experimental and disabled by default. #8296 + Enhancements: * Digital Ocean Discovery: Add __meta_digitalocean_vpc label. #8642 * Scaleway Discovery: Read Scaleway secret from a file. #8643 * Scrape: Add configurable limits for label size and count. #8777 * UI: Add 16w and 26w time range steps. #8656 * Templating: Enable parsing strings in humanize functions. #8682 + Bugfixes: * UI: Provide errors instead of blank page on TSDB Status Page. #8654 #8659 * TSDB: Do not panic when writing very large records to the WAL. #8790 * TSDB: Avoid panic when mmaped memory is referenced after the file is closed. #8723 * Scaleway Discovery: Fix nil pointer dereference. #8737 * Consul Discovery: Restart no longer required after config update with no targets. #8766 * Tue May 04 2021 Witek Bedyk <witold.bedyk@suse.com> - Add tarball with vendor modules and web assets - Uyuni: Read formula data from exporters map - Uyuni: Add support for TLS targets + Changed: * 0003-Add-Uyuni-service-discovery.patch * 0002-Default-settings.patch Changed * 0003-Add-Uyuni-service-discovery.patch - Upgrade to upstream version 2.26.0 + Changes * Alerting: Using Alertmanager v2 API by default. #8626 * Prometheus/Promtool: Binaries are now printing help and usage to stdout instead of stderr. #8542 + Features * Remote: Add support for AWS SigV4 auth method for remote_write. #8509 * PromQL: Allow negative offsets. Behind --enable-feature=promql-negative-offset flag. #8487 * UI: Add advanced auto-completion, syntax highlighting and linting to graph page query input. #8634 + Enhancements * PromQL: Add last_over_time, sgn, clamp functions. #8457 * Scrape: Add support for specifying type of Authorization header credentials with Bearer by default. #8512 * Scrape: Add follow_redirects option to scrape configuration. #8546 * Remote: Allow retries on HTTP 429 response code for remote_write. #8237 #8477 * Remote: Allow configuring custom headers for remote_read. #8516 * UI: Hitting Enter now triggers new query. #8581 * UI: Better handling of long rule and names on the /rules and /targets pages. #8608 #8609 * UI: Add collapse/expand all button on the /targets page. #8486 - Upgrade to upstream version 2.25.0 + Features * Include a new `--enable-feature=` flag that enables experimental features. + Enhancements * Add optional name property to testgroup for better test failure output. #8440 * Add warnings into React Panel on the Graph page. #8427 * TSDB: Increase the number of buckets for the compaction duration metric. #8342 * Remote: Allow passing along custom remote_write HTTP headers. #8416 * Mixins: Scope grafana configuration. #8332 * Kubernetes SD: Add endpoint labels metadata. #8273 * UI: Expose total number of label pairs in head in TSDB stats page. #8343 * TSDB: Reload blocks every minute, to detect new blocks and enforce retention more often. #8343 + Bug fixes * API: Fix global URL when external address has no port. #8359 * Deprecate unused flag --alertmanager.timeout. #8407 - Upgrade to upstream version 2.24.1 + Enhancements * Cache basic authentication results to significantly improve performance of HTTP endpoints. - Upgrade to upstream version 2.24.0 + Features * Add TLS and basic authentication to HTTP endpoints. #8316 * promtool: Add check web-config subcommand to check web config files. #8319 * promtool: Add tsdb create-blocks-from openmetrics subcommand to backfill metrics data from an OpenMetrics file. #8084 + Enhancements * HTTP API: Fast-fail queries with only empty matchers. #8288 * HTTP API: Support matchers for labels API. #8301 * promtool: Improve checking of URLs passed on the command line. #7956 * SD: Expose IPv6 as a label in EC2 SD. #7086 * SD: Reuse EC2 client, reducing frequency of requesting credentials. #8311 * TSDB: Add logging when compaction takes more than the block time range. #8151 * TSDB: Avoid unnecessary GC runs after compaction. #8276 - Upgrade to upstream version 2.23.0 + Changes * UI: Make the React UI default. #8142 * Remote write: The following metrics were removed/renamed in remote write. #6815 > prometheus_remote_storage_succeeded_samples_total was removed and prometheus_remote_storage_samples_total was introduced for all the samples attempted to send. > prometheus_remote_storage_sent_bytes_total was removed and replaced with prometheus_remote_storage_samples_bytes_total and prometheus_remote_storage_metadata_bytes_total. > prometheus_remote_storage_failed_samples_total -> prometheus_remote_storage_samples_failed_total . > prometheus_remote_storage_retried_samples_total -> prometheus_remote_storage_samples_retried_total. > prometheus_remote_storage_dropped_samples_total -> prometheus_remote_storage_samples_dropped_total. > prometheus_remote_storage_pending_samples -> prometheus_remote_storage_samples_pending. * Remote: Do not collect non-initialized timestamp metrics. #8060 + Enhancements * Remote write: Added a metric prometheus_remote_storage_max_samples_per_send for remote write. #8102 * TSDB: Make the snapshot directory name always the same length. #8138 * TSDB: Create a checkpoint only once at the end of all head compactions. #8067 * TSDB: Avoid Series API from hitting the chunks. #8050 * TSDB: Cache label name and last value when adding series during compactions making compactions faster. #8192 * PromQL: Improved performance of Hash method making queries a bit faster. #8025 * promtool: tsdb list now prints block sizes. #7993 * promtool: Calculate mint and maxt per test avoiding unnecessary calculations. #8096 * SD: Add filtering of services to Docker Swarm SD. #8074 * Tue Mar 09 2021 Witek Bedyk <witold.bedyk@suse.com> - Uyuni: `hostname` label is now set to FQDN instead of IP + Changed: * 0003-Add-Uyuni-service-discovery.patch
/etc/prometheus /etc/prometheus/prometheus.yml /usr/bin/prometheus /usr/bin/promtool /usr/lib/systemd/system/prometheus.service /usr/sbin/rcprometheus /usr/share/doc/packages/golang-github-prometheus-prometheus /usr/share/doc/packages/golang-github-prometheus-prometheus/README.md /usr/share/fillup-templates/sysconfig.prometheus /usr/share/licenses/golang-github-prometheus-prometheus /usr/share/licenses/golang-github-prometheus-prometheus/LICENSE /usr/share/licenses/golang-github-prometheus-prometheus/npm_licenses.tar.bz2 /usr/share/prometheus /usr/share/prometheus/console_libraries /usr/share/prometheus/console_libraries/menu.lib /usr/share/prometheus/console_libraries/prom.lib /usr/share/prometheus/consoles /usr/share/prometheus/consoles/index.html.example /usr/share/prometheus/consoles/node-cpu.html /usr/share/prometheus/consoles/node-disk.html /usr/share/prometheus/consoles/node-overview.html /usr/share/prometheus/consoles/node.html /usr/share/prometheus/consoles/prometheus-overview.html /usr/share/prometheus/consoles/prometheus.html /var/lib/prometheus /var/lib/prometheus/data /var/lib/prometheus/metrics
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Nov 13 00:50:56 2024