bwplotka
aad05e3889
tsdb/record: add test for clear() on histograms
2026-03-09 16:16:00 +00:00
bwplotka
0d6e760591
lint fix
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-03-06 15:00:08 +00:00
bwplotka
a4a1bf4817
fmt
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-03-06 14:49:26 +00:00
bwplotka
b15e12957d
optimization(tsdb/wlog): reuse array for filtering
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-03-06 14:41:15 +00:00
bwplotka
78dd0681b4
optimization(tsdb/wlog): avoid expensive error wraps
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-03-06 14:41:15 +00:00
bwplotka
d308357d22
optimization(tsdb/wlog): reuse Ref* buffers across WAL watchers' reads
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-03-06 14:41:00 +00:00
Julien
7cb405bad4
Merge pull request #18246 from roidelapluie/roidelapluie/prombench-statuses-permission
...
ci: add statuses write permission to prombench workflow
2026-03-06 15:15:36 +01:00
Julien Pivotto
f04b52773e
ci: add statuses write permission to prombench workflow
...
The workflow posts commit status updates via the GitHub API, but
the GITHUB_TOKEN only had 'contents: read', causing HTTP 403 on
all statuses API calls.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-03-06 12:55:12 +01:00
Julien
6a9589daf9
Merge pull request #18245 from charleskorn/charleskorn/lookback-delta-docs
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
docs: clarify that `lookback_delta` query parameter takes either a duration or number of seconds
2026-03-06 11:55:36 +01:00
Julien
3b44b8b463
Merge pull request #18229 from roidelapluie/roidelapluie/ombug
...
textparse: fix parseLVals to only treat quoted strings as metric names
2026-03-06 10:06:12 +01:00
Charles Korn
24bc6d27ac
docs: clarify that lookback_delta query parameter takes either a duration or number of seconds
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2026-03-06 19:07:33 +11:00
Julius Volz
cddac4d3df
Merge pull request #18134 from prometheus/deps-update/mantine-ui
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
chore(deps): update mantine ui to v8.3.16
2026-03-05 17:46:15 +00:00
renovate[bot]
6b8fc582d1
chore(deps): update mantine ui to v8.3.16
2026-03-05 14:46:53 +00:00
Julien Pivotto
ad2f81ef6d
textparse: fix parseLVals to only treat quoted strings as metric names
...
When a label-name position is followed by comma or brace-close, only
treat it as a metric name shorthand if the token was a double-quoted
string (tQString). Bare identifiers must be followed by an equal sign.
Add tests for bare identifier inputs that previously could panic.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-03-05 15:07:42 +01:00
Bartlomiej Plotka
9dc782bf2c
Merge pull request #18220 from prometheus/extended-test
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
tests(tsdb/wlog): Tighten watcher tail tests
2026-03-05 11:31:04 +01:00
Bartlomiej Plotka
4e3efec434
Apply suggestions from code review
...
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2026-03-05 09:31:31 +00:00
Bartlomiej Plotka
d448f3f970
Merge pull request #18218 from prometheus/utilrecord
...
tests(util/testwal): Move WAL record generation to separate package for reuse
2026-03-05 10:07:57 +01:00
Julius Volz
53f8072553
Merge pull request #18230 from prometheus/fix/uplot-stacked-series-hover-perf
...
UI: Skip recomputing stacked chart data on hover
2026-03-05 08:38:43 +00:00
Julius Volz
2df86b24ad
UI: Skip restacking on hover in stacked series charts
...
See https://github.com/leeoniya/uPlot/issues/988
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2026-03-04 21:53:11 +01:00
Julius Volz
ac12e30f99
Merge pull request #18227 from prometheus/fix-name-md-formatting
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Docs: Fix Markdown formatting for `__name__` label mention
2026-03-04 18:59:16 +00:00
Julius Volz
c023dec14b
Docs: Fix Markdown formatting for __name__ label mention
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2026-03-04 14:22:14 +01:00
Matt
5a02b92c0e
AWS SD: RDS Role ( #18206 )
2026-03-04 12:17:38 +01:00
Frederic Branczyk
b9ce7f3be0
Merge pull request #18192 from rexagod/17193
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
discovery/k8s: Dedup EPS for `*DualStack` policies
2026-03-04 11:46:44 +01:00
Frederic Branczyk
44699107d2
Merge pull request #17774 from rexagod/16747
...
discovery/kubernetes: Support linked pod controllers
2026-03-04 11:07:14 +01:00
Julius Volz
6a9866e689
Merge pull request #18223 from jan--f/ui-build-switch
...
build: add option to choose which UI to build
2026-03-04 09:33:58 +00:00
Jan Fajerski
b7435e675c
build: add option to build with only the mantine UI
...
This adds the `--mantine-ui` switch to `web/ui/build_ui.sh` which
allows to build without the old react UI. If built with only the mantine
ui and started with `--enable-features=old-ui` the user will get a 404
response on th web port.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2026-03-04 08:55:37 +01:00
Matthieu MOREL
45b9329e68
chore: fix emptyStringTest issues from gocritic ( #18226 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-03-04 08:24:50 +01:00
Ayoub Mrini
5c1af24733
Merge pull request #17356 from machine424/gg
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
chore(test): make failures in TestRemoteWrite_PerQueueMetricsAfterRelabeling more explicit/rich to help with debugging the test when it flakes for GOARCH=386
2026-03-03 20:25:13 +01:00
Kyle Eckhart
897ba10d11
remote write: fix sent_batch_duration_seconds measuring before the request is sent ( #18214 )
...
* remote write: fix sent_batch_duration_seconds measuring before the request was sent
Signed-off-by: Kyle Eckhart <kgeckhart@users.noreply.github.com>
2026-03-03 10:57:55 -08:00
bwplotka
3678ff9042
tests(tsdb/wlog): Tighten watcher tail tests
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-03-03 13:06:16 +00:00
Pranshu Srivastava
9d2ed113c8
fixup! fixup! fixup! discovery/kubernetes: Support linked pod controllers
...
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2026-03-03 18:34:03 +05:30
Pranshu Srivastava
ebacf4a084
fixup! fixup! discovery/kubernetes: Support linked pod controllers
...
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2026-03-03 18:30:52 +05:30
Pranshu Srivastava
f21785f5a9
fixup! discovery/kubernetes: Support linked pod controllers
...
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2026-03-03 18:30:52 +05:30
Pranshu Srivastava
228b94f6eb
discovery/kubernetes: Support linked pod controllers
...
Extended Kubernetes SD to support the following pod-based labels:
* `__meta_kubernetes_pod_deployment_name`
* `__meta_kubernetes_pod_cronjob_name`
* `__meta_kubernetes_pod_job_name`
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2026-03-03 18:30:48 +05:30
Ayoub Mrini
f5fe1573ba
Merge pull request #18219 from machine424/ttyyy
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
fix: fail early when --enable-feature=use-uncached-io is unsupported
2026-03-03 13:33:56 +01:00
Pranshu Srivastava
2684af0ca8
fixup! discovery/k8s: Dedup EPS for *DualStack policies
...
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2026-03-03 18:03:37 +05:30
George Krajcsovits
318980a5c2
Merge pull request #17207 from thomas-gouveia/feat/16634/add-support-for-workload-identity-azure-discovery
...
feat: add support for Azure Workload Identity authentication method for Azure discovery [#16634 ]
2026-03-03 12:59:58 +01:00
George Krajcsovits
feb741e470
Merge pull request #18215 from mmorel-35/gocritic
...
chore: fix httpNoBody issues from gocritic
2026-03-03 12:50:19 +01:00
Hank (Yong-Han) Chen
264be9aa74
fix(discovery/file): Fix flaky test on Windows by replacing os.rename with os.WriteFile ( #17269 )
...
Signed-off-by: Yong-Han Chen <hank96015@gmail.com>
2026-03-03 12:43:50 +01:00
Julien
e53dc342d0
Merge pull request #18204 from roidelapluie/roidelapluie/bugfssize
...
util/runtime: cast Blocks to uint64 to fix type mismatch on different architectures
2026-03-03 12:18:05 +01:00
machine424
dfea5ef01a
chore(test): make failures in TestRemoteWrite_PerQueueMetricsAfterRelabeling
...
more explicit to help with debugging the test when it flakes for GOARCH=386
tried to make it fail in the CI running the following, in vain:
GOARCH=386 go test --timeout 4444444s --count=1000 --run=TestRemoteWrite_PerQueueMetricsAfterRelabeling ./cmd/prometheus/
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2026-03-03 11:54:40 +01:00
machine424
6b4d8fa91e
fix: fail early when --enable-feature=use-uncached-io is unsupported
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2026-03-03 11:44:56 +01:00
bwplotka
596830ee72
tests(util/testwal): Move WAL record generation to separate package for reuse
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
tmp
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-03-03 10:06:21 +00:00
Matthieu MOREL
026d284c43
chore: fix httpNoBody issues from gocritic
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-03-02 20:06:30 +01:00
Frederic Branczyk
1751685dd4
Merge pull request #18194 from rexagod/11726
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
discovery: Introduce `prometheus_sd_last_update_timestamp_seconds`
2026-03-02 17:00:42 +01:00
Andrew Hall
3bda9a3396
promql: allow timestamp() to be wrapped as a step invariant depending on arguments ( #17313 )
...
Some timestamp functions can be safely wrapped as a step invariant.
Then once we do that we never need to check or unwrap at evaluation time.
For instance; `timestamp(metric @ 1)` is step invariant, whereas
`timestamp(abs(metric @ 1))` is not.
Currently all `timestamp` `*parser.Call` are excluded from being
considered step invariant since it is listed in the
`AtModifierUnsafeFunctions` map.
This PR adds an extra check for timestamp functions which consider
the arguments, and if the argument is a simple VectorSelector then
the entire `*parser.Call` can be safely wrapped as a step invariant.
Signed-off-by: Andrew Hall <andrew.hall@grafana.com>
Co-authored-by: Bryan Boreham <bjboreham@gmail.com>
2026-03-02 12:01:14 +00:00
Julien
4ea532b53c
Merge pull request #18203 from roidelapluie/roidelapluie/ftypo
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
chore(main): Fix typo SuqueryInterval to SubqueryInterval
2026-03-02 10:21:27 +01:00
Frederic Branczyk
bf139a370c
Merge pull request #18006 from rexagod/13525
...
discovery/kubernetes: Support node role selectors for pod roles
2026-03-02 10:03:26 +01:00
Bartlomiej Plotka
3b1d65816f
Merge pull request #18202 from prometheus/bwplotka-maintainer
...
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Compliance testing (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
Move bwplotka to general maintainer
2026-02-27 15:17:45 +00:00
Julien Pivotto
8b4318ad34
util/runtime: cast Blocks to uint64 to fix type mismatch on different architectures
...
On some GOOS (e.g. dragonfly), statfs.Blocks is int64, which can
cause a type mismatch when multiplied with Bsize. Cast both operands to
uint64 explicitly.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-02-27 15:49:17 +01:00