Commit graph

11276 commits

Author SHA1 Message Date
Julien 88e24a546f
Merge pull request #14309 from roidelapluie/rel2456
Release 2.45.6
2024-06-21 15:46:06 +02:00
Julien Pivotto 9bc0e4af7d Release 2.45.6
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-06-21 15:40:00 +02:00
Julien Pivotto 327b4cb99f Address GO-2024-2687
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-06-18 14:12:50 +02:00
Julien 2b052add78
Merge pull request #14005 from roidelapluie/rel2455
Release 2.45.5
2024-05-02 10:51:25 +02:00
Julien Pivotto c1fd44977e Release 2.45.5
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-04-30 16:33:15 +02:00
machine424 57cff51d93 Remote write: Avoid a race condition when applying configuration #13135
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-04-30 16:33:15 +02:00
Robert Fratto a344a91f67 tsdb/agent: ensure that new series get written to WAL on rollback #12592
If a new series is introduced in a storage.Appender instance, that
series should be written to the WAL once the storage.Appender is closed,
even on Rollback.

Previously, new series would only be written to the WAL when calling
Commit. However, because the series is stored in memory regardless,
subsequent calls to Commit may write samples to the WAL which reference
a series ID which that was never written.

Related to #11589. It's likely that this fix also resolves this issue,
but we need more testing from users to see if the problem persists after
this fix; there may be more cases where samples get written to the WAL
in Prometheus Agent mode without the corresponding series record.

Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2024-04-30 16:33:15 +02:00
Julien Pivotto 2cbe4507a8 Update dependencies
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-04-30 16:33:15 +02:00
Julien dff3344502
Merge pull request #13779 from roidelapluie/preprelease2454
release 2.45.4
2024-03-18 11:20:09 +01:00
Julien Pivotto 874b8716ce Release 2.45.4
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-03-15 14:48:09 +01:00
Julien Pivotto 47a61a126e Chunked remote read: close the querier earlier
I have seen prometheis instances misebehaving because of broken chinked remote
read requests.

In order to avoid OOM's when this happens, I propose to close the
queries used by the streamed remote read requests earlier.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-03-15 14:45:21 +01:00
Julien Pivotto a90afda144
Merge pull request #13450 from roidelapluie/lts2453
Release 2.45.3
2024-01-24 15:27:18 +01:00
Julien Pivotto abf444863b Release 2.45.3
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-01-24 13:30:59 +01:00
Julien Pivotto 35cb3c79d3 Update resty to address GO-2023-2328
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2024-01-23 14:31:13 +01:00
machine424 07b09d8048 head.go: Remove an unneeded snapshot trigger that was moved in https://github.com/prometheus/prometheus/pull/9328
and brougt back by mistake in 095f572d4a as part of https://github.com/prometheus/prometheus/pull/11447

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-01-23 14:25:54 +01:00
Julien Pivotto 3d6b7e6659
Merge pull request #13307 from roidelapluie/lts2452
Release 2.45.2 LTS
2023-12-19 15:05:30 +01:00
Julien Pivotto 4bd226e384 Release Prometheus 2.45.2 LTS
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-12-19 14:19:24 +01:00
Dimitar Dimitrov d1da59f7ab PostingsForMatchers race with appends #12558
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
2023-12-18 12:10:33 +01:00
Julien Pivotto c62de5d107
Merge pull request #12645 from roidelapluie/rel2451
Release 2.45.1
2023-09-29 23:08:05 +02:00
Julien Pivotto 7dfebdf048 Release 2.45.1
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-09-29 19:00:55 +02:00
Daniel Swarbrick ecaa6be77a Linode SD: cast InstanceSpec values to int64 to avoid overflows #12568
InstanceSpec struct members are untyped integers, so they can overflow
on 32-bit arch when bit-shifted left.

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2023-08-03 10:10:33 +02:00
songjiayang 5c80893d79 make sure response error when TOC parse failed #10623
Signed-off-by: songjiayang <songjiayang1@gmail.com>
2023-08-03 10:10:00 +02:00
Julien Pivotto a17d90952d
Merge pull request #12619 from roidelapluie/ltshetzner
Hetzner SD: Support larger ID's that will be used by Hetzner in September
2023-07-31 11:56:50 +02:00
Julien Pivotto 65943b8c40 Hetzner SD: Support larger ID's that will be used by Hetzner in September.
Port of #12569 for LTS

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-07-31 11:08:50 +02:00
Julien Pivotto 887a77873d
Merge pull request #12610 from roidelapluie/release245-nolatest
Do not publish latest docker image for LTS
2023-07-28 13:08:11 +02:00
Julien Pivotto 8d803c858b Do not publish latest docker image for LTS
This is a LTS version, so it will get releases for a year.

However, we do not want to push :latest for the LTS, so we skip them in
this release branch.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-07-28 11:50:36 +02:00
Jesus Vazquez 8ef767e396
Release 2.45.0 (#12486)
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
2023-06-23 17:01:52 +02:00
Jesus Vazquez be0b82cf2f
Fix PR typo in 2.45.0-rc.1 CHANGELOG (#12479)
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
2023-06-20 20:20:01 +00:00
Jesus Vazquez c858049744
Create 2.45.0-rc.1 (#12478)
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
2023-06-20 15:13:02 +00:00
Julien Pivotto d5fb601d6a
Merge pull request #12476 from roidelapluie/rev12363
Revert "Improving Performance on the API Gzip Handler (#12363)"
2023-06-20 15:37:10 +02:00
Julien Pivotto d19fa62476 Revert "Improving Performance on the API Gzip Handler (#12363)"
This reverts commit dfae954dc1.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-06-20 13:39:32 +02:00
Julien Pivotto 652fb03081
Merge pull request #12412 from roidelapluie/inlinetls
Add support for inline TLS certificates
2023-06-17 10:16:32 +02:00
Julien Pivotto 0de855508c Add support for inline TLS certificates
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-06-17 10:16:10 +02:00
Jesus Vazquez edfc97a77e
Bump UI version (#12440)
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
2023-06-07 16:00:15 +02:00
Jesus Vazquez bfa466d00f
Create release candidate 2.45.0-rc.0 (#12435)
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
2023-06-07 12:29:04 +02:00
rakshith210 b1675e23af
Add Azure AD package for remote write (#11944)
* Add Azure AD package for remote write
* Made AzurePublic default and updated configuration.md
* Updated config structure and removed getToken at initialization
* Changed passing context from request

Signed-off-by: Rakshith Padmanabha <rapadman@microsoft.com>
Signed-off-by: rakshith210 <rakshith.me@gmail.com>
2023-06-01 15:20:10 -06:00
Nidhey Nitin Indurkar a8772a4178
Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031)
* feat: analyze latest block or block by ID in CLI (promtool)

Signed-off-by: nidhey27 <nidhey.indurkar@infracloud.io>

* address remarks

Signed-off-by: nidhey60@gmail.com <nidhey.indurkar@infracloud.io>

* address latest review comments

Signed-off-by: nidhey60@gmail.com <nidhey.indurkar@infracloud.io>

---------

Signed-off-by: nidhey27 <nidhey.indurkar@infracloud.io>
Signed-off-by: nidhey60@gmail.com <nidhey.indurkar@infracloud.io>
2023-06-01 17:13:09 +05:30
Alan Protasio dfae954dc1
Improving Performance on the API Gzip Handler (#12363)
Using github.com/klauspost/compress package to replace the current Gzip Handler on the API.
We see significant improvements using this handler over the current one as shown in the benchmark added.

Also:
* move selection of compression from `newCompressedResponseWriter` to `*CompressionHandler.ServeHTTP`.
* renaming `compressedResponseWriter` since it now only does one kind of compression.

Signed-off-by: Alan Protasio <alanprot@gmail.com>
2023-05-30 16:42:38 +01:00
Julien Pivotto 1fd48bcfa7
Merge pull request #12151 from darxriggs/fix-getting-started-shutdown
chore: Fix documentation on signal to shut down instance
2023-05-30 14:43:43 +02:00
Alan Protasio 73078bf738
Opmizing Group Regex (#12375)
Signed-off-by: Alan Protasio <alanprot@gmail.com>
2023-05-30 13:49:22 +02:00
Arianna Vespri a16b876a05
Add limits to global config (#12126)
* Add limits to global config

Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>

* Move changes into Validate func

Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>

* Make comments consistent wrt 0 meaning no limit

Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>

* Document global limits

Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>

---------

Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
2023-05-30 09:22:23 +01:00
Bartlomiej Plotka f7846a7e9c
Merge pull request #12408 from prometheus/superq/exporter-toolkit
Update exporter-toolkit
2023-05-30 09:47:25 +02:00
SuperQ 044e004a81
Update exporter-toolkit
Adds web config option `client_allowed_sans`. This enables Prometheus to
limit the Subject Alternate Name (SAN) allowed to connect.

Signed-off-by: SuperQ <superq@gmail.com>
2023-05-30 09:08:00 +02:00
Julien Pivotto a0e1525978
Merge pull request #12171 from bboreham/notifier-builder
Alerts: more efficient relabeling
2023-05-29 22:29:40 +02:00
Julien Pivotto 48ded7a99c
Merge pull request #12235 from mmorel-35/patch-1
yamllint: don’t check keys and add file extension to config file
2023-05-29 19:48:14 +02:00
cui fliter 6e7ac76981
fix problematic link (#12405)
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-05-29 10:26:11 +02:00
Julien Pivotto bbed8f8b1f
Merge pull request #12401 from roidelapluie/update-otel
Update OpenTelemetry dependencies
2023-05-28 21:38:22 +02:00
Julien Pivotto ea36af6ea7
Merge pull request #12393 from roidelapluie/lts-245
Mark 2.45 as LTS
2023-05-28 18:36:08 +02:00
Julien Pivotto 7a3166232c
Merge pull request #12023 from pr00se/update_images
Render background in images to play nicely with dark mode
2023-05-28 15:14:32 +02:00
Julien Pivotto 7f29458e69
Merge pull request #12231 from Loongson-Cloud-Community/main
fix: RLIM_INFINITY type is uint64 on loong64
2023-05-28 15:12:34 +02:00