Arthur Silva Sens
48e6e16943
Prepare v2.52.0-rc.1 release ( #14050 )
...
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
7 months ago
AVejahat
56fd8a1e4a
bugfix: add missing comma in vector/matrix array ( #14047 )
...
* bugfix: Add missing comma when encoding JSON results in web API
---------
Signed-off-by: Amir Vejahat <amir.vejahat.av@gmail.com>
Co-authored-by: Arthur Silva Sens <arthur.sens@coralogix.com>
7 months ago
gotjosh
c10186eeea
BUGFIX: Mark the rule's restoration process as completed always ( #14048 )
...
* BUGFIX: Mark the rule's restoration process as completed always
In https://github.com/prometheus/prometheus/pull/13980 I introduced a change to reduce the number of queries executed when we restore alert statuses.
With this, the querying semantics changed as we now need to go through all series before we enter the alert restoration loop and I missed the fact that exiting early when there are no rules to restore would lead to an incomplete restoration.
An alert being restored is used as a proxy for "we're now ready to write `ALERTS/ALERTS_FOR_SERIES` metrics" so as a result we weren't writing the series if we didn't restore anything the first time around.
---------
Signed-off-by: gotjosh <josue.abreu@gmail.com>
7 months ago
Kushal shukla
d2caf51874
removed formateoverview section ( #13994 )
...
docs: Remove outdated information about remote-read API
---------
Signed-off-by: kushagra Shukla <kushalshukla110@gmail.com>
Signed-off-by: Kushal shukla <85934954+kushalShukla-web@users.noreply.github.com>
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Co-authored-by: Arthur Silva Sens <arthur.sens@coralogix.com>
7 months ago
Augustin Husson
94c81bba41
Merge pull request #14039 from prometheus/resolve-conflicts-2.52
...
Merge `release-2.52` back to main
7 months ago
Ben Kochie
73f42fea3a
Merge pull request #14023 from prometheus/superq/promu
...
Update promu
7 months ago
Arthur Silva Sens
650f4d7a72
Merge remote-tracking branch 'origin/main' into resolve-conflicts-2.52
7 months ago
Julien
85e3c438ba
Merge pull request #14029 from prometheus/dependabot/github_actions/actions/upload-artifact-4.3.3
...
build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3
7 months ago
Julien
3257ab4285
Merge pull request #14035 from prometheus/dependabot/go_modules/github.com/linode/linodego-1.33.0
...
build(deps): bump github.com/linode/linodego from 1.32.0 to 1.33.0
7 months ago
Julien
90f45778f8
Merge pull request #14024 from prometheus/dependabot/github_actions/scripts/golangci/golangci-lint-action-5.1.0
...
build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 in /scripts
7 months ago
Julien
2d41a35284
Merge pull request #14027 from prometheus/dependabot/github_actions/actions/checkout-4.1.4
...
build(deps): bump actions/checkout from 4.1.2 to 4.1.4
7 months ago
Julien
ce8789f230
Merge pull request #14031 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/prometheus-0.51.2
...
build(deps): bump github.com/prometheus/prometheus from 0.51.1 to 0.51.2 in /documentation/examples/remote_storage
7 months ago
Julien
cf02e5d7eb
Merge pull request #14037 from prometheus/dependabot/go_modules/google.golang.org/api-0.177.0
...
build(deps): bump google.golang.org/api from 0.174.0 to 0.177.0
7 months ago
dependabot[bot]
bb513b2722
build(deps): bump google.golang.org/api from 0.174.0 to 0.177.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.174.0 to 0.177.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.174.0...v0.177.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
7 months ago
dependabot[bot]
753fdd513a
build(deps): bump github.com/linode/linodego from 1.32.0 to 1.33.0
...
Bumps [github.com/linode/linodego](https://github.com/linode/linodego ) from 1.32.0 to 1.33.0.
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.32.0...v1.33.0 )
---
updated-dependencies:
- dependency-name: github.com/linode/linodego
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
7 months ago
dependabot[bot]
b90e1dfe6a
build(deps): bump github.com/prometheus/prometheus
...
Bumps [github.com/prometheus/prometheus](https://github.com/prometheus/prometheus ) from 0.51.1 to 0.51.2.
- [Release notes](https://github.com/prometheus/prometheus/releases )
- [Changelog](https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/prometheus/compare/v0.51.1...v0.51.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/prometheus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
7 months ago
dependabot[bot]
781815f064
build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](5d5d22a312...65462800fd
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
7 months ago
dependabot[bot]
1821803720
build(deps): bump actions/checkout from 4.1.2 to 4.1.4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.2 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](9bb56186c3...0ad4b8fada
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
7 months ago
dependabot[bot]
ff1bcdb7b9
build(deps): bump golangci/golangci-lint-action in /scripts
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4.0.0 to 5.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](3cfe3a4abb...9d1e0624a7
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
7 months ago
SuperQ
f09cf2d9fb
Update promu
...
Update promu to the latest release.
Signed-off-by: SuperQ <superq@gmail.com>
7 months ago
George Krajcsovits
29b558396a
Merge pull request #14012 from krajorama/ci-check-promql-parser
...
ci: check generated parser code before running unit tests
7 months ago
Arve Knudsen
fc34570b06
prometheusremotewrite: Move TimeSeries method to timeseries.go
...
To facilitate generating OTel translation code for other Prometheus
compatible backends, modify the prometheusremotewrite sources slightly
so that the PrometheusConverter.TimeSeries method is in a file called
timeseries.go. The rationale is to allow other backends to define their
own implementation of this method.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
7 months ago
Arve Knudsen
12e317786b
Add missing OTLP fixes to changelog ( #14014 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
7 months ago
György Krajcsovits
965f507db5
ci: check generated parser code before running unit tests
...
Check that the generated parser code is consistent with the input definition.
Remove the file before re-generating to make sure that missing goyacc is
not effecting the check.
Fixes : #7488
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
7 months ago
gotjosh
1dd0bff4f1
Merge pull request #13980 from prometheus/gotjosh/restore-only-with-rule-query
...
Rule Manager: Only query once per alert rule when restoring alert state
7 months ago
Arthur Silva Sens
f170a014f3
Merge pull request #13969 from prometheus/prepare-v2.52
...
Prepare v2.52.0-rc.0 release
7 months ago
gotjosh
379dec9d36
querier.Select cannot return a nil series set.
...
Signed-off-by: gotjosh <josue.abreu@gmail.com>
7 months ago
gotjosh
05ca082b07
Rename `alerts` to `expectedAlerts` in the test case input
...
Signed-off-by: gotjosh <josue.abreu@gmail.com>
7 months ago
gotjosh
f63dbc3db2
Remove duplicated sorted and assignment of expected alerts.
...
Signed-off-by: gotjosh <josue.abreu@gmail.com>
7 months ago
Arve Knudsen
e491deba97
Merge pull request #14006 from aknuds1/arve/otlp-translator-direct
...
OTLP: Use PrometheusConverter directly
7 months ago
gotjosh
63b09944b8
Use labels.Len() instead of manually counting the labels
...
Signed-off-by: gotjosh <josue.abreu@gmail.com>
7 months ago
gotjosh
ccfafae36d
Rename QueryforStateSeries to QueryForStateSeries
...
Signed-off-by: gotjosh <josue.abreu@gmail.com>
7 months ago
gotjosh
151f6e0ed6
Add an assertion on the count of alerts before adding an active alert
...
Signed-off-by: gotjosh <josue.abreu@gmail.com>
7 months ago
Arve Knudsen
9189507569
prometheusremotewrite: Add PrometheusConverter.FromMetrics benchmark
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
7 months ago
Arve Knudsen
99f3051f45
OTLP: Use PrometheusConverter directly
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
7 months ago
Arve Knudsen
7f81065b01
Merge pull request #13966 from komisan19/refactor/add_max_func_to_maxTimestamp
...
refactor: replace maxTimestamp with standard max function
7 months ago
Arve Knudsen
759ca8b207
Merge branch 'main' into refactor/add_max_func_to_maxTimestamp
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
7 months ago
Jiekun
0cd3a22a18
docs: [ovh sd] Added missing label for OVH dedicated server in service discovery doc
...
Signed-off-by: Jiekun <zhujiekun@52tt.com>
7 months ago
Jesus Vazquez
7554384dac
otlp: Prometheus to own its own copy of the otlptranslator package ( #13991 )
...
After a lot of productive discussion between the Prometheus and
OpenTelemetry community we decided that it made sense for Prometheus to
own its own copy of the code in charge for handling OTLP ingestion
traffic.
This commit is removing the README and update-copy.sh files that had the
previous steps to update the code.
Also it is updating the licensing of all the files to make sure the
OpenTelemetry provenance is explicit and to state the new ownership.
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
7 months ago
guangwu
9fda9443d4
fix(promql/query_logger): close file in error handling ( #13948 )
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
7 months ago
komisan19
b974a99279
fix
...
Signed-off-by: komisan19 <18901496+komisan19@users.noreply.github.com>
7 months ago
Arthur Silva Sens
34ee8c6078
Merge pull request #13982 from tesla59/tesla/storage-doc
...
docs: storage.md: clarify storage.tsdb.retention.time description
7 months ago
Arthur Silva Sens
3d42466894
Merge pull request #13997 from bboreham/api-marshalling
...
bugfix: API: encode empty Vector/Matrix as [] not null
7 months ago
Bryan Boreham
5c8ffaa77c
bugfix: API: encode empty Vector/Matrix as []
...
If the underlying data is `nil` the default encoding
will render `"null"` which is not accepted by
(some) Prometheus client libraries.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
00247b5d87
test: API: check empty responses
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
e0a00f45db
refactor: API: separate typed and unsafe marshalling
...
The typed versions are used when we call from one marshaller to another.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
66a1c3daad
refactor: API: be explicit that we marshal empty objects
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
c8aed6b0ec
tests: API: Let nil expected response mean skip check
...
When we want to check just the json encoding.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
5a339ba359
tests: API: Use jsoniter when encoding
...
So that tests use the same encoding as the api.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
2c4a36376d
tests: API: simplify check of error response
...
Since we already use require.JSONEq in similar cases.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago