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

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 +13 -7
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Changelog
2
2
 
3
- ## 3.7.0-rc.0 / 2025-10-02
3
+ ## 3.7.1 / 2025-10-16
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
+ * [BUGFIX] OTLP: Prefix `key_` to label name when translating an OTel attribute name starting with a single underscore, and keep multiple consecutive underscores in label name when translating an OTel attribute name. This reverts the breaking changes introduced in 3.7.0. #17344
6
+
7
+ ## 3.7.0 / 2025-10-15
8
+
9
+ * [CHANGE] Remote-write: the following metrics are deprecated:
10
+ - `prometheus_remote_storage_samples_in_total`, use `prometheus_wal_watcher_records_read_total{type="samples"}` and `prometheus_remote_storage_samples_dropped_total` instead,
11
+ - `prometheus_remote_storage_histograms_in_total`, use `prometheus_wal_watcher_records_read_total{type=~".*histogram_samples"}` and `prometheus_remote_storage_histograms_dropped_total` instead,
12
+ - `prometheus_remote_storage_exemplars_in_total`, use `prometheus_wal_watcher_records_read_total{type="exemplars"}` and `prometheus_remote_storage_exemplars_dropped_total` instead,
13
+ - `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
14
  * [FEATURE] PromQL: Add support for experimental anchored and smoothed rate behind feature flag `promql-extended-range-selectors`. #16457
7
15
  * [FEATURE] Federation: Add support for native histograms with custom buckets (NHCB). #17215
8
16
  * [FEATURE] PromQL: Add `first_over_time(...)` and `ts_of_first_over_time(...)` behind feature flag `experimental-promql-functions`. #16963 #17021
@@ -13,8 +21,6 @@
13
21
  * [ENHANCEMENT] UI: Add scrape interval and scrape timeout to targets page. #17158
14
22
  * [ENHANCEMENT] TSDB: Reduce the resolution of native histograms read from chunks or remote read if the schema is exponential. #17213
15
23
  * [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
24
  * [ENHANCEMENT] Rules: Support concurrent evaluation for rules querying `ALERTS` and `ALERTS_FOR_STATE`. #17064
19
25
  * [ENHANCEMENT] TSDB: Add logs to improve visibility into internal operations. #17074
20
26
  * [PERF] OTLP: Write directly to TSDB instead of passing through a Remote-Write adapter when receiving OTLP metrics. #16951
@@ -22,15 +28,15 @@
22
28
  * [PERF] PromQL: Move more work to preprocessing step. #16896
23
29
  * [PERF] PromQL: Reduce allocations when walking the syntax tree. #16593
24
30
  * [PERF] TSDB: Optimize appender creation, slightly speeding up startup. #16922
25
- * [PERF] TSDB: Improve reverse index lookup performance. #13971
31
+ * [PERF] TSDB: Improve speed of querying a series with multiple matchers. #13971
26
32
  * [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
33
  * [BUGFIX] Config: Infer valid escaping scheme when scrape config validation scheme is set. #16923
28
34
  * [BUGFIX] TSDB: Correctly handle appending mixed-typed samples to the same series. #17071 #17241 #17290 #17295 #17296
29
35
  * [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
36
+ * [BUGFIX] TSDB: Fix metadata entries handling on `metadata-wal-records` experimental feature for native histograms with custom buckets (NHCB) in protobuf scraping. #17156
31
37
  * [BUGFIX] TSDB: Ignore Native Histograms with invalid schemas during WAL/WBL replay. #17214
32
38
  * [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
39
+ * [BUGFIX] PromQL: Correct inaccurate character positions in errors for some aggregate expressions. #16996 #17031
34
40
  * [BUGFIX] PromQL: Fix `info()` function on churning series. #17135
35
41
  * [BUGFIX] PromQL: Set native histogram to gauge type when subtracting or multiplying/dividing with negative factors. #17004
36
42
  * [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.1",
4
4
  "description": "lezer-based PromQL grammar",
5
5
  "main": "dist/index.cjs",
6
6
  "type": "module",