David Leadbeater
454714105d
Drop OpenBSD from promu config ( #10867 )
...
Signed-off-by: David Leadbeater <dgl@dgl.cx>
2 years ago
Levi Harrison
59727ab0eb
Make clear that `go install` needs to be run in the cloned repo ( #10866 )
...
* `go install` in cloned repo
Signed-off-by: Levi Harrison <git@leviharrison.dev>
* Removing cloning to gopath
Signed-off-by: Levi Harrison <git@leviharrison.dev>
* Change wording
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2 years ago
Sebastian Poxhofer
3f9a9d1e62
chore(discoveryManager): expose Discoverer refresh function ( #10531 )
...
Signed-off-by: secustor <sebastian@poxhofer.at>
2 years ago
Augustin Husson
5d1756c822
Upgrade codemirror and lezer to the latest version ( #10841 )
...
* bump codemirror to v0.20.x and lezer to v.0.16.x
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* bump codemirror to v6 and lezer to v1
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* stop treating warning as error for UI
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2 years ago
Peter Štibraný
5bd761fbfc
Merge pull request #10857 from pstibrany/fix-errors-handling
...
API: Fix errors handling
2 years ago
Augustin Husson
3dad28fcbd
UI: fix build ( #10862 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2 years ago
Augustin Husson
5184f49a2a
put every packages under the prometheus-io organization ( #10849 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2 years ago
Paschalis Tsilias
4f3791024a
Drop extra string held in relabel.Regexp struct ( #10846 )
...
* Drop extra string held in relabel.Regexp struct
Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com>
* Use slice operations instead of TrimPrefix/TrimSuffix; Override String() method
Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com>
2 years ago
Julien Pivotto
229e857416
Merge pull request #10795 from prometheus/dependabot/go_modules/k8s.io/client-go-0.24.1
...
build(deps): bump k8s.io/client-go from 0.24.0 to 0.24.1
2 years ago
Augustin Husson
f609b7bbcc
remove GO111MODULE and GOVENDOR usage ( #10836 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2 years ago
dependabot[bot]
f4ea0709f9
build(deps): bump k8s.io/client-go from 0.24.0 to 0.24.1
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.24.0...v0.24.1 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Julien Pivotto
eb07db104a
Merge pull request #10835 from prometheus/dependabot/go_modules/github.com/stretchr/testify-1.7.2
...
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2
2 years ago
Augustin Husson
e166cf402a
use npm workspace flag for the build instead of manually navigate through the folders ( #10854 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2 years ago
Bryan Boreham
542b9ecdbd
tsdb: reduce sleep time when reading WAL ( #10859 )
...
The code sleeps for a short time to allow goroutines to finish, however
it seems the duration can be reduced a lot, speeding up the reading
process.
I checked using some WAL data from production, and the queue is almost
always empty at the time we enter `waitForIdle()` so there is no danger
of spinning in the tight loop.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2 years ago
Julien Pivotto
a84c472745
Merge back `release-2.36` ( #10850 )
...
* Fix UI build (#10842 )
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
* Add --lint-fatal option (#10815 ) (#10840 )
This keeps the previous behaviour of printing details about duplicate
rules but doesn't exit with a fatal exit code unless turned on.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
Co-authored-by: David Leadbeater <dgl@dgl.cx>
* Add v2.36.1 CHANGELOG and VERSION update
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Co-authored-by: David Leadbeater <dgl@dgl.cx>
2 years ago
dependabot[bot]
00982ce4d3
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Matthias Loibl
3c0a100dec
Merge pull request #10848 from metalmatze/release-2.36.1
...
Add v2.36.1 CHANGELOG and VERSION update
2 years ago
Matthias Loibl
e5b794293f
Add v2.36.1 CHANGELOG and VERSION update
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2 years ago
Julien Pivotto
8ac4e50ec4
Add --lint-fatal option ( #10815 ) ( #10840 )
...
This keeps the previous behaviour of printing details about duplicate
rules but doesn't exit with a fatal exit code unless turned on.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
Co-authored-by: David Leadbeater <dgl@dgl.cx>
2 years ago
Julien Pivotto
f2ba2a0800
Fix UI build ( #10843 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2 years ago
Julien Pivotto
b8724ca763
Fix UI build ( #10842 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2 years ago
dependabot[bot]
867d3bd78f
build(deps): bump github.com/go-kit/log ( #10827 )
...
Bumps [github.com/go-kit/log](https://github.com/go-kit/log ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/go-kit/log/releases )
- [Commits](https://github.com/go-kit/log/compare/v0.2.0...v0.2.1 )
---
updated-dependencies:
- dependency-name: github.com/go-kit/log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
c2d6acdcc5
build(deps): bump github.com/vultr/govultr/v2 from 2.17.0 to 2.17.1 ( #10811 )
...
Bumps [github.com/vultr/govultr/v2](https://github.com/vultr/govultr ) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/vultr/govultr/releases )
- [Changelog](https://github.com/vultr/govultr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vultr/govultr/compare/v2.17.0...v2.17.1 )
---
updated-dependencies:
- dependency-name: github.com/vultr/govultr/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
7b8ed5d36b
build(deps): bump github.com/prometheus/common ( #10826 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.32.1 to 0.34.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.32.1...v0.34.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
c92d571e5d
build(deps): bump github.com/gophercloud/gophercloud ( #10834 )
...
Bumps [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud ) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/gophercloud/gophercloud/releases )
- [Changelog](https://github.com/gophercloud/gophercloud/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gophercloud/gophercloud/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: github.com/gophercloud/gophercloud
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Julien Pivotto
e4a09f2b4b
uyuni: Use default HTTP client and set relative paths ( #10814 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2 years ago
dependabot[bot]
eef02a0334
build(deps): bump github.com/prometheus/client_golang ( #10828 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
6bd75d5ba7
build(deps): bump github.com/stretchr/testify ( #10829 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
28322709eb
build(deps): bump github.com/aws/aws-sdk-go from 1.44.20 to 1.44.29 ( #10832 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.20 to 1.44.29.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.20...v1.44.29 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
80eded08f6
build(deps): bump google.golang.org/api from 0.80.0 to 0.83.0 ( #10830 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.80.0 to 0.83.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.80.0...v0.83.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
2bf9d26732
build(deps): bump k8s.io/api from 0.24.0 to 0.24.1 ( #10812 )
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.24.0...v0.24.1 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Matthieu MOREL
0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' ( #10817 )
...
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2 years ago
Matthieu MOREL
47e13b26c1
refactor (tracing): move from github.com/pkg/errors to 'errors' and 'fmt' ( #10819 )
...
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2 years ago
Matthieu MOREL
554f3f32f8
refactor (template): move from github.com/pkg/errors to 'errors' and 'fmt' ( #10818 )
...
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2 years ago
Matthieu MOREL
15aeadedbe
enable dependabot for github.com/prometheus/prometheus/documentation/examples/remote_storage module ( #10821 )
...
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2 years ago
Bryan Boreham
9f79a6f4b5
tsdb: faster CRC check by avoiding allocations ( #10789 )
...
Instead of creating a new hashing object every time, call `crc32.Checksum`
which computes the answer without allocations.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2 years ago
Filip Petkovski
7a78897d0b
Improve reliability of Kubernetes SD tests ( #10761 )
...
The tests for Kubernetes SD rely on comparing target groups by first
serializing them to JSON. However, the target group MarshalJSON function
only serializes the __address__ label, which makes eliminates all other
labels from the comparison.
This commit implements a separate marshaling function intended for use in
Kubernetes SD tests. The function serializes all target labels, making
comparisons much more reliable. The commit also fixes all tests that
started to fail due to the newly introduced change.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2 years ago
Filip Petkovski
a56731126d
Export TSDB status structs ( #10783 )
...
We would like to implement the tsdb/status API in certain Thanos
components.
In order to match the Prometheus API and avoid duplicating code,
this commit makes the structs used in the status API public.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2 years ago
Bryan Boreham
2e2c014d52
Labels: optimise creation of signature with/without labels ( #10667 )
...
* Labels: create signature with/without labels
Instead of creating a new Labels slice then converting to signature,
go directly to the signature and save time.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* Labels: refactor Builder tests
Have one test with a range of cases, and have them check the final
output rather than checking the internal structure of the Builder.
Also add a couple of cases where the value is "", which should be
interpreted as 'delete'.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* Labels: add 'Keep' function to Builder
This lets us replace `Labels.WithLabels` with the more general `Builder`.
In `engine.resultMetric()` we can call `Keep()` instead of checking
and calling `Del()`.
Avoid calling `Sort()` in `Builder.Labels()` if we didn't add anything,
so that `Keep()` has the same performance as `WithLabels()`.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2 years ago
Julien Pivotto
143a760e76
Hetzner SD: Implement set directory ( #10813 )
...
Makes path relative to Prometheus config file.
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
3 years ago
Łukasz Mierzwa
b11062bfcc
Don't count added labels when initializing slice ( #10756 )
...
This was added in #10749 but based on feedback it might be over-allocating so worth removing.
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
3 years ago
David Leadbeater
355b8bcf0b
Add --lint-fatal option ( #10815 )
...
This keeps the previous behaviour of printing details about duplicate
rules but doesn't exit with a fatal exit code unless turned on.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
3 years ago
dependabot[bot]
636f7e5483
build(deps): bump k8s.io/apimachinery from 0.24.0 to 0.24.1 ( #10806 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.24.0...v0.24.1 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Matthieu MOREL
f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' ( #10807 )
...
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
3 years ago
Matthieu MOREL
12de742ae4
refactor (documentation): move from github.com/pkg/errors to 'errors' and 'fmt' ( #10808 )
...
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
3 years ago
Julien Pivotto
8801b01468
Merge back Release 2.36 ( #10803 )
...
* Update CHANGELOG for v2.36
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Cut v2.36.0
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Remove go version wording from changelog (#10778 )
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Co-authored-by: Matthias Loibl <mail@matthiasloibl.com>
3 years ago
dependabot[bot]
ad198b081b
build(deps): bump github.com/linode/linodego from 1.5.0 to 1.6.0 ( #10792 )
...
Bumps [github.com/linode/linodego](https://github.com/linode/linodego ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.5.0...v1.6.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
c7298b4b08
build(deps): bump github.com/hashicorp/consul/api from 1.12.0 to 1.13.0 ( #10794 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/v1.12.0...api/v1.13.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Julien Pivotto
4cb32a001e
Remove go version wording from changelog ( #10778 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
3 years ago
dependabot[bot]
03e5603d39
build(deps): bump bufbuild/buf-setup-action from 1.4.0 to 1.5.0 ( #10790 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago