Arthur Silva Sens
ca1f30bb6e
Promote Agent mode to it's own cmdline flag
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
3 months ago
Jan Fajerski
befcfadf78
Fix merge conflicts
...
Fix call to newTestEngine(t) in promql/engine_test.go:3214.
`agent` feature-flag it's own cmdline flag now.
Remove `scrape.name-escaping-scheme` argument.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
3 months ago
Jan Fajerski
fe4289b502
Merge branch 'main' into HEAD
3 months ago
Julius Volz
d36e049d79
Fix lint errors by removing unused imports and vars
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
7103b35568
Add "Show exemplars" button (doesn't do anything yet)
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
88519152e5
Minor cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
c0ba4ee2bb
Add beginnings of a PromLens-style tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
e5e212dad2
Remove wrong query key for format_query
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
fef4c15283
Remove commented-out line
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
a99c01b53f
Implement query history
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
f3f324be89
Don't update pathPrefix in settings on every App render
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Bryan Boreham
485523eed2
Merge pull request #14816 from bboreham/improve-promql-tracing
...
Improve promql tracing
3 months ago
Arve Knudsen
6ef1eb4e68
Merge pull request #14064 from aknuds1/arve/close-engine
...
Release PromQL engine resources on close, from tests
3 months ago
Joshua Hesketh
f2064c7987
NH: Do not re-use spans between histograms ( #14771 )
...
promql, tsdb (histograms): Do not re-use spans between histograms
When multiple points exist with the same native histogram schemas they
share their spans.
This causes a problem when a native histogram (NH) schema is modified (for example, during
a Sum) then the other NH's with the same spans are also modified. As such,
we should create a new Span for each NH. This will ensure NH's interfaces
are safe to use without considering the effect on other histograms.
At the moment this doesn't present itself as a problem because in all
aggregations and functions operating on native histograms they are copied
by the promql query engine first.
Signed-off-by: Joshua Hesketh <josh@nitrotech.org>
---------
Signed-off-by: Joshua Hesketh <josh@nitrotech.org>
3 months ago
Charles Korn
4da551578c
Fix test broken by inclusion of `counter_reset_hint`
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
3 months ago
Charles Korn
113de6301c
Add failing test cases for unary negation and multiplication and division with negative scalars
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
3 months ago
Charles Korn
9b451abec7
Make positive and negative bucket counts different in existing test cases
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
3 months ago
Charles Korn
90dc1b45db
promqltest: use test expression format for histograms in assertion failure messages
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
3 months ago
Charles Korn
e67358d203
histogram: include counter reset hint in test expression output
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
3 months ago
beorn7
2304be9dd5
promql: Improve the rate extrapolation explanation
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 months ago
George Krajcsovits
282fb1632a
Merge pull request #14772 from krajorama/fix-mockseriesiterator
...
Fix: chunkenc.MockSeriesIterator
3 months ago
Julius Volz
d0ccbd2eb5
Top-align all targets page table cell contents, other styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
eb175c88f6
Correctly pass custom title into ResettingErrorBoundary
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
857e59c8b6
Improve EndpointLink styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
5599db20cd
Change use{Suspense}APIQuery key to an array
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
9e4ffd044c
Implement Alertmanagers discovery page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Bryan Boreham
abb0502685
[ENHANCEMENT] PromQL: Add detail to tracing spans
...
For aggregates, operators, calls, show what operation is performed.
Also add an event when series are expanded, typically time spent
accessing TSDB.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 months ago
Bryan Boreham
54989ce6fd
PromQL: add short string method
...
To be used in tracing or logging.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 months ago
Bryan Boreham
8742077498
[BUGFIX] PromQL: pass Context so spans parent correctly
...
Assigning to `evaluator.ctx` in `eval()` broke the parent-child relationship.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 months ago
Björn Rabenstein
4ffb74dae4
Merge pull request #14810 from bboreham/fix-proto-parse-exemplar
...
[BUGFIX] Protobuf scraping: reset exemplar position
3 months ago
Julien
18cafabeb0
Merge pull request #14779 from prometheus/dependabot/github_actions/actions/setup-node-4.0.3
...
Bump actions/setup-node from 4.0.2 to 4.0.3
3 months ago
Julien
deabb30b20
Document custom HTTP headers and add tests
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
3 months ago
dependabot[bot]
4c9fca8719
Bump google.golang.org/grpc from 1.65.0 to 1.66.0
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.65.0 to 1.66.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.65.0...v1.66.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
Julien
5397657e1a
Merge pull request #14790 from prometheus/dependabot/go_modules/github.com/envoyproxy/protoc-gen-validate-1.1.0
...
Bump github.com/envoyproxy/protoc-gen-validate from 1.0.4 to 1.1.0
3 months ago
Julien
272118c38c
Merge pull request #14789 from prometheus/dependabot/go_modules/github.com/ionos-cloud/sdk-go/v6-6.2.1
...
Bump github.com/ionos-cloud/sdk-go/v6 from 6.2.0 to 6.2.1
3 months ago
Julien
3b291c9411
Merge pull request #14799 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.20.2
...
Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.2
3 months ago
Julien
e86729a0f0
Merge pull request #14800 from prometheus/dependabot/go_modules/golang.org/x/oauth2-0.22.0
...
Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0
3 months ago
dependabot[bot]
0e376d1d6b
Bump github.com/influxdata/influxdb
...
Bumps [github.com/influxdata/influxdb](https://github.com/influxdata/influxdb ) from 1.11.5 to 1.11.6.
- [Release notes](https://github.com/influxdata/influxdb/releases )
- [Commits](https://github.com/influxdata/influxdb/compare/v1.11.5...v1.11.6 )
---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
Julien
76775d58f8
Merge pull request #14784 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/common-0.57.0
...
Bump github.com/prometheus/common from 0.55.0 to 0.57.0 in /documentation/examples/remote_storage
3 months ago
dependabot[bot]
e896643403
Bump actions/setup-node from 4.0.2 to 4.0.3
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](60edb5dd54...1e60f620b9
)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
Julien
f3968ca60e
Merge pull request #14776 from prometheus/dependabot/github_actions/github/codeql-action-3.26.6
...
Bump github/codeql-action from 3.25.15 to 3.26.6
3 months ago
Julien
e3f356a53f
Merge pull request #14777 from prometheus/dependabot/github_actions/prometheus/promci-0.3.0
...
Bump prometheus/promci from 0.1.0 to 0.3.0
3 months ago
Julien
a4f30a687c
Merge pull request #14778 from prometheus/dependabot/github_actions/bufbuild/buf-setup-action-1.39.0
...
Bump bufbuild/buf-setup-action from 1.35.1 to 1.39.0
3 months ago
Julien
1f02c2177b
Use t.Tempdir
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
3 months ago
Julien
2c553b1772
autoreload: do not ignore errors
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
3 months ago
Julien
cfe8b5616f
Only update hash when config reload succeeds
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
3 months ago
Arve Knudsen
70bb219d33
Merge pull request #14680 from charleskorn/promqltest-scalar
...
promqltest: improve error messages when unexpected type is returned, and fix inverted expected and actual values in error message
3 months ago
Julien
93f27409cd
Merge pull request #14660 from roidelapluie/customheaders
...
Add documentation for custom headers.
3 months ago
Bartlomiej Plotka
f1d3c3f464
fix: Properly put OM text p.CreatedTimestamp behind feature flag ( #14809 ) ( #14815 )
...
Mitigates https://github.com/prometheus/prometheus/issues/14808
Signed-off-by: Manik Rana <manikrana54@gmail.com>
Co-authored-by: Manik Rana <Manikrana54@gmail.com>
3 months ago
Arthur Silva Sens
442f24e099
chore: Simplify TestHeadAppender_AppendCTZeroSample ( #14812 )
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
3 months ago