Jan Fajerski
378fee0945
Merge pull request #17451 from prometheus/dependabot/go_modules/github.com/linode/linodego-1.60.0
...
chore(deps): bump github.com/linode/linodego from 1.59.0 to 1.60.0
2025-11-06 11:28:57 +01:00
Jan Fajerski
01f61438ee
Merge pull request #17463 from prometheus/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/config-1.31.16
...
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.31.12 to 1.31.16
2025-11-06 11:25:37 +01:00
dependabot[bot]
03c83399b5
chore(deps): bump github.com/aws/aws-sdk-go-v2/config
...
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2 ) from 1.31.12 to 1.31.16.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.31.12...config/v1.31.16 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
dependency-version: 1.31.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 09:24:22 +00:00
Julius Volz
1b7fa3e76d
Migrate Mantine v7 -> v8 ( #17402 )
...
I followed the migration guide at https://mantine.dev/guides/7x-to-8x/ to
add back both manual timezone handling in the time input, as well as syntax
highlighting in the config code box.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-11-06 09:38:27 +01:00
Ben Kochie
204249fcb5
Update golangci-lint ( #17478 )
...
* Update golangci-lint to v2.6.0
* Fixup various linting issues.
* Fixup deprecations.
* Add exception for `labels.MetricName` deprecation.
Signed-off-by: SuperQ <superq@gmail.com>
2025-11-05 13:47:34 +01:00
Julien Pivotto
554ea9ebfe
promql: fix resets/changes to return empty for anchored selectors when samples outside range
...
The funcResets and funcChanges functions now correctly return no result when all float samples are at or before the range start for anchored selectors, consistent with the behavior of rate/increase functions.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2025-11-05 12:07:18 +01:00
Augustin Husson
03d0c18c79
Codemirror - TS Prometheus Client: performance improvement when getting label name and values ( #17194 )
...
* Codemirror - TS Prometheus Client: don't use lookback interval if not set
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* TS Prometheus Client: remove usage of series api when getting labels
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* mock api /api/v1/labels
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* mock more endpoints and fix tests
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
---------
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2025-11-04 15:26:15 +01:00
George Krajcsovits
1070a034e5
Merge pull request #17415 from prometheus/krajo/add-codeowners
...
chore(github): add CODEOWNERS file
2025-11-04 14:59:49 +01:00
George Krajcsovits
d7bfc89f7a
Merge pull request #17431 from grafana/thampiotr/upstream-staleness-disabling
...
scrape: Allow disabling end-of-run staleness markers for targets
2025-11-04 13:24:05 +01:00
Piotr
d6848c9f40
scrape: Allow disabling end-of-run staleness markers for targets
...
Signed-off-by: Piotr <17101802+thampiotr@users.noreply.github.com>
2025-11-04 11:59:23 +00:00
Minh Nguyen
30992dd032
[RW2] Fix: Only update metadata to WAL when metadata-wal-records feature is enabled ( #17470 )
...
* add feature check when UpdateMetadata
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* add appendMetadata boolean to write_hander
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
---------
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-11-04 08:16:57 +00:00
Ben Kochie
48956f60d7
Update modernize ( #17471 )
...
Apply additional Go modernize tool improvements.
Signed-off-by: SuperQ <superq@gmail.com>
2025-11-04 05:13:49 +00:00
Minh Nguyen
784ec0a792
update test to test both v1 and v2 ( #17467 )
...
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-11-03 09:22:46 +00:00
Julius Volz
0093e2159e
Merge pull request #17337 from prometheus/ui/visualize-relabel-steps
...
ui: Allow viewing detailed relabeling steps for each discovered target
2025-11-02 13:51:55 +01:00
dependabot[bot]
bf465e04cb
chore(deps): bump github.com/linode/linodego from 1.59.0 to 1.60.0
...
Bumps [github.com/linode/linodego](https://github.com/linode/linodego ) from 1.59.0 to 1.60.0.
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.59.0...v1.60.0 )
---
updated-dependencies:
- dependency-name: github.com/linode/linodego
dependency-version: 1.60.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 23:21:06 +00:00
dependabot[bot]
e6e5f117a0
chore(deps): bump github.com/prometheus/exporter-toolkit
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases )
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.14.1...v0.15.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
dependency-version: 0.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 23:18:34 +00:00
dependabot[bot]
9b7a4c00da
chore(deps): bump actions/stale from 9.1.0 to 10.1.0
...
Bumps [actions/stale](https://github.com/actions/stale ) from 9.1.0 to 10.1.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](5bef64f19d...5f858e3efb )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: 10.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 23:16:40 +00:00
dependabot[bot]
134a40b782
chore(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](ea165f8d65...330a01c490 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 23:16:36 +00:00
dependabot[bot]
79893d3b3c
chore(deps): bump github/codeql-action from 3.30.5 to 4.31.2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.5 to 4.31.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3599b3baa1...0499de31b9 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.31.2
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 23:16:30 +00:00
pipiland2612
704afd8529
add timeSeriesAgeChecker to refactor filter code
...
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-31 23:19:53 +02:00
pipiland2612
9e6a626dae
create timeSeriesStats to reduce return variable
...
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-31 22:17:45 +02:00
pipiland2612
e1cb29bf8a
create common struct and function to DRY
...
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-31 21:55:14 +02:00
Minh Nguyen
9f93c2d2e1
promtool: Add Remote Write 2.0 support to push metrics command ( #17417 )
...
* add feature flag for remote write v2
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* change from number to protobuf_message
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix test
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix name
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* run make cli-documentation
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix help
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* run make cli-documentation
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
---------
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-31 11:38:40 +00:00
Minh Nguyen
c8f1de18a7
[RW2] Fix type and unit labels propagation in Remote Write v2 receiver to prioritize type-and-unit-labels feature ( #17387 )
...
* fix
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix nits & update docs
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix docs
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
---------
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-31 08:59:03 +00:00
Björn Rabenstein
84d2007a08
Merge pull request #17423 from geogrego/main
...
docs: Fix typos
2025-10-30 16:56:48 +01:00
George Krajcsovits
2683d50085
Merge pull request #17430 from prometheus/krajo/merge-3.7.3-to-main
...
merge 3.7.3 to main
2025-10-30 11:34:53 +01:00
György Krajcsovits
b8192127ee
Merge remote-tracking branch 'origin/release-3.7' into krajo/merge-3.7.3-to-main
...
# Conflicts:
# CHANGELOG.md
# storage/remote/queue_manager_test.go
2025-10-30 09:21:25 +01:00
George Krajcsovits
664216717e
Merge pull request #17425 from ldufr/ldufresne/add-generic-histogram-error-type
...
histogram: Add `Error` type for all histogram errors
2025-10-30 09:07:49 +01:00
Laurent Dufresne
a6793c20e8
Added tests for histogram.Error
...
Signed-off-by: Laurent Dufresne <laurent.dufresne@grafana.com>
2025-10-30 08:47:03 +01:00
Laurent Dufresne
7621eb772c
histogram: Add Error type for all histogram errors
...
`histogram.Error` becomes the generic wrapper type for all histogram errors.
This makes it easier and less error prone when adding new errors to check if
an error is an histogram error as well as making it less error prone to convert
the errors.
This change the type of those specific sentinel errors from error to
`histogram.Error`, but it should almost never matter.
e.g., `errors.Is(err, ErrHistogram...)` would still work out of the box.
Signed-off-by: Laurent Dufresne <laurent.dufresne@grafana.com>
2025-10-30 08:45:34 +01:00
George Krajcsovits
37418b5910
Merge pull request #17166 from Naman-B-Parlecha/NamanParlecha/NHCBtoCH
...
Unroll NHCBs to Classic Histograms func for RW
2025-10-30 08:44:26 +01:00
George Krajcsovits
0a41f00007
prepare release 3.7.3 ( #17428 )
...
various bug fixes
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
v0.307.3
v3.7.3
2025-10-30 08:21:26 +01:00
Ayoub Mrini
6806b68f93
[release-3.7] fix: Remote-write: revert changes in the queue resharding logic ( #17412 )
...
* Revert "chore: deprecate prometheus_remote_storage_{samples,exemplars,histograms}_in_total and prometheus_remote_storage_highest_timestamp_in_seconds"
This reverts commit ba14bc49db31a1b0ba3127e6ddf59a9f32a08dff.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
* Revert "storage/remote: compute highestTimestamp and dataIn at QueueManager level"
This reverts commit 184c7eb9186aa8fea09920f2f8e8aa8a603da300.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
* fix(remote-write): bring back the per queue metrics
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
* test(remote): add TestRemoteWrite_ReshardingWithoutDeadlock to reproduce the sharding scale up deadlock
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
---------
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-10-29 14:04:09 +00:00
George Krajcsovits
976728a1d9
Merge pull request #17426 from prometheus/krajo/merge-release-3.7-pre3-to-main
...
merge release 3.7 branch before 3.7.3 to main
2025-10-29 15:02:02 +01:00
György Krajcsovits
bb8b611d2c
Merge remote-tracking branch 'origin/release-3.7' into krajo/merge-release-3.7-pre3-to-main
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-10-29 14:32:42 +01:00
geogrego
58dbe927d5
docs: minor improvement for docs
...
Signed-off-by: geogrego <geogrego@outlook.com>
2025-10-29 14:42:14 +08:00
Fiona Liao
b004db49af
Reduce samples for TestRuntimeRetentionConfigChange ( #17422 )
...
* Reduce samples for TestRuntimeRetentionConfigChange
---------
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2025-10-28 18:23:32 +01:00
Björn Rabenstein
4fb37ff652
Merge pull request #17418 from prometheus/beorn7/release
...
Update prometheus/common dependency to v0.67.2
2025-10-28 17:40:33 +01:00
Naman-B-Parlecha
f14c515cbe
fix(histogram): handling +Inf bucket count and metric label
...
Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
2025-10-28 20:29:44 +05:30
beorn7
e2b19f9011
Update prometheus/common dependency to v0.67.2
...
Fixes #16622 .
Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-28 15:16:04 +01:00
Arve Knudsen
c36e966bf8
OTLP: de-duplicate target_info samples with conflicting timestamps ( #17400 )
...
Add logic to the target_info metric generation in the OTLP endpoint, so that any samples with the same timestamp for the same (target_info) series are de-duplicated. It comes out of a user's bug report about duplicated target_info samples in Grafana Mimir (which uses the Prometheus target_info generation logic).
If I'm not mistaken, duplicate target_info samples should stem from multiple resources in the same OTLP request being translated to the same target_info label set. It shouldn't be caused by a Prometheus bug.
2025-10-28 14:13:43 +00:00
Arve Knudsen
92ccadc96d
promtool: generate rulesLintConfig when --lint=none is set ( #17414 )
...
* Correctly generate rulesLintConfig when --lint=none is set (#17399 )
If I run promtool check config --lint=none I get:
```
Checking rules.yml
FAILED:
rules.yml: unset nameValidationScheme
```
This is because passing --lint=none stops newConfigLintConfig from generating rulesLintConfig which is needed for validation.
It means that defaults are used then, one of which is unset value for metric name validation, causing this error.
Fix this by handling --lint=none case correctly and still generating rulesLintConfig.
---------
Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2025-10-28 14:34:52 +01:00
György Krajcsovits
9b99af7cf3
chore(github): add CODEOWNERS file
...
In order to allow for non team members to be maintainers of components
like service discovery.
Design doc:
https://docs.google.com/document/d/19m5ti00ZzzOspn60xyiK961J6M7g-rC1THNMkYWQbBc/edit?tab=t.0#heading=h.5sybau7waq2q
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-10-28 14:13:37 +01:00
Arve Knudsen
df8a9076b9
tsdb: Reduce TestHeadSeriesChunkRace number of iterations to 100 ( #17410 )
...
Reduce tsdb.TestHeadSeriesChunkRace number of iterations from 1000 to
100, to stop this test from timing out under CI.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2025-10-28 13:57:20 +01:00
Björn Rabenstein
5f041ff7da
Merge pull request #17413 from prometheus/beorn7/release
...
Volunteer @jan--f as release shepherd for v3.8
2025-10-28 13:32:40 +01:00
Łukasz Mierzwa
0e187f5542
Correctly generate rulesLintConfig when --lint=none is set ( #17399 )
...
If I run promtool check config --lint=none I get:
```
Checking rules.yml
FAILED:
rules.yml: unset nameValidationScheme
```
This is becuase passing --lint=none stops newConfigLintConfig from generating rulesLintConfig which is needed for validation.
It means that defaults are used then, one of which is unset value for metric name validation, causing this error.
Fix this by handling --lint=none case correctly and still generating rulesLintConfig.
Fixes #17398 .
Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
2025-10-28 13:07:10 +01:00
beorn7
d19cc4ddb0
Volunteer @jan--f as release shepherd for v3.8
...
Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-28 12:45:50 +01:00
George Krajcsovits
436ae330ff
fix(deps): update prometheus/common to 0.67.1 ( #17409 )
...
Fix #17405 federation of NHCB histograms
Manual backport of #17299
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-10-28 12:06:32 +01:00
Julius Volz
5318689046
Merge pull request #17380 from roidelapluie/roidelapluie/fixat
...
promql/parser: Add string representation for AT token
2025-10-27 16:21:14 +01:00
Minh Nguyen
ad4b59c504
tsdb: Deprecate retention flags; add tsdb.retention runtime configuration ( #17026 )
...
* Move storage from CL to config file
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* Fix .md
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* run make cli-documentation
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* run make cli-documentation
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* nit_fixed
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* add test and update configuration.md
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix lint
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
---------
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-27 14:51:33 +00:00