Skip to content

Commit 45777e3

Browse files
committed
Revert "Merge pull request #847 from grafana/revert-844-zenador/sync-upstream"
This reverts commit 17d6477, reversing changes made to f260bb3. # Conflicts: # CHANGELOG.md # tsdb/head_test.go # tsdb/head_wal.go
1 parent d775645 commit 45777e3

File tree

198 files changed

+3004
-3131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+3004
-3131
lines changed

.golangci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ linters:
1717
- loggercheck
1818
- misspell
1919
- nilnesserr
20-
- nolintlint
20+
# TODO(bwplotka): Enable once https://github.com/golangci/golangci-lint/issues/3228 is fixed.
21+
# - nolintlint
2122
- perfsprint
2223
- predeclared
2324
- revive
@@ -157,7 +158,6 @@ linters-settings:
157158
- name: unexported-return
158159
- name: unreachable-code
159160
- name: unused-parameter
160-
disabled: true
161161
- name: var-declaration
162162
- name: var-naming
163163
testifylint:

.promu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
go:
22
# Whenever the Go version is updated here,
33
# .github/workflows should also be updated.
4-
version: 1.23
4+
version: 1.24
55
repository:
66
path: github.com/prometheus/prometheus
77
build:

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,32 @@
22

33
## unreleased
44

5+
* [CHANGE] Make setting out-of-order native histograms feature (`--enable-feature=ooo-native-histograms`) a no-op. Out-of-order native histograms are now always enabled when `out_of_order_time_window` is greater than zero and `--enable-feature=native-histograms` is set. #16207
56
* [ENHANCEMENT] TSDB: add `prometheus_tsdb_wal_replay_unknown_refs_total` and `prometheus_tsdb_wbl_replay_unknown_refs_total` metrics to track unknown series references during WAL/WBL replay. #16166
67
* [BUGFIX] TSDB: fix unknown series errors and possible lost data during WAL replay when series are removed from the head due to inactivity and reappear before the next WAL checkpoint. #16060
8+
9+
## 3.2.1 / 2025-02-25
10+
11+
* [BUGFIX] Don't send Accept` header `escape=allow-utf-8` when `metric_name_validation_scheme: legacy` is configured. #16061
12+
13+
## 3.2.0 / 2025-02-17
14+
15+
* [CHANGE] relabel: Replace actions can now use UTF-8 characters in `targetLabel` field. Note that `$<chars>` or `${<chars>}` will be expanded. This also apply to `replacement` field for `LabelMap` action. #15851
16+
* [CHANGE] rulefmt: Rule names can use UTF-8 characters, except `{` and `}` characters (due to common mistake checks). #15851
17+
* [FEATURE] remote/otlp: Add feature flag `otlp-deltatocumulative` to support conversion from delta to cumulative. #15165
18+
* [ENHANCEMENT] openstack SD: Discover Octavia loadbalancers. #15539
19+
* [ENHANCEMENT] scrape: Add metadata for automatic metrics to WAL for `metadata-wal-records` feature. #15837
720
* [ENHANCEMENT] promtool: Support linting of scrape interval, through lint option `too-long-scrape-interval`. #15719
21+
* [ENHANCEMENT] promtool: Add --ignore-unknown-fields option. #15706
22+
* [ENHANCEMENT] ui: Make "hide empty rules" and hide empty rules" persistent #15807
23+
* [ENHANCEMENT] web/api: Add a limit parameter to `/query` and `/query_range`. #15552
24+
* [ENHANCEMENT] api: Add fields Node and ServerTime to `/status`. #15784
25+
* [PERF] Scraping: defer computing labels for dropped targets until they are needed by the UI. #15261
26+
* [BUGFIX] remotewrite2: Fix invalid metadata bug for metrics without metadata. #15829
27+
* [BUGFIX] remotewrite2: Fix the unit field propagation. #15825
28+
* [BUGFIX] scrape: Fix WAL metadata for histograms and summaries. #15832
29+
* [BUGFIX] ui: Merge duplicate "Alerts page settings" sections. #15810
30+
* [BUGFIX] PromQL: Fix `<aggr_over_time>` functions with histograms. #15711
831

932
## 3.1.0 / 2025-01-02
1033

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ COPY NOTICE /NOTICE
1414
COPY npm_licenses.tar.bz2 /npm_licenses.tar.bz2
1515

1616
WORKDIR /prometheus
17-
RUN chown -R nobody:nobody /etc/prometheus /prometheus
17+
RUN chown -R nobody:nobody /etc/prometheus /prometheus && chmod g+w /prometheus
1818

1919
USER nobody
2020
EXPOSE 9090

Makefile.common

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
6161
SKIP_GOLANGCI_LINT :=
6262
GOLANGCI_LINT :=
6363
GOLANGCI_LINT_OPTS ?=
64-
GOLANGCI_LINT_VERSION ?= v1.63.4
64+
GOLANGCI_LINT_VERSION ?= v1.64.6
6565
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
6666
# windows isn't included here because of the path separator being different.
6767
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ Prometheus will now be reachable at <http://localhost:9090/>.
6868
To build Prometheus from source code, You need:
6969

7070
* Go [version 1.22 or greater](https://golang.org/doc/install).
71-
* NodeJS [version 16 or greater](https://nodejs.org/).
72-
* npm [version 7 or greater](https://www.npmjs.com/).
71+
* NodeJS [version 22 or greater](https://nodejs.org/).
72+
* npm [version 8 or greater](https://www.npmjs.com/).
7373

7474
Start by cloning the repository:
7575

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.0
1+
3.2.1

0 commit comments

Comments
 (0)