@prometheus-io/lezer-promql 0.300.1 → 0.301.0-rc.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.
- package/CHANGELOG.md +69 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
## unreleased
|
|
4
4
|
|
|
5
|
+
## 3.1.0-rc.1 / 2024-12-30
|
|
6
|
+
|
|
7
|
+
* [BUGFIX] OTLP receiver: Allow colons in non-standard units. #15710
|
|
8
|
+
|
|
9
|
+
## 3.1.0-rc.0 / 2024-12-18
|
|
10
|
+
|
|
11
|
+
* [SECURITY] upgrade golang.org/x/crypto to address reported CVE-2024-45337. #15691
|
|
12
|
+
* [CHANGE] Notifier: Increment prometheus_notifications_errors_total by the number of affected alerts rather than per batch. #15428
|
|
13
|
+
* [CHANGE] API: list rules field "groupNextToken:omitempty" renamed to "groupNextToken". #15400
|
|
14
|
+
* [ENHANCEMENT] OTLP translate: keep identifying attributes in target_info. #15448
|
|
15
|
+
* [ENHANCEMENT] Paginate rule groups, add infinite scroll to rules within groups. #15677
|
|
16
|
+
* [ENHANCEMENT] TSDB: Improve calculation of space used by labels. #13880
|
|
17
|
+
* [ENHANCEMENT] Rules: new metric rule_group_last_rule_duration_sum_seconds. #15672
|
|
18
|
+
* [ENHANCEMENT] Observability: Export 'go_sync_mutex_wait_total_seconds_total' metric. #15339
|
|
19
|
+
* [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP. #15329
|
|
20
|
+
* [PERF] Optimize `l=~".+"` matcher. #15474, #15684
|
|
21
|
+
* [PERF] TSDB: Cache all symbols for compaction . #15455
|
|
22
|
+
* [PERF] TSDB: MemPostings: keep a map of label values slices. #15426
|
|
23
|
+
* [PERF] Remote-Write: Remove interning hook. #15456
|
|
24
|
+
* [PERF] Scrape: optimize string manipulation for experimental native histograms with custom buckets. #15453
|
|
25
|
+
* [PERF] TSDB: reduce memory allocations. #15465, #15427
|
|
26
|
+
* [PERF] Storage: Implement limit in mergeGenericQuerier. #14489
|
|
27
|
+
* [PERF] TSDB: Optimize inverse matching. #14144
|
|
28
|
+
* [PERF] Regex: use stack memory for lowercase copy of string. #15210
|
|
29
|
+
* [PERF] TSDB: When deleting from postings index, pause to unlock and let readers read. #15242
|
|
30
|
+
* [BUGFIX] Rules: Do not run rules concurrently if uncertain about dependencies. #15560
|
|
31
|
+
* [BUGFIX] PromQL: Adds test for `absent`, `absent_over_time` and `deriv` func with histograms. #15667
|
|
32
|
+
* [BUGFIX] PromQL: Fix various bugs related to quoting UTF-8 characters. #15531
|
|
33
|
+
* [BUGFIX] Scrape: fix nil panic after scrape loop reload. #15563
|
|
34
|
+
* [BUGFIX] Remote-write: fix panic on repeated log message. #15562
|
|
35
|
+
* [BUGFIX] Scrape: reload would ignore always_scrape_classic_histograms and convert_classic_histograms_to_nhcb configs. #15489
|
|
36
|
+
* [BUGFIX] TSDB: fix data corruption in experimental native histograms. #15482
|
|
37
|
+
* [BUGFIX] PromQL: Ignore histograms in all time related functions. #15479
|
|
38
|
+
* [BUGFIX] OTLP receiver: Convert metric metadata. #15416
|
|
39
|
+
* [BUGFIX] PromQL: Fix `resets` function for histograms. #15527
|
|
40
|
+
* [BUGFIX] PromQL: Fix behaviour of `changes()` for mix of histograms and floats. #15469
|
|
41
|
+
* [BUGFIX] PromQL: Fix behaviour of some aggregations with histograms. #15432
|
|
42
|
+
* [BUGFIX] allow quoted exemplar keys in openmetrics text format. #15260
|
|
43
|
+
* [BUGFIX] TSDB: fixes for rare conditions when loading write-behind-log (WBL). #15380
|
|
44
|
+
* [BUGFIX] `round()` function did not remove `__name__` label. #15250
|
|
45
|
+
* [BUGFIX] Promtool: analyze block shows metric name with 0 cardinality. #15438
|
|
46
|
+
* [BUGFIX] PromQL: Fix `count_values` for histograms. #15422
|
|
47
|
+
* [BUGFIX] PromQL: fix issues with comparison binary operations with `bool` modifier and native histograms. #15413
|
|
48
|
+
* [BUGFIX] PromQL: fix incorrect "native histogram ignored in aggregation" annotations. #15414
|
|
49
|
+
* [BUGFIX] PromQL: Corrects the behaviour of some operator and aggregators with Native Histograms. #15245
|
|
50
|
+
* [BUGFIX] TSDB: Always return unknown hint for first sample in non-gauge histogram chunk. #15343
|
|
51
|
+
* [BUGFIX] PromQL: Clamp functions: Ignore any points with native histograms. #15169
|
|
52
|
+
* [BUGFIX] TSDB: Fix race on stale values in headAppender. #15322
|
|
53
|
+
* [BUGFIX] UI: Fix selector / series formatting for empty metric names. #15340
|
|
54
|
+
|
|
5
55
|
## 3.0.1 / 2024-11-28
|
|
6
56
|
|
|
7
57
|
The first bug fix release for Prometheus 3.
|
|
@@ -33,14 +83,14 @@ This release includes new features such as a brand new UI and UTF-8 support enab
|
|
|
33
83
|
* [CHANGE] PromQL: Range selectors and the lookback delta are now left-open, i.e. a sample coinciding with the lower time limit is excluded rather than included. #13904
|
|
34
84
|
* [CHANGE] Kubernetes SD: Remove support for `discovery.k8s.io/v1beta1` API version of EndpointSlice. This version is no longer served as of Kubernetes v1.25. #14365
|
|
35
85
|
* [CHANGE] Kubernetes SD: Remove support for `networking.k8s.io/v1beta1` API version of Ingress. This version is no longer served as of Kubernetes v1.22. #14365
|
|
36
|
-
* [CHANGE] UTF-8: Enable UTF-8 support by default. Prometheus now allows all UTF-8 characters in metric and label names. The corresponding `utf8-name` feature flag has been removed. #14705
|
|
86
|
+
* [CHANGE] UTF-8: Enable UTF-8 support by default. Prometheus now allows all UTF-8 characters in metric and label names. The corresponding `utf8-name` feature flag has been removed. #14705, #15258
|
|
37
87
|
* [CHANGE] Console: Remove example files for the console feature. Users can continue using the console feature by supplying their own JavaScript and templates. #14807
|
|
38
88
|
* [CHANGE] SD: Enable the new service discovery manager by default. This SD manager does not restart unchanged discoveries upon reloading. This makes reloads faster and reduces pressure on service discoveries' sources. The corresponding `new-service-discovery-manager` feature flag has been removed. #14770
|
|
39
89
|
* [CHANGE] Agent mode has been promoted to stable. The feature flag `agent` has been removed. To run Prometheus in Agent mode, use the new `--agent` cmdline arg instead. #14747
|
|
40
90
|
* [CHANGE] Remove deprecated `remote-write-receiver`,`promql-at-modifier`, and `promql-negative-offset` feature flags. #13456, #14526
|
|
41
91
|
* [CHANGE] Remove deprecated `storage.tsdb.allow-overlapping-blocks`, `alertmanager.timeout`, and `storage.tsdb.retention` flags. #14640, #14643
|
|
42
92
|
* [FEATURE] OTLP receiver: Ability to skip UTF-8 normalization using `otlp.translation_strategy = NoUTF8EscapingWithSuffixes` configuration option. #15384
|
|
43
|
-
* [FEATURE] Support config reload automatically - feature flag `auto-reload-config`. #14769
|
|
93
|
+
* [FEATURE] Support config reload automatically - feature flag `auto-reload-config`. #14769, #15011
|
|
44
94
|
* [ENHANCEMENT] Scraping, rules: handle targets reappearing, or rules moving group, when out-of-order is enabled. #14710
|
|
45
95
|
* [ENHANCEMENT] Tools: add debug printouts to promtool rules unit testing #15196
|
|
46
96
|
* [ENHANCEMENT] Scraping: support Created-Timestamp feature on native histograms. #14694
|
|
@@ -70,6 +120,21 @@ This release includes new features such as a brand new UI and UTF-8 support enab
|
|
|
70
120
|
* [BUGFIX] Autoreload: Reload invalid yaml files. #14947
|
|
71
121
|
* [BUGFIX] Scrape: Do not override target parameter labels with config params. #11029
|
|
72
122
|
|
|
123
|
+
## 2.53.3 / 2024-11-04
|
|
124
|
+
|
|
125
|
+
* [BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps. #14685, #14740
|
|
126
|
+
|
|
127
|
+
## 2.53.2 / 2024-08-09
|
|
128
|
+
|
|
129
|
+
Fix a bug where Prometheus would crash with a segmentation fault if a remote-read
|
|
130
|
+
request accessed a block on disk at about the same time as TSDB created a new block.
|
|
131
|
+
|
|
132
|
+
[BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. #14515,#14523
|
|
133
|
+
|
|
134
|
+
## 2.55.1 / 2024-11-04
|
|
135
|
+
|
|
136
|
+
* [BUGFIX] `round()` function did not remove `__name__` label. #15250
|
|
137
|
+
|
|
73
138
|
## 2.55.0 / 2024-10-22
|
|
74
139
|
|
|
75
140
|
* [FEATURE] PromQL: Add experimental `info` function. #14495
|
|
@@ -106,7 +171,7 @@ This release includes new features such as a brand new UI and UTF-8 support enab
|
|
|
106
171
|
|
|
107
172
|
## 2.54.1 / 2024-08-27
|
|
108
173
|
|
|
109
|
-
* [BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps. #14685
|
|
174
|
+
* [BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps (mixing samples of the same series with and without timestamps is still rejected). #14685
|
|
110
175
|
* [BUGFIX] Docker SD: fix crash in `match_first_network` mode when container is reconnected to a new network. #14654
|
|
111
176
|
* [BUGFIX] PromQL: fix experimental native histograms getting corrupted due to vector selector bug in range queries. #14538
|
|
112
177
|
* [BUGFIX] PromQL: fix experimental native histogram counter reset detection on stale samples. #14514
|
|
@@ -188,6 +253,7 @@ This release changes the default for GOGC, the Go runtime control for the trade-
|
|
|
188
253
|
## 2.52.0 / 2024-05-07
|
|
189
254
|
|
|
190
255
|
* [CHANGE] TSDB: Fix the predicate checking for blocks which are beyond the retention period to include the ones right at the retention boundary. #9633
|
|
256
|
+
* [CHANGE] Scrape: Multiple samples (even with different timestamps) are treated as duplicates during one scrape.
|
|
191
257
|
* [FEATURE] Kubernetes SD: Add a new metric `prometheus_sd_kubernetes_failures_total` to track failed requests to Kubernetes API. #13554
|
|
192
258
|
* [FEATURE] Kubernetes SD: Add node and zone metadata labels when using the endpointslice role. #13935
|
|
193
259
|
* [FEATURE] Azure SD/Remote Write: Allow usage of Azure authorization SDK. #13099
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prometheus-io/lezer-promql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.301.0-rc.1",
|
|
4
4
|
"description": "lezer-based PromQL grammar",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@lezer/generator": "^1.7.
|
|
34
|
+
"@lezer/generator": "^1.7.2",
|
|
35
35
|
"@lezer/highlight": "^1.2.0",
|
|
36
36
|
"@lezer/lr": "^1.4.2",
|
|
37
|
-
"@rollup/plugin-node-resolve": "^15.
|
|
37
|
+
"@rollup/plugin-node-resolve": "^15.3.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@lezer/highlight": "^1.1.2",
|