@prometheus-io/lezer-promql 0.307.0-rc.0 → 0.307.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +9 -7
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## 3.7.0-rc.0 / 2025-10-02
3
+ ## 3.7.0 / 2025-10-15
4
4
 
5
- * [CHANGE] Remote-write: Deprecate `prometheus_remote_storage_{samples,exemplars,histograms}_in_total` and `prometheus_remote_storage_highest_timestamp_in_seconds` metrics, see their respective descriptions for alternatives. #17065
5
+ * [CHANGE] Remote-write: the following metrics are deprecated:
6
+ - `prometheus_remote_storage_samples_in_total`, use `prometheus_wal_watcher_records_read_total{type="samples"}` and `prometheus_remote_storage_samples_dropped_total` instead,
7
+ - `prometheus_remote_storage_histograms_in_total`, use `prometheus_wal_watcher_records_read_total{type=~".*histogram_samples"}` and `prometheus_remote_storage_histograms_dropped_total` instead,
8
+ - `prometheus_remote_storage_exemplars_in_total`, use `prometheus_wal_watcher_records_read_total{type="exemplars"}` and `prometheus_remote_storage_exemplars_dropped_total` instead,
9
+ - `prometheus_remote_storage_highest_timestamp_in_seconds`, use the more accurate `prometheus_remote_storage_queue_highest_timestamp_seconds` instead in dashboards and alerts to properly account for relabeling and for more accuracy. #17065
6
10
  * [FEATURE] PromQL: Add support for experimental anchored and smoothed rate behind feature flag `promql-extended-range-selectors`. #16457
7
11
  * [FEATURE] Federation: Add support for native histograms with custom buckets (NHCB). #17215
8
12
  * [FEATURE] PromQL: Add `first_over_time(...)` and `ts_of_first_over_time(...)` behind feature flag `experimental-promql-functions`. #16963 #17021
@@ -13,8 +17,6 @@
13
17
  * [ENHANCEMENT] UI: Add scrape interval and scrape timeout to targets page. #17158
14
18
  * [ENHANCEMENT] TSDB: Reduce the resolution of native histograms read from chunks or remote read if the schema is exponential. #17213
15
19
  * [ENHANCEMENT] Remote write: Add logging for unexpected metadata in sample batches, when metadata entries are found in samples-only batches. #17034 #17082
16
- * [ENHANCEMENT] Remote-write: Add `prometheus_remote_storage_queue_highest_timestamp_seconds` metric, tracking the highest timestamp actually enqueued, taking `write_relabel_configs` into account. #17065
17
- * [ENHANCEMENT] Mixin: Replace `prometheus_remote_storage_highest_timestamp_in_seconds` metric with the new `prometheus_remote_storage_queue_highest_timestamp_seconds` metric in dashboards and alerts to properly account for relabeling, for better accuracy. #17065
18
20
  * [ENHANCEMENT] Rules: Support concurrent evaluation for rules querying `ALERTS` and `ALERTS_FOR_STATE`. #17064
19
21
  * [ENHANCEMENT] TSDB: Add logs to improve visibility into internal operations. #17074
20
22
  * [PERF] OTLP: Write directly to TSDB instead of passing through a Remote-Write adapter when receiving OTLP metrics. #16951
@@ -22,15 +24,15 @@
22
24
  * [PERF] PromQL: Move more work to preprocessing step. #16896
23
25
  * [PERF] PromQL: Reduce allocations when walking the syntax tree. #16593
24
26
  * [PERF] TSDB: Optimize appender creation, slightly speeding up startup. #16922
25
- * [PERF] TSDB: Improve reverse index lookup performance. #13971
27
+ * [PERF] TSDB: Improve speed of querying a series with multiple matchers. #13971
26
28
  * [BUGFIX] Alerting: Mutating alerts relabeling (using `replace` actions, etc.) within a `alertmanager_config.alert_relabel_configs` block is now scoped correctly and no longer yields altered alerts to subsequent blocks. #17063
27
29
  * [BUGFIX] Config: Infer valid escaping scheme when scrape config validation scheme is set. #16923
28
30
  * [BUGFIX] TSDB: Correctly handle appending mixed-typed samples to the same series. #17071 #17241 #17290 #17295 #17296
29
31
  * [BUGFIX] Remote-write: Prevent sending unsupported native histograms with custom buckets (NHCB) over Remote-write 1.0, log warning. #17146
30
- * [BUGFIX] TSDB: Fix metadata entries handling on `metadata-wal-records` feature for Native Histograms with custom buckets in protobuf scraping. #17156
32
+ * [BUGFIX] TSDB: Fix metadata entries handling on `metadata-wal-records` experimental feature for native histograms with custom buckets (NHCB) in protobuf scraping. #17156
31
33
  * [BUGFIX] TSDB: Ignore Native Histograms with invalid schemas during WAL/WBL replay. #17214
32
34
  * [BUGFIX] PromQL: Avoid empty metric names in annotations for `histogram_quantile()`. #16794
33
- * [BUGFIX] PromQL: Fix the character position of errors in some aggregate expressions. #16996 #17031
35
+ * [BUGFIX] PromQL: Correct inaccurate character positions in errors for some aggregate expressions. #16996 #17031
34
36
  * [BUGFIX] PromQL: Fix `info()` function on churning series. #17135
35
37
  * [BUGFIX] PromQL: Set native histogram to gauge type when subtracting or multiplying/dividing with negative factors. #17004
36
38
  * [BUGFIX] TSDB: Reject unsupported native histogram schemas when attempting to append to TSDB. For scrape and remote-write implement reducing the resolution to fit the maximum if the schema is within the -9 to 52. #17189
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prometheus-io/lezer-promql",
3
- "version": "0.307.0-rc.0",
3
+ "version": "0.307.0",
4
4
  "description": "lezer-based PromQL grammar",
5
5
  "main": "dist/index.cjs",
6
6
  "type": "module",