Ganesh Vernekar
0c0c2af7f5
Do not re-encode head chunk in ChunkQuerier
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2023-03-15 17:58:01 +05:30
Björn Rabenstein
847093479b
Merge pull request #11978 from trevorwhitney/set-counter-hint
...
Set `CounterResetHint` and use in recording rules
2023-03-14 21:52:41 +01:00
Trevor Whitney
e3513d1dd2
Change nested ifs to a switch
...
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
2023-03-14 14:22:20 -06:00
Trevor Whitney
b4e324f637
Handle valid cases of mismatched hints when adding
...
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
2023-03-14 14:22:14 -06:00
Trevor Whitney
c3e0a83725
rules: no longer force CounterResetHint to Gauge
...
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
2023-03-14 14:22:07 -06:00
Trevor Whitney
dd94ebb87b
promql: set CounterResetHint after rate and sum
...
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
2023-03-14 14:21:59 -06:00
Julien Pivotto
4b4939fa37
Merge pull request #12116 from bboreham/bryan-shepherd
...
Propose Bryan Boreham as 2.44 release shepherd
2023-03-14 15:01:53 +01:00
Julien Pivotto
ba235ee353
Merge pull request #12124 from pbudner/advertise-valid-remote-write-flag
...
Advertise correct flag to enable remote write receiver
2023-03-14 14:40:35 +01:00
Julien Pivotto
bec68558ba
Merge pull request #12125 from roidelapluie/promtooldoc
...
Command Line Documentation
2023-03-14 10:59:33 +01:00
Julien Pivotto
1922db0586
Document command line tools
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-13 14:20:55 +01:00
Ganesh Vernekar
1b8dfd8b83
Merge pull request #453 from grafana/codesome/sync-prom
...
Sync with upstream Prometheus
2023-03-13 13:15:16 +05:30
Ganesh Vernekar
7e74f73733
Merge remote-tracking branch 'upstream/main' into sync-prom
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2023-03-13 12:38:59 +05:30
Ganesh Vernekar
6c008ec56a
Merge pull request #11962 from jesusvazquez/jvp/protect-new-compaction-head-from-uninitialized-wbl
...
TSDB: Protect NewOOOCompactionHead from an uninitialized wbl
2023-03-13 10:52:03 +05:30
Julien Pivotto
865f474c2b
Merge pull request #12122 from arukiidou/chore/prometheus-example-bump
...
build(deps): bump prometheus/prometheus from 0.37.0 to 0.42.0 in examples
2023-03-12 22:28:52 +01:00
Bartlomiej Plotka
742979a3e5
Merge pull request #10704 from hdost/feat/167-prometheus-docs
...
docs: Add signal information to getting started
2023-03-12 13:02:54 +01:00
Harold Dost
3125e169ae
docs: Add signal information to getting started
...
Closes prometheus/docs#167
Signed-off-by: Harold Dost <h.dost@criteo.com>
2023-03-12 00:31:04 +01:00
pbudner
46683eadf7
fix: advertise correct flag to enable remote write receiver
...
Signed-off-by: pbudner <mail@pascalbudner.de>
2023-03-11 13:50:52 +01:00
junya koyama
bde3a04228
build(deps): bump github.com/prometheus/prometheus from 0.37.0 to 0.42.0 in /documentation/examples/remote_storage
...
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
2023-03-11 17:15:43 +09:00
Justin Lei
60ad864667
Remove hacky promql.Test native histogram thing
...
Signed-off-by: Justin Lei <justin.lei@grafana.com>
2023-03-09 11:05:53 -08:00
Justin Lei
c16b6a0185
Handle native histograms in remote read
...
Signed-off-by: Justin Lei <justin.lei@grafana.com>
2023-03-09 09:13:53 -08:00
Julien Pivotto
001ee2620e
Merge pull request #12114 from roidelapluie/new-release
...
Release 2.43.0-rc.0
2023-03-09 16:07:30 +01:00
Marco Pracucci
024edcdda3
Merge pull request #450 from grafana/yuri/fix-failing-build
...
Necessary changes to make merge work
2023-03-09 15:53:55 +01:00
Julien Pivotto
031fc2dfb5
Address feedback
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-09 15:05:18 +01:00
Bryan Boreham
4c640677f7
Propose Bryan Boreham as 2.44 release shepherd
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-03-09 14:02:01 +00:00
SuperQ
504a16d135
Update Go version
...
Update build/test to use Go 1.20.
Signed-off-by: SuperQ <superq@gmail.com>
2023-03-09 14:41:24 +01:00
Yuri Nikolic
e75ad3db53
Necessary changes to make merge work
2023-03-09 14:38:06 +01:00
Julien Pivotto
b6d91e8bf8
Release 2.43.0-rc.0
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-09 14:30:02 +01:00
Julien Pivotto
5583c77b3a
Merge pull request #12095 from damnever/unnecessary-sort
...
Remove unnecessary sort
2023-03-09 13:12:02 +01:00
Bryan Boreham
b96b89ef8b
Merge pull request #12048 from bboreham/faster-targets
...
Scraping targets are synced by creating the full set, then adding/removing any which have changed.
This PR speeds up the process of creating the full set.
I added a benchmark for `TargetsFromGroup`; it uses configuration from a typical Kubernetes SD.
The crux of the change is to do relabeling inside labels.Builder instead of converting to labels.Labels and back again for every rule. The change is broken into several commits for easier review.
This is a breaking change to `scrape.PopulateLabels()`, but `relabel.Process` is left as-is, with a new `relabel.ProcessBuilder` option.
2023-03-09 11:10:01 +00:00
Bryan Boreham
d21229b27a
Merge pull request #12101 from bboreham/disable-slow-promql-tests
...
promql: disable some slow cases in TestConcurrentRangeQueries
2023-03-09 11:08:12 +00:00
Arve Knudsen
bc9a82f5a1
remote: Improve some comments ( #12102 )
...
Improve some comments in storage/remote/queue_manager.go, wrt. general
language and a typo.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2023-03-09 11:05:24 +00:00
Marco Pracucci
fa57574183
Merge pull request #449 from grafana/yuri/merge-upstream
...
Merging remotes/prometheus/main into origin/main
2023-03-09 11:17:40 +01:00
Marco Pracucci
242e82b8e6
Optimize regex star operation ( #448 )
...
* Optimize .* regex matcher
Signed-off-by: Marco Pracucci <marco@pracucci.com>
* Consistent benchmark runs for BenchmarkFastRegexMatcher
Signed-off-by: Marco Pracucci <marco@pracucci.com>
* Fixed TestParseExpressions
Signed-off-by: Marco Pracucci <marco@pracucci.com>
---------
Signed-off-by: Marco Pracucci <marco@pracucci.com>
2023-03-09 09:38:41 +01:00
Julien Pivotto
479fde5bf1
Merge pull request #12106 from roidelapluie/deps243
...
Update go dependencies
2023-03-09 08:00:50 +01:00
Julien Pivotto
5f3a02f1e2
Update go dependencies
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-08 23:57:43 +01:00
Arve Knudsen
435b500de7
remote: Convert to RecoverableError using errors.As ( #12103 )
...
In storage/remote, try converting to RecoverableError using errors.As,
instead of through direct casting.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2023-03-08 13:58:09 -07:00
Julien Pivotto
9afbb23d4a
Merge pull request #12100 from prometheus/bump-otel-1-14
...
Bump Otel and dependencies from 1.11.2 to 1.14.0
2023-03-08 20:59:14 +01:00
Julien Pivotto
f2e3c9f98c
Merge pull request #12098 from roidelapluie/update-our-deps
...
Update our own dependencies, support proxy from env
2023-03-08 20:58:36 +01:00
Yuri Nikolic
0eb15fce6d
Merge remotes/prometheus/main into origin/main
2023-03-08 18:25:45 +01:00
Yuri Nikolic
752416d0d8
Fixing conflicts with commit 58d3f148bf
2023-03-08 17:39:31 +01:00
Yuri Nikolic
c7d730f549
Fixing conflicts with commit c9b85afd93
2023-03-08 17:27:44 +01:00
Yuri Nikolic
88d9726b20
Fixing conflicts with commit 666f61a4d5
2023-03-08 16:54:40 +01:00
Yuri Nikolic
d1cce20369
Fixing conflicts with commit 66da1d51fd
2023-03-08 16:52:14 +01:00
Yuri Nikolic
13c2945af0
Fixing conflicts with commit 86d3d5fec6
2023-03-08 16:48:58 +01:00
Julien Pivotto
1fd59791e1
Update tests
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-08 16:32:39 +01:00
Bryan Boreham
be4a9c25f0
promql: disable some slow cases in TestConcurrentRangeQueries
...
TestConcurrentRangeQueries runs many queries, up to 4 at the same time,
to try to expose any race conditions.
This change stops four of them from running with a thousand or more steps:
`holt_winters(a_X[1d], 0.3, 0.3)`
`changes(a_X[1d])`
`rate(a_X[1d])`
`absent_over_time(a_X[1d])`
Particularly when the test runs with `-race` in CI, this reduces the
time and resources required.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-03-08 14:28:30 +00:00
Charles Korn
3db98d7dde
Avoid unnecessary allocations in recording rule evaluation ( #11812 )
...
Re-use the Builder each time round the loop.
2023-03-08 12:57:19 +00:00
Bryan Boreham
57d8037f2c
Bump Otel and dependencies from 1.11.2 to 1.14.0
...
Direct imports:
go.opentelemetry.io/otel v1.14.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.14.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.14.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.14.0
go.opentelemetry.io/otel/sdk v1.14.0
go.opentelemetry.io/otel/trace v1.14.0
These seem to correspond:
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.39.0
Other direct dependencies required to update by Otel:
github.com/stretchr/testify v1.8.2
google.golang.org/grpc v1.53.0
Indirect dependencies required to update by Otel:
cloud.google.com/go/compute v1.15.1
github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.14.0
go.opentelemetry.io/otel/metric v0.36.0
Also the import of go.opentelemetry.io/otel/semconv had to be updated
to v1.17.0 to match 60f7d42d1e/sdk/resource/process.go (L25)
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-03-08 11:35:14 +00:00
Julien Pivotto
0c56e5d014
Update our own dependencies, support proxy from env
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-08 12:00:17 +01:00
Julien Pivotto
80cf90b080
Merge pull request #12097 from roidelapluie/shepherd
...
Add roidelapluie as 2.43 Release Shepherd
2023-03-08 11:55:17 +01:00