16908 Commits

Author SHA1 Message Date
renovate[bot]
edb6731d92
chore(deps): update actions/setup-go action to v6.2.0 (#18055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 09:13:35 +01:00
renovate[bot]
60d365f4c9
chore(deps): update actions/cache action to v5.0.3 (#18053)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 09:13:27 +01:00
renovate[bot]
7c39446837
chore(deps): update actions/checkout action to v4.3.1 (#18054)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 09:13:16 +01:00
Joe Adams
68df59ba0c
Merge pull request #18029 from matt-gp/ecs-sd-bug-17920
AWS SD: ECS Discover Standalone Tasks
2026-02-10 22:03:28 -05:00
Ganesh Vernekar
873fdf2f0c
Merge pull request #18024 from prometheus/codesome/3-10-go-deps
Update Go dependencies for v3.10 release
2026-02-10 14:30:02 -08:00
Ganesh Vernekar
0ede19e2ee Replace deprecated google.CredentialsFromJSON with option.WithAuthCredentialsFile
Signed-off-by: Ganesh Vernekar <ganesh.vernekar@reddit.com>
2026-02-10 13:03:14 -08:00
Ganesh Vernekar
847e474bf4 Kubernetes SD: Disable WatchListClient in tests
Signed-off-by: Ganesh Vernekar <ganesh.vernekar@reddit.com>
2026-02-10 12:39:34 -08:00
Ganesh Vernekar
1698aada1e Update Go dependencies for v3.10 release
Signed-off-by: Ganesh Vernekar <ganesh.vernekar@reddit.com>
2026-02-10 12:39:33 -08:00
Ganesh Vernekar
43eaaf55a4
Merge pull request #18025 from prometheus/codesome/3-10-npm-deps
Update npm dependencies for v3.10
2026-02-10 12:31:39 -08:00
Bryan Boreham
c096bb0ff0
Merge pull request #18057 from pr00se/symbol-table-too-large-errors
tsdb/index: export sentinel error for symbol table size exceeded
2026-02-10 18:58:34 +00:00
Patryk Prus
d8c24c6bde
tsdb/index: export sentinel error for symbol table size exceeded
Signed-off-by: Patryk Prus <p@trykpr.us>
2026-02-10 12:44:32 -05:00
George Krajcsovits
6fec996722
docs(api): clarify metadata vs remote protocols (#17481)
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2026-02-10 17:33:06 +01:00
Ben Kochie
7b02d25f6c
Increase Renovate speed (#18052)
* Allow Renovate to run all day on the monthly day.
* Increase the max PRs from 10 to 20.
* Incresae the PR open rate from 2 to 5.

Signed-off-by: SuperQ <superq@gmail.com>
2026-02-10 17:27:02 +01:00
ffgan
90166d3ddb
Build riscv64 docker image by default (#17508)
* Allow building riscv64 docker  image

Co-authored by: nijincheng@iscas.ac.cn;

Signed-off-by: ffgan <sudoemt@gmail.com>

* Update Makefile

Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: ffgan <sudoemt@gmail.com>

---------

Signed-off-by: ffgan <sudoemt@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2026-02-10 12:41:44 +01:00
Bryan Boreham
7803b9f9d7
Merge pull request #17531 from bboreham/remove-relabel-process
[REFACTOR] Relabel: Remove unnecessary Process() function
2026-02-10 11:31:04 +00:00
George Krajcsovits
69f1bc9dad
Merge pull request #18040 from mohammadv184/patch-1
docs: fix typo in prometheus_agent.md doc
2026-02-10 12:17:48 +01:00
George Krajcsovits
246341b169
Merge pull request #18041 from matt-gp/aws-sd-msk-optimisations
AWS SD: Optimise MSK Role
2026-02-10 12:17:09 +01:00
Matt
e27bcdf03f
AWS SD: Load Region Fallback (#18019)
* AWS SD: Load Region Fallback

---------

Signed-off-by: matt-gp <small_minority@hotmail.com>
2026-02-10 12:02:24 +01:00
Julien
2f1a797d1a
Merge pull request #18047 from prometheus/superq/tag_push
Also run CI on release tags
2026-02-10 11:27:23 +01:00
dependabot[bot]
effa3c5c25
chore(deps): bump github.com/hashicorp/consul/api from 1.32.0 to 1.33.2 (#17449)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.32.0 to 1.33.2.
- [Release notes](https://github.com/hashicorp/consul/releases)
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.32.0...api/v1.33.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
  dependency-version: 1.33.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2026-02-10 08:24:26 +00:00
SuperQ
ac521337ba
Also run CI on release tags
Make sure we also run the main CI workflow `v*` release tags
so `publish_release` job is run.

Signed-off-by: SuperQ <superq@gmail.com>
2026-02-09 15:29:48 +01:00
Ian Kerins
4383499997
promtool: support missing promql syntax features (#17926)
Namely promql-duration-expr and promql-extended-range-selectors. This
allows promtool to e.g. check rules files using syntax gated by these
features.

Signed-off-by: Ian Kerins <git@isk.haus>
2026-02-09 07:26:37 +00:00
matt-gp
96a87a06ea
AWS SD: Optmise MSK Role
Signed-off-by: matt-gp <small_minority@hotmail.com>
2026-02-08 19:42:12 +00:00
matt-gp
5329355ffb
AWS SD: ECS Standalone Tasks
The current ECS role in AWS SD assumes that a task is part of a service.
This means that tasks that are started as part of AWS Batch will get
missed and not be discovered. This changed fixes this so that standalone
tasks can be discovered as well.

Signed-off-by: matt-gp <small_minority@hotmail.com>
2026-02-08 16:04:17 +00:00
Mohammad Abbasi
a19a5314a3
fix(docs): typo in prometheus_agent.md doc
Signed-off-by: Mohammad Abbasi <mohammad.v184@gmail.com>
2026-02-08 19:02:56 +03:30
Sasha
1dcdb07d30
promql: use Kahan summation for Native Histograms (#15687)
As for float samples, Kahan summation is used for the `sum` and `avg` aggregation and for the respective `_over_time` functions.

Kahan summation is not perfect. This commit also adds tests that even Kahan summation cannot reliably pass.
These tests are commented out.

Note that the behavior might be different on other hardware platforms. We have to keep an eye on test failing on other hardware platforms and adjust them accordingly.

Signed-off-by: Aleksandr Smirnov <5targazer@mail.ru>
2026-02-08 00:52:22 +01:00
Bryan Boreham
258fcbda6b [REFACTOR] Relabel: Remove unnecessary Process() function
All uses can be replaced by ProcessBuilder, which is more efficient.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2026-02-06 10:50:16 +00:00
Bartlomiej Plotka
3155c95c1f
feat: add fgprof debug pprof (wall-time profiling capability) (#18027)
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-02-06 10:23:54 +00:00
Bartlomiej Plotka
5e46e77754
refactor: use Appender mock for otlptranslator tests (#17999)
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-02-06 09:51:40 +00:00
Ganesh Vernekar
fe5cb190e6
tsdb: Add metrics for stale series compaction (#17957)
Signed-off-by: Ganesh Vernekar <ganesh.vernekar@reddit.com>
2026-02-06 09:05:56 +00:00
Julien
eaf47798af
promql: fix panic with @ modifier on empty ranges (#18020)
When using the @ modifier with a timestamp that has no data, several
PromQL range functions were panicking with "index out of range [0]
with length 0". This was introduced by #16797 which changed function
signatures to use concrete types instead of interfaces.

The panic occurred because functions were accessing array elements
(matrixVal[0], vectorVals[0][0]) without checking if the arrays were
empty first.

Fixes #18018

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-02-06 08:30:15 +00:00
Ganesh Vernekar
213bc8e538 UI: Move HistoryCompleteStrategy into its own file and fix lint
Signed-off-by: Ganesh Vernekar <ganesh.vernekar@reddit.com>
2026-02-05 14:48:47 -08:00
Ganesh Vernekar
e6b14eaf0b Fix critical npm vulnerabilities with npm audit fix
Signed-off-by: Ganesh Vernekar <ganesh.vernekar@reddit.com>
2026-02-05 14:22:40 -08:00
Ganesh Vernekar
7bbce150b4 Update npm dependencies for v3.10
Signed-off-by: Ganesh Vernekar <ganesh.vernekar@reddit.com>
2026-02-05 14:20:46 -08:00
zenador
4321a5573c
Use custom annotation for histogram quantile monotonicity info to provide more details (#15578)
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2026-02-05 18:35:48 +01:00
Bartlomiej Plotka
c8e7f4e2a6
tests: Unify TestDiskFillingUpAfterDisablingOOO and avoid hiding errors (#18017)
* tests: Unify TestDiskFillingUpAfterDisablingOOO and avoid hiding errors

Signed-off-by: bwplotka <bwplotka@gmail.com>

* addressed comments

Signed-off-by: bwplotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-02-05 16:11:35 +00:00
Julien
37058a3154
Merge pull request #17975 from roidelapluie/roidelapluie/openapistats
OpenAPI: Add support for stats
2026-02-05 10:55:44 +01:00
Matt
cf9d093f8f
prw2: Move Remote Write 2.0 CT to be per Sample; Rename to ST (start timestamp) (#17411) (#17600)
Relates to
https://github.com/prometheus/prometheus/issues/16944#issuecomment-3164760343

Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: matt-gp <small_minority@hotmail.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2026-02-05 10:40:45 +01:00
Eric Eastwood
f0f40b970d
Document special labels that affect scraping and targets (__address__, __scheme__, __metrics_path__, __scrape_interval__, __scrape_timeout__) (#17765)
Signed-off-by: Eric Eastwood <contact@ericeastwood.com>
2026-02-04 13:42:37 +01:00
Bryan Boreham
3c1ed25605
[DOCS] Merge pull request #17998 from bboreham/clarify-library
Explain more about using Prometheus as a Go library
2026-02-04 10:53:42 +00:00
Ben Kochie
8d491cc642
tsdb: Migrate multi-errors to errors package (#17768)
Modernize tsdb package by migrating multi-error handling
to the standard library errors package.
* Add a modernized CloseAll helper.

Signed-off-by: SuperQ <superq@gmail.com>
2026-02-04 10:41:57 +01:00
Ben Kochie
859abfb35d
Reduce CI duplication (#18008)
Only run CI on pushes to main and release branches. Avoids duplicate
runs between pull_request and push.

Signed-off-by: SuperQ <superq@gmail.com>
2026-02-04 10:40:56 +01:00
Bartlomiej Plotka
7769495a4a
refactor: switch OTLP handler to AppendableV2 (#17996)
* refactor: switch OTLP handler to AppendableV2

Signed-off-by: bwplotka <bwplotka@gmail.com>

* addressed comments

Signed-off-by: bwplotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-02-03 16:44:40 +00:00
Arve Knudsen
3c44ca757d
storage: fix ToError() to return nil for empty partial errors (#18002)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2026-02-03 16:58:02 +01:00
Julius Volz
dbfc635a5a
Merge pull request #17611 from prometheus/default-hide-alert-annotations
Hide alert annotations by default
2026-02-03 15:23:11 +01:00
Arve Knudsen
51d33be878
web: switch from gopkg.in/yaml to go.yaml.in/yaml (#17979)
Replace gopkg.in/yaml.v2 and gopkg.in/yaml.v3 imports with
go.yaml.in/yaml/v2 and go.yaml.in/yaml/v3 respectively.

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2026-02-03 14:15:35 +00:00
zenador
c0ad853750
promql: Make it possible to add custom details in annotations and summarise multiple of the same annotation (#15577)
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
Signed-off-by: zenador <zenador@users.noreply.github.com>
Co-authored-by: Björn Rabenstein <github@rabenste.in>
2026-02-03 15:12:02 +01:00
Bryan Boreham
02c68154bc
Merge pull request #17548 from linasm/improve-BenchmarkJoinQuery
PromQL: Improve BenchmarkJoinQuery
2026-02-03 11:53:08 +00:00
Bryan Boreham
e75c893305
Merge pull request #17986 from mdxabu/improve-test-error-handling
tests: improve error handling and helper attribution in main_test.go
2026-02-03 11:15:04 +00:00
Bryan Boreham
1d5486caaa Explain more about using Prometheus as a Go library
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2026-02-03 09:09:52 +00:00