The NetBSD Project

CVS log for pkgsrc/databases/prometheus/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / databases / prometheus

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Nov 11 08:18:04 2024 UTC (4 weeks ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -7 lines
prometheus: update to 2.55.1.

## 2.55.1 / 2024-01-04

* [BUGFIX] `round()` function did not remove `__name__` label. #15250

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Nov 4 18:21:51 2024 UTC (5 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +356 -323 lines
prometheus: update to 2.55.0.

## 2.55.0 / 2024-10-22

* [FEATURE] PromQL: Add experimental `info` function. #14495
* [FEATURE] Support UTF-8 characters in label names - feature flag `utf8-names`. #14482, #14880, #14736, #14727
* [FEATURE] Scraping: Add the ability to set custom `http_headers` in config. #14817
* [FEATURE] Scraping: Support feature flag `created-timestamp-zero-ingestion` in OpenMetrics. #14356, #14815
* [FEATURE] Scraping: `scrape_failure_log_file` option to log failures to a file. #14734
* [FEATURE] OTLP receiver: Optional promotion of resource attributes to series labels. #14200
* [FEATURE] Remote-Write: Support Google Cloud Monitoring authorization. #14346
* [FEATURE] Promtool: `tsdb create-blocks` new option to add labels. #14403
* [FEATURE] Promtool: `promtool test` adds `--junit` flag to format results. #14506
* [FEATURE] TSDB: Add `delayed-compaction` feature flag, for people running many Prometheus to randomize timing. #12532
* [ENHANCEMENT] OTLP receiver: Warn on exponential histograms with zero count and non-zero sum. #14706
* [ENHANCEMENT] OTLP receiver: Interrupt translation on context cancellation/timeout. #14612
* [ENHANCEMENT] Remote Read client: Enable streaming remote read if the server supports it. #11379
* [ENHANCEMENT] Remote-Write: Don't reshard if we haven't successfully sent a sample since last update. #14450
* [ENHANCEMENT] PromQL: Delay deletion of `__name__` label to the end of the query evaluation. This is **experimental** and enabled under the feature-flag `promql-delayed-name-removal`. #14477
* [ENHANCEMENT] PromQL: Experimental `sort_by_label` and `sort_by_label_desc` sort by all labels when label is equal. #14655, #14985
* [ENHANCEMENT] PromQL: Clarify error message logged when Go runtime panic occurs during query evaluation. #14621
* [ENHANCEMENT] PromQL: Use Kahan summation for better accuracy in `avg` and `avg_over_time`. #14413
* [ENHANCEMENT] Tracing: Improve PromQL tracing, including showing the operation performed for aggregates, operators, and calls. #14816
* [ENHANCEMENT] API: Support multiple listening addresses. #14665
* [ENHANCEMENT] TSDB: Backward compatibility with upcoming index v3. #14934
* [PERF] TSDB: Query in-order and out-of-order series together. #14354, #14693, #14714, #14831, #14874, #14948, #15120
* [PERF] TSDB: Streamline reading of overlapping out-of-order head chunks. #14729
* [BUGFIX] PromQL: make sort_by_label stable. #14985
* [BUGFIX] SD: Fix dropping targets (with feature flag `new-service-discovery-manager`). #13147
* [BUGFIX] SD: Stop storing stale targets (with feature flag `new-service-discovery-manager`). #13622
* [BUGFIX] Scraping: exemplars could be dropped in protobuf scraping. #14810
* [BUGFIX] Remote-Write: fix metadata sending for experimental Remote-Write V2. #14766
* [BUGFIX] Remote-Write: Return 4xx not 5xx when timeseries has duplicate label. #14716
* [BUGFIX] Experimental Native Histograms: many fixes for incorrect results, panics, warnings. #14513, #14575, #14598, #14609, #14611, #14771, #14821
* [BUGFIX] TSDB: Only count unknown record types in `record_decode_failures_total` metric. #14042

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Sep 21 10:32:45 2024 UTC (2 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +305 -305 lines
prometheus: update to 2.54.1.

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

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

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Jul 16 06:41:17 2024 UTC (4 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +7 -7 lines
prometheus: update to 2.53.1.

## 2.53.1 / 2024-07-10

Fix a bug which would drop samples in remote-write if the sending flow stalled
for longer than it takes to write one "WAL segment". How long this takes depends on the size
of your Prometheus; as a rough guide with 10 million series it is about 2-3 minutes.

* [BUGFIX] Remote-write: stop dropping samples in catch-up #14446

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jul 9 06:28:19 2024 UTC (5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +316 -322 lines
prometheus: update to 2.53.0.

## 2.53.0 / 2024-06-16

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

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jun 9 22:19:35 2024 UTC (6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -7 lines
prometheus: update to 2.52.1.

## 2.52.1 / 2024-05-29

* [BUGFIX] Linode SD: Fix partial fetch when discovery would return more than 500 elements. #14141

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun May 12 19:52:45 2024 UTC (6 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +373 -373 lines
prometheus: 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

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Apr 5 14:07:57 2024 UTC (8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +367 -676 lines
prometheus: update to 2.51.1.

## 2.51.1 / 2024-03-27

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

## 2.51.0 / 2024-03-18

This version is built with Go 1.22.1.

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

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Mar 3 12:51:29 2024 UTC (9 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -7 lines
prometheus: 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

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Feb 25 16:04:41 2024 UTC (9 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +463 -406 lines
prometheus: update to 2.50.0.

## 2.50.0 / 2024-02-22

* [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

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jan 21 20:38:03 2024 UTC (10 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +391 -343 lines
prometheus: update to 2.49.1.

2.49.1 / 2024-01-15 Latest

    [BUGFIX] TSDB: Fixed a wrong q= value in scrape accept header #13313

2.49.0 / 2024-01-15

    [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
        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

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Dec 17 07:25:41 2023 UTC (11 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +829 -1216 lines
prometheus: update to 2.48.1.

# Changelog

## 2.48.1 / 2023-12-08

* [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

## 2.48.0 / 2023-11-16

* [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

## 2.47.1 / 2023-10-04

* [BUGFIX] Fix duplicate sample detection at chunk size limit #12874

## 2.47.0 / 2023-09-06

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

## 2.46.0 / 2023-07-25

* [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

## 2.45.0 / 2023-06-23

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

## 2.44.0 / 2023-05-13

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

## 2.43.1 / 2023-05-03

* [BUGFIX] Labels: `Set()` after `Del()` would be ignored, which broke some relabeling rules. #12322

## 2.43.0 / 2023-03-21

We are working on some performance improvements in Prometheus, which are only
built into Prometheus when compiling it using the Go tag `stringlabels`
(therefore they are not shipped in the default binaries). It uses a data
structure for labels that uses a single string to hold all the label/values,
resulting in a smaller heap size and some speedups in most cases. We would like
to encourage users who are interested in these improvements to help us measure
the gains on their production architecture. We are providing release artefacts
`2.43.0+stringlabels` and Docker images tagged `v2.43.0-stringlabels` with those
improvements for testing. #10991

* [FEATURE] Promtool: Add HTTP client configuration to query commands. #11487
* [FEATURE] Scrape: Add `scrape_config_files` 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_environment` 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

## 2.42.0 / 2023-01-31

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

## 2.41.0 / 2022-12-20

* [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

## 2.40.7 / 2022-12-14

* [BUGFIX] Use Windows native DNS resolver. #11704
* [BUGFIX] TSDB: Fix queries involving negative buckets of native histograms. #11699

## 2.40.6 / 2022-12-09

* [SECURITY] Security upgrade from go and upstream dependencies that include
  security fixes to the net/http and os packages. #11691

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Dec 6 16:26:40 2022 UTC (2 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +568 -1033 lines
prometheus: updated to 2.40.5

2.40.5 / 2022-12-01
[BUGFIX] TSDB: Fix queries involving native histograms due to improper reset of iterators.


2.40.4 / 2022-11-29
[SECURITY] Fix basic authentication bypass vulnerability (CVE-2022-46146).


2.40.3 / 2022-11-23
[BUGFIX] TSDB: Fix compaction after a deletion is called.


2.40.2 / 2022-11-16
[BUGFIX] UI: Fix black-on-black metric name color in dark mode.


2.40.1 / 2022-11-09
[BUGFIX] TSDB: Fix alignment for atomic int64 for 32 bit architecture.
[BUGFIX] Scrape: Fix accept headers.


2.40.0 / 2022-11-08
This release introduces an experimental, native way of representing and storing histograms.

It can be enabled in Prometheus via --enable-feature=native-histograms to accept native histograms.
Enabling native histograms will also switch the preferred exposition format to protobuf.

To instrument your application with native histograms, use the v1.14.0 or later of client_golang and set the NativeHistogramBucketFactor in your HistogramOpts (1.1 is a good starting point).
Your existing histograms won't switch to native histograms until NativeHistogramBucketFactor is set.

[FEATURE] Add experimental support for native histograms. Enable with the flag --enable-feature=native-histograms.
[FEATURE] SD: Add service discovery for OVHcloud.
[ENHANCEMENT] Kubernetes SD: Use protobuf encoding.
[ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed.
[ENHANCEMENT] Consul SD: Add enterprise admin partitions. Adds __meta_consul_partition label. Adds partition config in consul_sd_config.
[BUGFIX] API: Fix API error codes for /api/v1/labels and /api/v1/series.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Sep 26 17:47:27 2022 UTC (2 years, 2 months ago) by adam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +13 -10 lines
prometheus: updated to 2.37.1

2.37.1
[BUGFIX] Properly close file descriptor when logging unfinished queries.
[BUGFIX] TSDB: In the WAL watcher metrics, expose the type="exemplar" label
instead of type="unknown" for exemplar records.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jul 21 19:12:58 2022 UTC (2 years, 4 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +814 -3583 lines
prometheus: update to 2.37.0

This moves pkgsrc to the Prometheus LTS release cycle.
See https://prometheus.io/docs/introduction/release-cycle/ .

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Apr 11 18:53:43 2022 UTC (2 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +322 -1168 lines
prometheus: updated to 2.34.0

2.34.0

[CHANGE] UI: Classic UI removed.
[CHANGE] Tracing: Migrate from Jaeger to OpenTelemetry based tracing.
[ENHANCEMENT] TSDB: Disable the chunk write queue by default and allow configuration with the experimental flag --storage.tsdb.head-chunks-write-queue-size.
[ENHANCEMENT] HTTP SD: Add a failure counter.
[ENHANCEMENT] Azure SD: Set Prometheus User-Agent on requests.
[ENHANCEMENT] Uyuni SD: Reduce the number of logins to Uyuni.
[ENHANCEMENT] Scrape: Log when an invalid media type is encountered during a scrape.
[ENHANCEMENT] Scrape: Accept application/openmetrics-text;version=1.0.0 in addition to version=0.0.1.
[ENHANCEMENT] Remote-read: Add an option to not use external labels as selectors for remote read.
[ENHANCEMENT] UI: Optimize the alerts page and add a search bar.
[ENHANCEMENT] UI: Improve graph colors that were hard to see.
[ENHANCEMENT] Config: Allow escaping of $ with $$ when using environment variables with external labels.
[BUGFIX] PromQL: Properly return an error from histogram_quantile when metrics have the same labelset.
[BUGFIX] UI: Fix bug that sets the range input to the resolution.
[BUGFIX] TSDB: Fix a query panic when memory-snapshot-on-shutdown is enabled.
[BUGFIX] Parser: Specify type in metadata parser errors.
[BUGFIX] Scrape: Fix label limit changes not applying.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Mar 11 19:56:00 2022 UTC (2 years, 9 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1382 -524 lines
prometheus: update to 2.33.5

2.33.0 / 2022-01-29
[CHANGE] PromQL: Promote negative offset and @ modifer to stable features.
[CHANGE] Web: Promote remote-write-receiver to stable.
[FEATURE] Config: Add stripPort template function.
[FEATURE] Promtool: Add cardinality analysis to check metrics, enabled by flag --extended.
[FEATURE] SD: Enable target discovery in own K8s namespace.
[FEATURE] SD: Add provider ID label in K8s SD.
[FEATURE] Web: Add limit field to the rules API.
[ENHANCEMENT] Remote-write: Avoid allocations by buffering concrete structs instead of interfaces.
[ENHANCEMENT] Remote-write: Log time series details for out-of-order samples in remote write receiver.
[ENHANCEMENT] Remote-write: Shard up more when backlogged.
[ENHANCEMENT] TSDB: Use simpler map key to improve exemplar ingest performance.
[ENHANCEMENT] TSDB: Avoid allocations when popping from the intersected postings heap.
[ENHANCEMENT] TSDB: Make chunk writing non-blocking, avoiding latency spikes in remote-write.
[ENHANCEMENT] TSDB: Improve label matching performance.
[ENHANCEMENT] UI: Optimize the service discovery page and add a search bar.
[ENHANCEMENT] UI: Optimize the target page and add a search bar.

+ bugfixes

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Oct 26 10:09:47 2021 UTC (3 years, 1 month ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2409 -2409 lines
databases: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Oct 7 13:35:35 2021 UTC (3 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -2409 lines
databases: Remove SHA1 distfile hashes

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 3 19:12:46 2021 UTC (3 years, 2 months ago) by tnn
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2889 -533 lines
prometheus: update to 2.30.2

The 2.30 release brings performance improvements and bugfixes.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jun 25 15:25:48 2021 UTC (3 years, 5 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1505 -465 lines
prometheus: update to 2.28.0

While here try to make updates less painful for pkgsrc developers
by automating some of the manual steps.

2.28.0 / 2021-06-21
  [CHANGE] UI: Make the new experimental PromQL editor the default.
  [FEATURE] Linode SD: Add Linode service discovery.
  [FEATURE] HTTP SD: Add generic HTTP-based service discovery.
  [FEATURE] Kubernetes SD: Allow configuring API Server access via a kubeconfig file.
  [FEATURE] UI: Add exemplar display support to the graphing interface.
  [FEATURE] Consul SD: Add namespace support for Consul Enterprise.
  [ENHANCEMENT] Promtool: Allow silencing output when importing / backfilling data.
  [ENHANCEMENT] Consul SD: Support reading tokens from file.
  [ENHANCEMENT] Rules: Add a new .ExternalURL alert field templating variable, containing the external URL of the Prometheus server.
  [ENHANCEMENT] Scrape: Add experimental body_size_limit scrape configuration setting to limit the allowed response body size for target scrapes.
  [ENHANCEMENT] Kubernetes SD: Add ingress class name label for ingress discovery.
  [ENHANCEMENT] UI: Show a startup screen with progress bar when the TSDB is not ready yet.
  [ENHANCEMENT] SD: Add a target creation failure counter prometheus_target_sync_failed_total and improve target creation failure handling.
  [ENHANCEMENT] TSDB: Improve validation of exemplar label set length.
  [ENHANCEMENT] TSDB: Add a prometheus_tsdb_clean_start metric that indicates whether a TSDB lockfile from a previous run still existed upon startup.
  [BUGFIX] UI: In the experimental PromQL editor, fix autocompletion and parsing for special float values and improve series metadata fetching.
  [BUGFIX] TSDB: When merging chunks, split resulting chunks if they would contain more than the maximum of 120 samples.
[BUGFIX] SD: Fix the computation of the prometheus_sd_discovered_targets metric when using multiple service discoveries

2.27.0 / 2021-05-12
  [FEATURE] Promtool: Retroactive rule evaluation functionality.
  [FEATURE] Configuration: Environment variable expansion for external labels. Behind --enable-feature=expand-external-labels flag.
  [FEATURE] 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.
  [FEATURE] UI: Add a dark theme.
  [FEATURE] AWS Lightsail Discovery: Add AWS Lightsail Discovery.
  [FEATURE] Docker Discovery: Add Docker Service Discovery.
  [FEATURE] OAuth: Allow OAuth 2.0 to be used anywhere an HTTP client is used.
  [FEATURE] Remote Write: Send exemplars via remote write. Experimental and disabled by default.
  [ENHANCEMENT] Digital Ocean Discovery: Add __meta_digitalocean_vpc label.
  [ENHANCEMENT] Scaleway Discovery: Read Scaleway secret from a file.
  [ENHANCEMENT] Scrape: Add configurable limits for label size and count.
  [ENHANCEMENT] UI: Add 16w and 26w time range steps.
  [ENHANCEMENT] Templating: Enable parsing strings in humanize functions.
  [BUGFIX] UI: Provide errors instead of blank page on TSDB Status Page.
  [BUGFIX] TSDB: Do not panic when writing very large records to the WAL.
  [BUGFIX] TSDB: Avoid panic when mmaped memory is referenced after the file is closed.
  [BUGFIX] Scaleway Discovery: Fix nil pointer dereference.
  [BUGFIX] Consul Discovery: Restart no longer required after config update with no targets.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Apr 3 18:41:31 2021 UTC (3 years, 8 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6238 -10 lines
prometheus: update to 2.26.0

Prometheus is now built and supporting Go 1.16.
Note that from this release Prometheus is using Alertmanager v2 by default.
[CHANGE] Alerting: Using Alertmanager v2 API by default.
[CHANGE] Prometheus/Promtool: As agreed on dev summit, binaries are now printing help and usage to stdout instead of stderr.
[FEATURE] Remote: Add support for AWS SigV4 auth method for remote_write.
[FEATURE] Scaleway Discovery: Add Scaleway Service Discovery.
[FEATURE] PromQL: Allow negative offsets. Behind --enable-feature=promql-negative-offset flag.
[FEATURE] experimental Exemplars: Add in-memory storage for exemplars. Behind --enable-feature=exemplar-storage flag.
[FEATURE] UI: Add advanced auto-completion, syntax highlighting and linting to graph page query input.
[ENHANCEMENT] Digital Ocean Discovery: Add __meta_digitalocean_image label.
[ENHANCEMENT] PromQL: Add last_over_time, sgn, clamp functions.
[ENHANCEMENT] Scrape: Add support for specifying type of Authorization header credentials with Bearer by default.
[ENHANCEMENT] Scrape: Add follow_redirects option to scrape configuration.
[ENHANCEMENT] Remote: Allow retries on HTTP 429 response code for remote_write. Disabled by default. See configuration docs for details.
[ENHANCEMENT] Remote: Allow configuring custom headers for remote_read. See configuration docs for details.
[ENHANCEMENT] UI: Hitting Enter now triggers new query.
[ENHANCEMENT] UI: Better handling of long rule and names on the /rules and /targets pages.
[ENHANCEMENT] UI: Add collapse/expand all button on the /targets page.
[BUGFIX] TSDB: Eager deletion of removable blocks on every compaction, saving disk peak space usage.
[BUGFIX] PromQL: Fix parser support for special characters.
[BUGFIX] Rules: Update rule health for append/commit fails.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Feb 13 19:20:55 2021 UTC (3 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +9 -10 lines
prometheus: updated to 2.24.1

2.24.1
[ENHANCEMENT] Cache basic authentication results to significantly improve performance of HTTP endpoints (via an update of prometheus/exporter-toolkit).
[BUGFIX] Prevent user enumeration by timing requests sent to authenticated HTTP endpoints (via an update of prometheus/exporter-toolkit).

2.24.0
[FEATURE] Add TLS and basic authentication to HTTP endpoints.
[FEATURE] promtool: Add check web-config subcommand to check web config files.
[FEATURE] promtool: Add tsdb create-blocks-from openmetrics subcommand to backfill metrics data from an OpenMetrics file.
[ENHANCEMENT] HTTP API: Fast-fail queries with only empty matchers.
[ENHANCEMENT] HTTP API: Support matchers for labels API.
[ENHANCEMENT] promtool: Improve checking of URLs passed on the command line.
[ENHANCEMENT] SD: Expose IPv6 as a label in EC2 SD.
[ENHANCEMENT] SD: Reuse EC2 client, reducing frequency of requesting credentials.
[ENHANCEMENT] TSDB: Add logging when compaction takes more than the block time range.
[ENHANCEMENT] TSDB: Avoid unnecessary GC runs after compaction.
[BUGFIX] HTTP API: Avoid double-closing of channel when quitting multiple times via HTTP.
[BUGFIX] SD: Ignore CNAME records in DNS SD to avoid spurious Invalid SRV record warnings.
[BUGFIX] SD: Avoid config error triggered by valid label selectors in Kubernetes SD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jan 28 21:45:26 2021 UTC (3 years, 10 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -1 lines
prometheus: Fix SunOS build.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jan 4 09:57:18 2021 UTC (3 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -1 lines
prometheus: use LOCAL_PORTS distfile for React UI as suggested by @jperkin

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Dec 10 16:35:24 2020 UTC (4 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5 lines
prometheus: updated to 2.23.0

2.23.0:
[CHANGE] UI: Make the React UI default.
[CHANGE] Remote write: The following metrics were removed/renamed in remote write.
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.
[CHANGE] Remote: Do not collect non-initialized timestamp metrics.
[FEATURE] [EXPERIMENTAL] Remote write: Allow metric metadata to be propagated via remote write. The following new metrics were introduced: prometheus_remote_storage_metadata_total, prometheus_remote_storage_metadata_failed_total, prometheus_remote_storage_metadata_retried_total, prometheus_remote_storage_metadata_bytes_total.
[ENHANCEMENT] Remote write: Added a metric prometheus_remote_storage_max_samples_per_send for remote write.
[ENHANCEMENT] TSDB: Make the snapshot directory name always the same length.
[ENHANCEMENT] TSDB: Create a checkpoint only once at the end of all head compactions.
[ENHANCEMENT] TSDB: Avoid Series API from hitting the chunks.
[ENHANCEMENT] TSDB: Cache label name and last value when adding series during compactions making compactions faster.
[ENHANCEMENT] PromQL: Improved performance of Hash method making queries a bit faster.
[ENHANCEMENT] promtool: tsdb list now prints block sizes.
[ENHANCEMENT] promtool: Calculate mint and maxt per test avoiding unnecessary calculations.
[ENHANCEMENT] SD: Add filtering of services to Docker Swarm SD.
[BUGFIX] React UI: Fix button display when there are no panels.
[BUGFIX] PromQL: Fix timestamp() method for vector selector inside parenthesis.
[BUGFIX] PromQL: Don't include rendered expression on PromQL parse errors.
[BUGFIX] web: Fix panic with double close() of channel on calling /-/quit/.
[BUGFIX] TSDB: Fixed WAL corruption on partial writes within a page causing invalid checksum error on WAL replay.
[BUGFIX] Update config metrics prometheus_config_last_reload_successful and prometheus_config_last_reload_success_timestamp_seconds right after initial validation before starting TSDB.
[BUGFIX] promtool: Correctly detect duplicate label names in exposition.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Nov 17 08:47:52 2020 UTC (4 years ago) by adam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5 lines
prometheus: updated to 2.22.2

2.22.2:
[BUGFIX] Fix race condition in syncing/stopping/reloading scrapers.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 12 11:09:01 2020 UTC (4 years ago) by adam
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5 lines
prometheus: updated to 2.22.1

2.22.1
* [BUGFIX] Fix potential "mmap: invalid argument" errors in loading the head chunks, after an unclean shutdown, by performing read repairs.
* [BUGFIX] Fix serving metrics and API when reloading scrape config.
* [BUGFIX] Fix head chunk size calculation for size based retention.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Oct 20 09:56:52 2020 UTC (4 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -5 lines
prometheus: updated to 2.22.0

2.22.0

As announced in the 2.21.0 release notes, the experimental gRPC API v2 has been
removed.

[CHANGE] web: Remove APIv2.
[ENHANCEMENT] React UI: Implement missing TSDB head stats section.
[ENHANCEMENT] UI: Add Collapse all button to targets page.
[ENHANCEMENT] UI: Clarify alert state toggle via checkbox icon.
[ENHANCEMENT] Add rule_group_last_evaluation_samples and prometheus_tsdb_data_replay_duration_seconds metrics.
[ENHANCEMENT] Gracefully handle unknown WAL record types.
[ENHANCEMENT] Issue a warning for 64 bit systems running 32 bit binaries.
[BUGFIX] Adjust scrape timestamps to align them to the intended schedule, effectively reducing block size. Workaround for a regression in go1.14+.
[BUGFIX] promtool: Ensure alert rules are marked as restored in unit tests.
[BUGFIX] Eureka: Fix service discovery when compiled in 32-bit.
[BUGFIX] Don't do literal regex matching optimisation when case insensitive.
[BUGFIX] Fix classic UI sometimes running queries for instant query when in range query mode.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Sep 30 13:12:20 2020 UTC (4 years, 2 months ago) by adam
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5 lines
prometheus: updated to 2.21.0

2.21.0

This release is built with Go 1.15, which deprecates X.509 CommonName
in TLS certificates validation.

In the unlikely case that you use the gRPC API v2 (which is limited to TSDB
admin commands), please note that we will remove this experimental API in the
next minor release 2.22.

[CHANGE] Disable HTTP/2 because of concerns with the Go HTTP/2 client.
[CHANGE] PromQL: query_log_file path is now relative to the config file.
[CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand.
[CHANGE] Rules: Label rule_group_iterations metric with group name.
[FEATURE] Eureka SD: New service discovery.
[FEATURE] Hetzner SD: New service discovery.
[FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices.
[FEATURE] Scrape: Add per scrape-config targets limit.
[ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m.
[ENHANCEMENT] DNS SD: Add SRV record target and port meta labels.
[ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports.
[ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset.
[ENHANCEMENT] Promtool: Add --time option to query instant command.
[ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI.
[ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI.
[ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty.
[BUGFIX] API: Deduplicate series in /api/v1/series.
[BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors.
[BUGFIX] PromQL: Exit with an error when time parameters can't be parsed.
[BUGFIX] Remote read: Re-add accidentally removed tracing for remote-read requests.
[BUGFIX] Rules: Detect extra fields in rule files.
[BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules.
[BUGFIX] Rules: Keep evaluation timestamp across reloads.
[BUGFIX] Scrape: Do not stop scrapes in progress during reload.
[BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error.
[BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion.
[BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil.
[BUGFIX] UI: Fix react UI bug with series going on and off.
[BUGFIX] UI: Fix styling bug for target labels with special names in React UI.
[BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Aug 13 08:22:32 2020 UTC (4 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
prometheus: updated to 2.20.1

2.20.1:
[BUGFIX] SD: Reduce the Consul watch timeout to 2m and adjust the request timeout accordingly.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jul 27 14:50:19 2020 UTC (4 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
prometheus: updated to 2.20.0

2.20.0 / 2020-07-22

This release changes WAL compression from opt-in to default. WAL compression will prevent a downgrade to v2.10 or earlier without deleting the WAL. Disable WAL compression explicitly by setting the command line flag --no-storage.tsdb.wal-compression if you require downgrading to v2.10 or earlier.

[CHANGE] promtool: Changed rule numbering from 0-based to 1-based when reporting rule errors.
[CHANGE] Remote read: Added prometheus_remote_storage_read_queries_total counter and prometheus_remote_storage_read_request_duration_seconds histogram, removed prometheus_remote_storage_remote_read_queries_total counter.
[CHANGE] Remote write: Added buckets for longer durations to prometheus_remote_storage_sent_batch_duration_seconds histogram.
[CHANGE] TSDB: WAL compression is enabled by default.
[FEATURE] PromQL: Added group() aggregator.
[FEATURE] SD: Added Docker Swarm SD.
[FEATURE] SD: Added DigitalOcean SD.
[FEATURE] SD: Added Openstack config option to query alternative endpoints.
[ENHANCEMENT] Configuration: Exit early on invalid config file and signal it with exit code 2.
[ENHANCEMENT] PromQL: without is now a valid metric identifier.
[ENHANCEMENT] PromQL: Optimized regex label matching for literals within the pattern or as prefix/suffix.
[ENHANCEMENT] promtool: Added time range parameters for labels API in promtool.
[ENHANCEMENT] Remote write: Include samples waiting in channel in pending samples metric. Log number of dropped samples on hard shutdown.
[ENHANCEMENT] Scrape: Ingest synthetic scrape report metrics atomically with the corresponding scraped metrics.
[ENHANCEMENT] SD: Reduce timeouts for Openstack SD.
[ENHANCEMENT] SD: Use 10m timeout for Consul watches.
[ENHANCEMENT] SD: Added AMI meta label for EC2 SD.
[ENHANCEMENT] TSDB: Increment WAL corruption metric also on WAL corruption during checkpointing.
[ENHANCEMENT] TSDB: Improved query performance for high-cardinality labels.
[ENHANCEMENT] UI: Display dates as well as timestamps in status page.
[ENHANCEMENT] UI: Improved scrolling when following hash-fragment links.
[ENHANCEMENT] UI: React UI renders numbers in alerts in a more human-readable way.
[BUGFIX] API: Fixed error status code in the query API.
[BUGFIX] PromQL: Fixed avg and avg_over_time for NaN, Inf, and float64 overflows.
[BUGFIX] PromQL: Fixed off-by-one error in histogram_quantile.
[BUGFIX] promtool: Support extended durations in rules unit tests.
[BUGFIX] Scrape: Fix undercounting for scrape_samples_post_metric_relabeling in case of errors.
[BUGFIX] TSDB: Don't panic on WAL corruptions.
[BUGFIX] TSDB: Avoid leaving behind empty files in chunks_head, causing startup failures.
[BUGFIX] TSDB: Fixed race between compact (gc, populate) and head append causing unknown symbol error.
[BUGFIX] TSDB: Fixed unknown symbol error during head compaction.
[BUGFIX] TSDB: Fixed panic during TSDB metric registration.
[BUGFIX] TSDB: Fixed --limit command line flag in tsdb tool

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jul 10 10:59:35 2020 UTC (4 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
prometheus: updated to 2.19.2

2.19.2:
[BUGFIX] Remote Write: Fix panic when reloading config with modified queue parameters.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jun 20 21:37:58 2020 UTC (4 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5 lines
prometheus: updated to 2.19.1

2.19.1:
[BUGFIX] TSDB: Fix m-map file truncation leading to unsequential files.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 11 08:06:02 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -5 lines
prometheus: updated to 2.19.0

2.19.0:
[FEATURE] TSDB: Memory-map full chunks of Head (in-memory) block from disk. This reduces memory footprint and makes restarts faster.
[ENHANCEMENT] Discovery: Added discovery support for Triton global zones.
[ENHANCEMENT] Increased alert resend delay to be more tolerant towards failures.
[ENHANCEMENT] Remote Read: Added prometheus_remote_storage_remote_read_queries_total counter to count total number of remote read queries.
[ENHANCEMEMT] Added time range parameters for label names and label values API.
[ENHANCEMENT] TSDB: Reduced contention in isolation for high load.
[BUGFIX] PromQL: Eliminated collision while checking for duplicate labels.
[BUGFIX] React UI: Don't null out data when clicking on the current tab.
[BUGFIX] PromQL: Correctly track number of samples for a query.
[BUGFIX] PromQL: Return NaN when histogram buckets have 0 observations.
[BUGFIX] TSDB: Fix incorrect query results when using Prometheus with remote reads configured

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue May 26 15:30:49 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6 lines
prometheus: updated to 2.18.1

2.18.1:
[BUGFIX] TSDB: Fixed snapshot API.

2.18.0:
[CHANGE] Federation: Only use local TSDB for federation (ignore remote read).
[CHANGE] Rules: rule_evaluations_total and rule_evaluation_failures_total have a rule_group label now.
[FEATURE] Tracing: Added experimental Jaeger support
[ENHANCEMENT] TSDB: Significantly reduce WAL size kept around after a block cut.
[ENHANCEMENT] Discovery: Add architecture meta label for EC2.
[BUGFIX] UI: Fixed wrong MinTime reported by /status.
[BUGFIX] React UI: Fixed multiselect legend on OSX.
[BUGFIX] Remote Write: Fixed blocked resharding edge case.
[BUGFIX] Remote Write: Fixed remote write not updating on relabel configs change.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Apr 23 10:31:00 2020 UTC (4 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -5 lines
prometheus: updated to 2.17.2

2.17.2:
[BUGFIX] Federation: Register federation metrics
[BUGFIX] PromQL: Fix panic in parser error handling
[BUGFIX] Rules: Fix reloads hanging when deleting a rule group that is being evaluated
[BUGFIX] TSDB: Fix a memory leak when prometheus starts with an empty TSDB WAL
[BUGFIX] TSDB: Make isolation more robust to panics in web handlers

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 3 16:39:50 2020 UTC (4 years, 8 months ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
prometheus: updated to 2.17.1

2.17.1:
[BUGFIX] TSDB: Fix query performance regression that increased memory and CPU usage

2.17.0:
[FEATURE] TSDB: Support isolation
[ENHANCEMENT] PromQL: Allow more keywords as metric names
[ENHANCEMENT] React UI: Add normalization of localhost URLs in targets page
[ENHANCEMENT] Remote read: Read from remote storage concurrently
[ENHANCEMENT] Rules: Mark deleted rule series as stale after a reload
[ENHANCEMENT] Scrape: Log scrape append failures as debug rather than warn
[ENHANCEMENT] TSDB: Improve query performance for queries that partially hit the head
[ENHANCEMENT] Consul SD: Expose service health as meta label
[ENHANCEMENT] EC2 SD: Expose EC2 instance lifecycle as meta label
[ENHANCEMENT] Kubernetes SD: Expose service type as meta label for K8s service role
[ENHANCEMENT] Kubernetes SD: Expose label_selector and field_selector
[ENHANCEMENT] Openstack SD: Expose hypervisor id as meta label
[BUGFIX] PromQL: Do not escape HTML-like chars in query log
[BUGFIX] React UI: Fix data table matrix values
[BUGFIX] React UI: Fix new targets page not loading when using non-ASCII characters
[BUGFIX] Remote read: Fix duplication of metrics read from remote storage with external labels
[BUGFIX] Remote write: Register WAL watcher and live reader metrics for all remotes, not just the first one
[BUGFIX] Scrape: Prevent removal of metric names upon relabeling
[BUGFIX] Scrape: Fix 'superfluous response.WriteHeader call' errors when scrape fails under some circonstances
[BUGFIX] Scrape: Fix crash when reloads are separated by two scrape intervals

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Feb 16 21:17:48 2020 UTC (4 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
prometheus: updated to 2.16.0

2.16.0:
[FEATURE] React UI: Support local timezone on /graph
[FEATURE] PromQL: add absent_over_time query function
[FEATURE] Adding optional logging of queries to their own file
[ENHANCEMENT] React UI: Add support for rules page and "Xs ago" duration displays
[ENHANCEMENT] React UI: alerts page, replace filtering togglers tabs with checkboxes
[ENHANCEMENT] TSDB: Export metric for WAL write errors
[ENHANCEMENT] TSDB: Improve query performance for queries that only touch the most recent 2h of data.
[ENHANCEMENT] PromQL: Refactoring in parser errors to improve error messages
[ENHANCEMENT] PromQL: Support trailing commas in grouping opts
[ENHANCEMENT] Scrape: Reduce memory usage on reloads by reusing scrape cache
[ENHANCEMENT] Scrape: Add metrics to track bytes and entries in the metadata cache
[ENHANCEMENT] promtool: Add support for line-column numbers for invalid rules output
[ENHANCEMENT] Avoid restarting rule groups when it is unnecessary
[BUGFIX] React UI: Send cookies on fetch() on older browsers
[BUGFIX] React UI: adopt grafana flot fix for stacked graphs
[BUFGIX] React UI: broken graph page browser history so that back button works as expected
[BUGFIX] TSDB: ensure compactionsSkipped metric is registered, and log proper error if one is returned from head.Init
[BUGFIX] TSDB: return an error on ingesting series with duplicate labels
[BUGFIX] PromQL: Fix unary operator precedence
[BUGFIX] PromQL: Respect query.timeout even when we reach query.max-concurrency
[BUGFIX] PromQL: Fix string and parentheses handling in engine, which affected React UI
[BUGFIX] PromQL: Remove output labels returned by absent() if they are produced by multiple identical label matchers
[BUGFIX] Scrape: Validate that OpenMetrics input ends with
[BUGFIX] Remote read: return the correct error if configs can't be marshal'd to JSON
[BUGFIX] Remote write: Make remote client Store use passed context, which can affect shutdown timing
[BUGFIX] Remote write: Improve sharding calculation in cases where we would always be consistently behind by tracking pendingSamples
[BUGFIX] Ensure prometheus_rule_group metrics are deleted when a rule group is removed

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 8 22:33:05 2020 UTC (4 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -5 lines
prometheus: updated to 2.15.2

2.15.2:
[BUGFIX] TSDB: Fixed support for TSDB blocks built with Prometheus before 2.1.0.
[BUGFIX] TSDB: Fixed block compaction issues on Windows.

2.15.1:
[BUGFIX] Fixed race on concurrent queries against the same data.

2.15.0:
[CHANGE] Discovery: Removed prometheus_sd_kubernetes_cache_* metrics. Additionally prometheus_sd_kubernetes_workqueue_latency_seconds and prometheus_sd_kubernetes_workqueue_work_duration_seconds metrics now show correct values in seconds.
[CHANGE] Remote write: Changed query label on prometheus_remote_storage_* metrics to remote_name and url.
[FEATURE] API: Added new endpoint for exposing per metric metadata /metadata.
[ENHANCEMENT] TSDB: Significantly reduced memory footprint of loaded TSDB blocks.
[ENHANCEMENT] TSDB: Significantly optimized what we buffer during compaction which should result in lower memory footprint during compaction.
[ENHANCEMENT] TSDB: Improve replay latency.
[ENHANCEMENT] TSDB: WAL size is now used for size based retention calculation.
[ENHANCEMENT] Remote read: Added query grouping and range hints to the remote read request
[ENHANCEMENT] Remote write: Added prometheus_remote_storage_sent_bytes_total counter per queue.
[ENHANCEMENT] promql: Improved PromQL parser performance.
[ENHANCEMENT] React UI: Implemented missing pages like /targets
[ENHANCEMENT] promql: Prometheus now accepts spaces between time range and square bracket. e.g [ 5m]
[BUGFIX] Config: Fixed alertmanager configuration to not miss targets when configurations are similar.
[BUGFIX] Remote write: Value of prometheus_remote_storage_shards_desired gauge shows raw value of desired shards and it's updated correctly.
[BUGFIX] Rules: Prometheus now fails the evaluation of rules and alerts where metric results collide with labels specified in labels field.
[BUGFIX] API: Targets Metadata API /targets/metadata now accepts empty match_targets parameter as in the spec.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Nov 28 06:44:12 2019 UTC (5 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines
prometheus: updated to 2.14.0

2.14.0
[SECURITY/BUGFIX] UI: Ensure warnings from the API are escaped.
[FEATURE] API: /api/v1/status/runtimeinfo and /api/v1/status/buildinfo endpoints added for use by the React UI.
[FEATURE] React UI: implement the new experimental React based UI.
Can be found by under /new.
Not all pages are implemented yet.
[FEATURE] Status: Cardinality statistics added to the Runtime & Build Information page.
[ENHANCEMENT/BUGFIX] Remote write: fix delays in remote write after a compaction.
[ENHANCEMENT] UI: Alerts can be filtered by state.
[BUGFIX] API: lifecycle endpoints return 403 when not enabled.
[BUGFIX] Build: Fix Solaris build.
[BUGFIX] Promtool: Remove false duplicate rule warnings when checking rule files with alerts.
[BUGFIX] Remote write: restore use of deduplicating logger in remote write.
[BUGFIX] Remote write: do not reshard when unable to send samples.
[BUGFIX] Service discovery: errors are no longer logged on context cancellation.
[BUGFIX] UI: handle null response from API properly.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 9 23:12:05 2019 UTC (5 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -5 lines
prometheus: updated to 2.13.1

2.13.1:
[BUGFIX] Fix panic in ARM builds of Prometheus.
[BUGFIX] promql: fix potential panic in the query logger.
[BUGFIX] Multiple errors of http: superfluous response.WriteHeader call in the logs.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Oct 16 08:07:21 2019 UTC (5 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5 lines
prometheus: updated to 2.13.0

2.13.0:
[SECURITY/BUGFIX] UI: Fix a Stored DOM XSS vulnerability with query history CVE-2019-10215.
[CHANGE] Metrics: renamed prometheus_sd_configs_failed_total to prometheus_sd_failed_configs and changed to Gauge
[ENHANCEMENT] Include the tsdb tool in builds.
[ENHANCEMENT] Service discovery: add new node address types for kubernetes.
[ENHANCEMENT] UI: show warnings if query have returned some warnings.
[ENHANCEMENT] Remote write: reduce memory usage of the series cache.
[ENHANCEMENT] Remote read: use remote read streaming to reduce memory usage.
[ENHANCEMENT] Metrics: added metrics for remote write max/min/desired shards to queue manager.
[ENHANCEMENT] Promtool: show the warnings during label query.
[ENHANCEMENT] Promtool: improve error messages when parsing bad rules.
[ENHANCEMENT] Promtool: more promlint rules.
[BUGFIX] Promtool: fix recording inconsistency due to duplicate labels.
[BUGFIX] UI: fixes service-discovery view when accessed from unhealthy targets.
[BUGFIX] Metrics format: OpenMetrics parser crashes on short input.
[BUGFIX] UI: avoid truncated Y-axis values.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 21 08:46:39 2019 UTC (5 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -5 lines
prometheus: updated to 2.12.0

2.12.0:
[FEATURE] Track currently active PromQL queries in a log file.
[FEATURE] Enable and provide binaries for mips64 / mips64le architectures.
[ENHANCEMENT] Improve responsiveness of targets web UI and API endpoint.
[ENHANCEMENT] Improve remote write desired shards calculation.
[ENHANCEMENT] Flush TSDB pages more precisely.
[ENHANCEMENT] Add prometheus_tsdb_retention_limit_bytes metric.
[ENHANCEMENT] Add logging during TSDB WAL replay on startup.
[ENHANCEMENT] Improve TSDB memory usage.
[BUGFIX] Check for duplicate label names in remote read.
[BUGFIX] Mark deleted rules' series as stale on next evaluation.
[BUGFIX] Fix JavaScript error when showing warning about out-of-sync server time.
[BUGFIX] Fix promtool test rules panic when providing empty exp_labels.
[BUGFIX] Only check last directory when discovering checkpoint number.
[BUGFIX] Fix error propagation in WAL watcher helper functions.
[BUGFIX] Correctly handle empty labels from alert templates.

2.11.0:
[CHANGE] Remove max_retries from queue_config (it has been unused since rewriting remote-write to utilize the write-ahead-log).
[CHANGE] The meta file BlockStats no longer holds size information. This is now dynamically calculated and kept in memory. It also includes the meta file size which was not included before.
[CHANGE] Renamed metric from prometheus_tsdb_wal_reader_corruption_errors to prometheus_tsdb_wal_reader_corruption_errors_total.
[FEATURE] Add option to use Alertmanager API v2.
[FEATURE] Added humanizePercentage function for templates.
[FEATURE] Include InitContainers in Kubernetes Service Discovery.
[FEATURE] Provide option to compress WAL records using Snappy.
[ENHANCEMENT] Create new clean segment when starting the WAL.
[ENHANCEMENT] Reduce allocations in PromQL aggregations.
[ENHANCEMENT] Add storage warnings to LabelValues and LabelNames API results.
[ENHANCEMENT] Add prometheus_http_requests_total metric.
[ENHANCEMENT] Enable openbsd/arm build.
[ENHANCEMENT] Remote-write allocation improvements.
[ENHANCEMENT] Query performance improvement: Efficient iteration and search in HashForLabels and HashWithoutLabels.
[ENHANCEMENT] Allow injection of arbitrary headers in promtool.
[ENHANCEMENT] Allow passing external_labels in alert unit tests groups.
[ENHANCEMENT] Allows globs for rules when unit testing.
[ENHANCEMENT] Improved postings intersection matching.
[ENHANCEMENT] Reduced disk usage for WAL for small setups.
[ENHANCEMENT] Optimize queries using regexp for set lookups.
[BUGFIX] resolve race condition in maxGauge.
[BUGFIX] Fix ZooKeeper connection leak.
[BUGFIX] Improved atomicity of .tmp block replacement during compaction for usual case.
[BUGFIX] Fix "unknown series references" after clean shutdown.
[BUGFIX] Re-calculate block size when calling block.Delete.
[BUGFIX] Fix unsafe snapshots with head block.
[BUGFIX] prometheus_tsdb_compactions_failed_total is now incremented on any compaction failure.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri May 31 13:03:25 2019 UTC (5 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -5 lines
prometheus: updated to 2.10.0

2.10.0:
[CHANGE/BUGFIX] API: Encode alert values as string to correctly represent Inf/NaN.
[FEATURE] Template expansion: Make external labels available as $externalLabels in alert and console template expansion.
[FEATURE] TSDB: Add prometheus_tsdb_wal_segment_current metric for the WAL segment index that TSDB is currently writing to.
[FEATURE] Scrape: Add scrape_series_added per-scrape metric.
[ENHANCEMENT] Discovery/kubernetes: Add labels __meta_kubernetes_endpoint_node_name and __meta_kubernetes_endpoint_hostname.
[ENHANCEMENT] Discovery/azure: Add label __meta_azure_machine_public_ip.
[ENHANCEMENT] TSDB: Simplify mergedPostings.Seek, resulting in better performance if there are many posting lists.
[ENHANCEMENT] Log filesystem type on startup.
[ENHANCEMENT] Cmd/promtool: Use POST requests for Query and QueryRange.
[ENHANCEMENT] Web: Sort alerts by group name.
[ENHANCEMENT] Console templates: Add convenience variables $rawParams, $params, $path.
[BUGFIX] TSDB: Don't panic when running out of disk space and recover nicely from the condition.
[BUGFIX] TSDB: Correctly handle empty labels.
[BUGFIX] TSDB: Don't crash on an unknown tombstone reference.
[BUGFIX] Storage/remote: Remove queue-manager specific metrics if queue no longer exists.
[BUGFIX] PromQL: Correctly display {__name__="a"}.
[BUGFIX] Discovery/kubernetes: Use service rather than ingress as the name for the service workqueue.
[BUGFIX] Discovery/azure: Don't panic on a VM with a public IP.
[BUGFIX] Discovery/triton: Always read HTTP body to completion.
[BUGFIX] Web: Fixed Content-Type for js and css instead of using /etc/mime.types.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon May 20 09:23:00 2019 UTC (5 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -6 lines
prometheus: updated to 2.9.2

2.9.2:
[BUGFIX] Make sure subquery range is taken into account for selection
[BUGFIX] Exhaust every request body before closing it
[BUGFIX] Cmd/promtool: return errors from rule evaluations
[BUGFIX] Remote Storage: string interner should not panic in release
[BUGFIX] Fix memory allocation regression in mergedPostings.

2.9.1:
[BUGFIX] Discovery/kubernetes: fix missing label sanitization
[BUGFIX] Remote_write: Prevent reshard concurrent with calling stop

2.9.0:
This releases uses Go 1.12, which includes a change in how memory is released
to Linux. This will cause RSS to be reported as higher, however this is harmless
and the memory is available to the kernel when it needs it.

[CHANGE/ENHANCEMENT] Update Consul to support catalog.ServiceMultipleTags.
[FEATURE] Add honor_timestamps scrape option.
[ENHANCEMENT] Discovery/kubernetes: add present labels for labels/annotations.
[ENHANCEMENT] OpenStack SD: Add ProjectID and UserID meta labels.
[ENHANCEMENT] Add GODEBUG and retention to the runtime page.
[ENHANCEMENT] Add support for POSTing to /series endpoint.
[ENHANCEMENT] Support PUT methods for Lifecycle and Admin APIs.
[ENHANCEMENT] Scrape: Add global jitter for HA server.
[ENHANCEMENT] Check for cancellation on every step of a range evaluation.
[ENHANCEMENT] String interning for labels & values in the remote_write path.
[ENHANCEMENT] Don't lose the scrape cache on a failed scrape.
[ENHANCEMENT] Reload cert files from disk automatically.
[ENHANCEMENT] Use fixed length millisecond timestamp format for logs.
[ENHANCEMENT] Performance improvements for postings.
[BUGFIX] Remote Write: fix checkpoint reading.
[BUGFIX] Check if label value is valid when unmarshaling external labels from YAML.
[BUGFIX] Promparse: sort all labels when parsing.
[BUGFIX] Reload rules: copy state on both name and labels.
[BUGFIX] Exponentation operator to drop metric name in result of operation.
[BUGFIX] Config: resolve more file paths.
[BUGFIX] Promtool: resolve relative paths in alert test files.
[BUGFIX] Set TLSHandshakeTimeout in HTTP transport.
[BUGFIX] Use fsync to be more resilient to machine crashes.
[BUGFIX] Keep series that are still in WAL in checkpoints.
[BUGFIX] Fix output sample values for scalar-to-vector comparison operations.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 17 12:55:13 2019 UTC (5 years, 8 months ago) by tm
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
prometheus: import version 2.8.0

The Prometheus monitoring system and time series database.

Prometheus, a Cloud Native Computing Foundation project, is a systems and
service monitoring system. It collects metrics from configured targets at
given intervals, evaluates rule expressions, displays the results, and
can trigger alerts if some condition is observed to be true.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>