Julien Pivotto
c511d26dd0
Upgrade Prometheus/common to fix static assets ( #10889 )
...
Properly fix #10697
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2 years ago
Julien Pivotto
a0aec2db82
Fix handling of static files ( #10879 )
...
Closes #10697
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
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
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
David Leadbeater
b84494d50d
Update go-yaml v3 to 3.0.1 ( #10786 )
...
Picks up the fix for https://github.com/go-yaml/yaml/issues/665 -- we
picked up the important fix for CVE-2022-28948 already.
This only affects go-yaml *v3*; the only user of v3 in Prometheus itself
is rulefmt so the impact seems limited.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
3 years ago
dependabot[bot]
6ee4b52116
build(deps): bump github.com/Azure/azure-sdk-for-go
...
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go ) from 63.0.0+incompatible to 65.0.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v63.0.0...v65.0.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
4ac961c040
build(deps): bump google.golang.org/api from 0.77.0 to 0.80.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.77.0 to 0.80.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.77.0...v0.80.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>
3 years ago
David Dymko
3ef153b00c
vultr integration
...
Signed-off-by: David Dymko <dymkod@gmail.com>
3 years ago
Matthias Loibl
d11c418102
Update Go dependencies
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
3 years ago
Julien Pivotto
5722e6ea99
Update OpenTracing
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
3 years ago
dependabot[bot]
4c13d305d3
build(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.4
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.5.1 to 1.5.4.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.1...v1.5.4 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
SuperQ
29b58448e1
Update Go minimum version
...
* Set Go minimum version to 1.17.
* Update go.mod format for 1.17.
* Remove unecessary exclude block for k8s.io/client-go.
* Remove unecessary retract section.
Signed-off-by: SuperQ <superq@gmail.com>
3 years ago
Felix Ehrenpfort
ce3bc818a8
Add service discovery for IONOS Cloud ( #10514 )
...
* Add service discovery for IONOS Cloud
Signed-off-by: Felix Ehrenpfort <felix@ehrenpfort.de>
3 years ago
dependabot[bot]
4e6374180d
build(deps): bump google.golang.org/grpc from 1.45.0 to 1.46.0 ( #10648 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.45.0 to 1.46.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.45.0...v1.46.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
0e938f89fd
build(deps): bump go.opentelemetry.io/otel from 1.6.1 to 1.7.0 ( #10653 )
...
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
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]
51eb754e77
build(deps): bump github.com/linode/linodego from 1.4.0 to 1.4.1 ( #10654 )
...
Bumps [github.com/linode/linodego](https://github.com/linode/linodego ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/linode/linodego
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
dependabot[bot]
d066b9c4c5
build(deps): bump k8s.io/api from 0.23.5 to 0.23.6 ( #10649 )
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.23.5 to 0.23.6.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.23.5...v0.23.6 )
---
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>
3 years ago
dependabot[bot]
b2e2751e23
build(deps): bump google.golang.org/api from 0.74.0 to 0.77.0 ( #10647 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.74.0 to 0.77.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.74.0...v0.77.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>
3 years ago
Julien Pivotto
09da88114d
Support overriding minimum TLS version
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
3 years ago
TomasKohout
a1aa3721e8
uber.go/automaxprocs package upgrade for cgroups2 support ( #10584 )
...
Signed-off-by: Tomas Kohout <tomas.kohout1995@gmail.com>
3 years ago
Julien Pivotto
8abef6d661
Proper support for go modules. ( #10486 )
...
* Proper support for go modules.
This pull requests makes Prometheus go-mod compatible.
The general idea is to release the Prometheus libraries as v0.x
releases, next to the v2.x tags used by end users.
This is done by mirroring Prometheus 2.x tags with Prometheus 0.x tags.
When v2.X.0 is released, we would release v0.X.0.
Pre-go mod versions are retracted from go.mod. This is not nice but
should work.
Only v2.x tags will be built and released by CI. v0.x.x tags would just
be normal tags in the repo, not promoted as releases.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Augustin Husson
3fc7d11687
Update Go dependencies ( #10527 )
...
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
3 years ago
TomasKohout
c0fd228bad
Add dependency on go.uber.org/automaxprocs ( #10498 )
...
* add dependency on go.uber.org/automaxprocs
Signed-off-by: Tomas Kohout <tomas.kohout1995@gmail.com>
Co-authored-by: Peter Bourgon <peterbourgon@users.noreply.github.com>
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
3 years ago
Julien Pivotto
98039cddfa
Update Prometheus common ( #10492 )
...
* Update Prometheus common
- Oauth2 supports proxy URL
- HTTP2 can be disabled
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Chris Marchbanks
c1387494dd
Merge pull request #10452 from prometheus/release-2.34
...
Merge Release 2.34 into main
3 years ago
Jan Fajerski
2c3d45c88a
Replace vfsgen with embed for static web assets ( #10220 )
...
* remove vfsgen usages
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* web: use embed package for static assets
This requires go 1.16.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* circleci: drop go generate in web/ui
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* Makefile: compress web assets before build
This commit add compression before (and decompression after) prometheus
is build. This ensures that gzipped assets are embeded in the prometheus
binary, if the builtinassets build tag is passed. If the build tag is
not passed this step is still executed but has no effect.
All this is executed in a subshell so that we can run the decompress
step even if the build step fails, but retain the exit code of promu.
This cleanup could also cover interrupts, but I left that out for now.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
3 years ago
Chris Marchbanks
ead032919a
Merge pull request #10414 from prometheus/csmarchbanks/cut-2.34.0-rc.1
...
Cut 2.34.0-rc.1
3 years ago
beorn7
8cf4aa5140
Update containerd/containerd dependency
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
Bryan Boreham
8e4407c226
Update grafana/regexp package to reject very deeply nested regexps ( #10397 )
...
This is a cherry-pick of ac071634c4
with the following description:
regexp/syntax: reject very deeply nested regexps in Parse
The regexp code assumes it can recurse over the structure of
a regexp safely. Go's growable stacks make that reasonable
for all plausible regexps, but implausible ones can reach the
“infinite recursion?” stack limit.
This CL limits the depth of any parsed regexp to 1000.
That is, the depth of the parse tree is required to be ≤ 1000.
Regexps that require deeper parse trees will return ErrInternalError.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 years ago
dependabot[bot]
7373bcc842
build(deps): bump github.com/Azure/azure-sdk-for-go ( #10390 )
...
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go ) from 61.6.0+incompatible to 62.0.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v61.6.0...v62.0.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
dependency-type: direct:production
update-type: version-update:semver-major
...
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]
9fe258a655
build(deps): bump github.com/aws/aws-sdk-go from 1.43.4 to 1.43.10 ( #10391 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.43.4 to 1.43.10.
- [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.43.4...v1.43.10 )
---
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>
3 years ago
dependabot[bot]
2ab54a9e77
build(deps): bump github.com/envoyproxy/protoc-gen-validate ( #10383 )
...
Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate ) from 0.6.3 to 0.6.6.
- [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases )
- [Commits](https://github.com/envoyproxy/protoc-gen-validate/compare/v0.6.3...v0.6.6 )
---
updated-dependencies:
- dependency-name: github.com/envoyproxy/protoc-gen-validate
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
dependabot[bot]
0b835e341b
build(deps): bump github.com/aws/aws-sdk-go from 1.43.3 to 1.43.4 ( #10346 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.43.3 to 1.43.4.
- [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.43.3...v1.43.4 )
---
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>
3 years ago
Chris Marchbanks
b80ef363fa
Upgrade go dependencies for the release
...
The k8s dependencies have been manually updated to the most recent
0.22.x release due to 0.23.x requiring go 1.17.
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
3 years ago
dependabot[bot]
61bcf47706
build(deps): bump go.opentelemetry.io/otel/trace from 1.2.0 to 1.4.0 ( #10292 )
...
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go ) from 1.2.0 to 1.4.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.2.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
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
Keegan Carruthers-Smith
e17d6aad01
Bump github.com/containerd/containerd to 1.5.9 ( #10282 )
...
There is the critical CVE-2021-43816 against containerd which is only
fixed in v1.5.9. In practice I don't believe this affects prometheus.
However, upgrading will help quieten loud vulnerability scanners.
To upgrade I ran go get github.com/containerd/containerd@v1.5.9.
Signed-off-by: Keegan Carruthers-Smith <keegan.csmith@gmail.com>
3 years ago
Bryan Boreham
579331446a
Allow downstream projects to use faster regexp ( #10251 )
...
* Add benchmark for FastRegexMatcher
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* Use modified regexp package with optimisations
See https://github.com/grafana/regexp/tree/speedup#readme
Includes the following changes proposed upstream:
* [regexp: allow patterns with no alternates to be one-pass](https://go-review.googlesource.com/c/go/+/353711 )
* [regexp: speed up onepass prefix check](https://go-review.googlesource.com/c/go/+/354909 )
* [regexp: handle prefix string with fold-case](https://go-review.googlesource.com/c/go/+/358756 )
* [regexp: avoid copying each instruction executed](https://go-review.googlesource.com/c/go/+/355789 )
* [regexp: allow prefix string anchored at beginning](https://go-review.googlesource.com/c/go/+/377294 )
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* Use regexp code identical to upstream Go
Change `grafana/regexp` import to use `main` branch.
This means Prometheus is not using the proposed optimisations, but
downstream users of Prometheus code are able to `replace` the library
with the `speedup` branch which does.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 years ago
dependabot[bot]
0cd4e0a8dd
build(deps): bump github.com/aws/aws-sdk-go from 1.42.31 to 1.42.44 ( #10247 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.31 to 1.42.44.
- [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.42.31...v1.42.44 )
---
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>
3 years ago
Julien Pivotto
8cc7b7e577
Split remote storage example in its own go mod ( #10244 )
...
This commit removes the dependency between Prometheus and influx.
Note: Go keeps adding the indirect dependencies in go.mod, I can't
remove them.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
dependabot[bot]
7321a97133
build(deps): bump github.com/linode/linodego from 1.2.1 to 1.3.0 ( #10239 )
...
Bumps [github.com/linode/linodego](https://github.com/linode/linodego ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/linode/linodego/releases )
- [Commits](https://github.com/linode/linodego/compare/v1.2.1...v1.3.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
Björn Rabenstein
500cfd0b6f
Merge pull request #10224 from prometheus/release-2.33
...
Merge release-2.33 forward into main
3 years ago
beorn7
d27e7666cc
Bump client_golang to 1.12.1
...
This pulls in a data-race fix and reduces the excessive number of
histogram buckets in the Go runtime metrics.
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
Matej Gera
2c61d29b2a
Tracing: Migrate to OpenTelemetry library ( #9724 )
...
Signed-off-by: Matej Gera <matejgera@gmail.com>
3 years ago
beorn7
ef5815f6f4
Bump github.com/prometheus/client_golang to v1.12.0
...
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
Björn Rabenstein
933f50bcda
Merge pull request #10121 from prometheus/beorn7/promql
...
PromQL: Promote negative offset and @ modifer to stable
3 years ago
beorn7
b39f2739e5
PromQL: Always enable negative offset and @ modifier
...
This follows the line of argument that the invariant of not looking
ahead of the query time was merely emerging behavior and not a
documented stable feature. Any query that looks ahead of the query
time was simply invalid before the introduction of the negative offset
and the @ modifier.
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
dependabot[bot]
076109fa19
build(deps): bump github.com/aws/aws-sdk-go from 1.42.28 to 1.42.31 ( #10146 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.28 to 1.42.31.
- [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.42.28...v1.42.31 )
---
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>
3 years ago
dependabot[bot]
714bc3ff29
build(deps): bump google.golang.org/api from 0.63.0 to 0.64.0 ( #10135 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.63.0 to 0.64.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.63.0...v0.64.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>
3 years ago
beorn7
4727c41a4b
Update Go dependencies
...
Note that go.mod has been manually modified to use the following
versions:
- k8s.io/api v0.22.4
- k8s.io/apimachinery v0.22.4
- k8s.io/client-go v0.22.4
The current version of those modules requires Go1.17, which we only
intend to require once Go1.18 is out.
Signed-off-by: beorn7 <beorn@grafana.com>
3 years ago
SuperQ
a78a3cea02
Rollback k8s.io to 0.22.4.
...
Signed-off-by: SuperQ <superq@gmail.com>
3 years ago
SuperQ
41b43c3b87
Update minimum Go version
...
Update minimum required Go version to 1.16 due to use of standard
library package `io/fs`.
Signed-off-by: SuperQ <superq@gmail.com>
3 years ago
dependabot[bot]
51b0826925
build(deps): bump github.com/aws/aws-sdk-go from 1.42.24 to 1.42.25 ( #10093 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
e0cec62025
build(deps): bump github.com/Azure/azure-sdk-for-go from 60.2.0+incompatible to 60.3.0+incompatible ( #10086 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
440974f403
build(deps): bump github.com/Azure/go-autorest/autorest/adal from 0.9.17 to 0.9.18 ( #10089 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
d95d588d0e
build(deps): bump github.com/miekg/dns from 1.1.44 to 1.1.45 ( #10088 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
a1ae1fa2a7
build(deps): bump github.com/uber/jaeger-client-go
...
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.29.1+incompatible to 2.30.0+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases )
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.29.1...v2.30.0 )
---
updated-dependencies:
- dependency-name: github.com/uber/jaeger-client-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
2aa56739b3
build(deps): bump github.com/Azure/azure-sdk-for-go ( #10067 )
...
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go ) from 60.1.0+incompatible to 60.2.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v60.1.0...v60.2.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
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]
635658d8a0
build(deps): bump k8s.io/client-go from 0.23.0 to 0.23.1 ( #10064 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.23.0 to 0.23.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.23.0...v0.23.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
f041a6a228
build(deps): bump github.com/miekg/dns from 1.1.43 to 1.1.44 ( #10063 )
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.43 to 1.1.44.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.43...v1.1.44 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
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
dependabot[bot]
710e4803ee
build(deps): bump github.com/edsrzf/mmap-go from 1.0.0 to 1.1.0 ( #10060 )
...
Bumps [github.com/edsrzf/mmap-go](https://github.com/edsrzf/mmap-go ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/edsrzf/mmap-go/releases )
- [Commits](https://github.com/edsrzf/mmap-go/compare/v1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/edsrzf/mmap-go
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]
489548cae3
build(deps): bump github.com/aws/aws-sdk-go from 1.42.23 to 1.42.24 ( #10061 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.23 to 1.42.24.
- [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.42.23...v1.42.24 )
---
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>
3 years ago
dependabot[bot]
b96963d769
build(deps): bump github.com/hashicorp/consul/api from 1.11.0 to 1.12.0 ( #10062 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.11.0 to 1.12.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.11.0...api/v1.12.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
dependabot[bot]
a14960eae1
build(deps): bump github.com/prometheus/exporter-toolkit ( #9975 )
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases )
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
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
dependabot[bot]
87c5e9bc37
build(deps): bump github.com/gophercloud/gophercloud ( #10017 )
...
Bumps [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud ) from 0.23.0 to 0.24.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.23.0...v0.24.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>
3 years ago
dependabot[bot]
9cf3f8ea18
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.11+incompatible to 20.10.12+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.11...v20.10.12 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
1de77fe650
build(deps): bump github.com/Azure/go-autorest/autorest
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.11.22 to 0.11.23.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.22...autorest/v0.11.23 )
---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
77503e3f59
build(deps): bump google.golang.org/api from 0.61.0 to 0.63.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.61.0 to 0.63.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.61.0...v0.63.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>
3 years ago
dependabot[bot]
18ee5fd279
build(deps): bump github.com/aws/aws-sdk-go from 1.42.22 to 1.42.23
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.22 to 1.42.23.
- [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.42.22...v1.42.23 )
---
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>
3 years ago
dependabot[bot]
f45e9f93bd
build(deps): bump github.com/Azure/azure-sdk-for-go ( #9998 )
...
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go ) from 59.4.0+incompatible to 60.1.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v59.4.0...v60.1.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
dependency-type: direct:production
update-type: version-update:semver-major
...
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]
0e2b3ab9d3
build(deps): bump k8s.io/client-go from 0.22.4 to 0.23.0 ( #9976 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.22.4 to 0.23.0.
- [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.22.4...v0.23.0 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
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]
77670cb5a2
build(deps): bump github.com/aws/aws-sdk-go from 1.42.20 to 1.42.22 ( #9995 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.20 to 1.42.22.
- [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.42.20...v1.42.22 )
---
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>
3 years ago
dependabot[bot]
655e2d2879
build(deps): bump github.com/digitalocean/godo from 1.72.0 to 1.73.0 ( #9963 )
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.72.0 to 1.73.0.
- [Release notes](https://github.com/digitalocean/godo/releases )
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalocean/godo/compare/v1.72.0...v1.73.0 )
---
updated-dependencies:
- dependency-name: github.com/digitalocean/godo
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]
f87de1afc7
build(deps): bump golang.org/x/tools from 0.1.7 to 0.1.8 ( #9962 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.7...v0.1.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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
dependabot[bot]
cfa008ee2a
build(deps): bump google.golang.org/api from 0.60.0 to 0.61.0 ( #9959 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.60.0 to 0.61.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.60.0...v0.61.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>
3 years ago
dependabot[bot]
f303571248
build(deps): bump github.com/aws/aws-sdk-go from 1.42.16 to 1.42.20 ( #9955 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.16 to 1.42.20.
- [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.42.16...v1.42.20 )
---
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>
3 years ago
Julius Volz
2d34856e44
Update Go dependencies before 2.32 release ( #9913 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
dependabot[bot]
0d20ee46fe
build(deps): bump github.com/aws/aws-sdk-go from 1.42.10 to 1.42.15 ( #9902 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.10 to 1.42.15.
- [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.42.10...v1.42.15 )
---
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>
3 years ago
dependabot[bot]
863788b057
build(deps): bump github.com/go-openapi/strfmt from 0.21.0 to 0.21.1 ( #9900 )
...
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt ) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/go-openapi/strfmt/releases )
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.21.0...v0.21.1 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/strfmt
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
dependabot[bot]
56e5946a1a
build(deps): bump github.com/Azure/azure-sdk-for-go ( #9899 )
...
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go ) from 58.3.0+incompatible to 59.4.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v58.3.0...v59.4.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
dependency-type: direct:production
update-type: version-update:semver-major
...
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
b48a1e9e9b
Revert "Replace vfsgen with embed for static web assets ( #9719 )" ( #9870 )
...
This reverts commit ddaddc2a7a
.
3 years ago
Jan Fajerski
ddaddc2a7a
Replace vfsgen with embed for static web assets ( #9719 )
...
* remove vfsgen usages
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* web: use embed package for static assets
This requires go 1.16.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* circleci: drop go generate in web/ui
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* Makefile: compress web assets before build
This commit add compression before (and decompression after) prometheus
is build. This ensures that gzipped assets are embeded in the prometheus
binary, if the builtinassets build tag is passed. If the build tag is
not passed this step is still executed but has no effect.
All this is executed in a subshell so that we can run the decompress
step even if the build step fails, but retain the exit code of promu.
This cleanup could also cover interrupts, but I left that out for now.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* [FIXME]: add new module dependency on common/assets and temp replace
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
3 years ago
dependabot[bot]
41e27dea73
build(deps): bump github.com/aws/aws-sdk-go from 1.42.8 to 1.42.10 ( #9845 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
4cae788689
build(deps): bump github.com/docker/docker ( #9817 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.10+incompatible to 20.10.11+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.10...v20.10.11 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
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
dependabot[bot]
128ab7a376
build(deps): bump k8s.io/client-go from 0.22.3 to 0.22.4 ( #9818 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.22.3 to 0.22.4.
- [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.22.3...v0.22.4 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
0bfc542a43
build(deps): bump github.com/aws/aws-sdk-go from 1.42.6 to 1.42.8 ( #9820 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.6 to 1.42.8.
- [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.42.6...v1.42.8 )
---
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>
3 years ago
dependabot[bot]
39cc75741f
build(deps): bump k8s.io/api from 0.22.3 to 0.22.4 ( #9819 )
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.22.3 to 0.22.4.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.22.3...v0.22.4 )
---
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>
3 years ago
Augustin Husson
d140df2335
replace gopkg.in/fsnotify/fsnotify.v1 by github.com/fsnotify/fsnotify ( #9781 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
dependabot[bot]
d36e6dfd4f
build(deps): bump github.com/aws/aws-sdk-go from 1.42.4 to 1.42.6 ( #9780 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.4 to 1.42.6.
- [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.42.4...v1.42.6 )
---
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>
3 years ago
TJ Hoplock
e3d0333a3b
fix: linode SD tests ( #9773 )
...
* build(deps): bump github.com/linode/linodego from 1.1.0 to 1.2.1
* fix: linode SD tests
This fixes failing builds due to the version bump of linodego to
`v1.2.1`.
Fixes:
https://github.com/prometheus/prometheus/pull/9763
See also:
https://github.com/linode/linodego/issues/226
https://github.com/linode/linodego/pull/227
https://github.com/linode/linodego/releases/tag/v1.2.1
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
3 years ago
dependabot[bot]
a300c85d9f
build(deps): bump github.com/go-openapi/strfmt from 0.20.3 to 0.21.0 ( #9765 )
...
* build(deps): bump github.com/go-openapi/strfmt from 0.20.3 to 0.21.0
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt ) from 0.20.3 to 0.21.0.
- [Release notes](https://github.com/go-openapi/strfmt/releases )
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.20.3...v0.21.0 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/strfmt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fixing go depedencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
dependabot[bot]
d59ec17320
build(deps): bump github.com/envoyproxy/go-control-plane ( #9762 )
...
Bumps [github.com/envoyproxy/go-control-plane](https://github.com/envoyproxy/go-control-plane ) from 0.9.9 to 0.10.1.
- [Release notes](https://github.com/envoyproxy/go-control-plane/releases )
- [Changelog](https://github.com/envoyproxy/go-control-plane/blob/main/CHANGELOG.md )
- [Commits](https://github.com/envoyproxy/go-control-plane/compare/v0.9.9...v0.10.1 )
---
updated-dependencies:
- dependency-name: github.com/envoyproxy/go-control-plane
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]
e6c82825ce
build(deps): bump github.com/gophercloud/gophercloud ( #9761 )
...
Bumps [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud ) from 0.22.0 to 0.23.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.22.0...v0.23.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>
3 years ago
dependabot[bot]
eb1bcd4005
build(deps): bump github.com/digitalocean/godo from 1.69.1 to 1.71.0 ( #9764 )
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.69.1 to 1.71.0.
- [Release notes](https://github.com/digitalocean/godo/releases )
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalocean/godo/compare/v1.69.1...v1.71.0 )
---
updated-dependencies:
- dependency-name: github.com/digitalocean/godo
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]
f1ff5fbe48
build(deps): bump github.com/Azure/go-autorest/autorest ( #9753 )
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.11.21 to 0.11.22.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.21...autorest/v0.11.22 )
---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest
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
dependabot[bot]
048ce43a8b
build(deps): bump google.golang.org/api from 0.59.0 to 0.60.0 ( #9754 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.59.0 to 0.60.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.59.0...v0.60.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>
3 years ago
dependabot[bot]
951f72341b
build(deps): bump github.com/docker/docker ( #9752 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.9+incompatible to 20.10.10+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.9...v20.10.10 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
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
dependabot[bot]
cc3a6c17fd
build(deps): bump github.com/Azure/go-autorest/autorest/adal ( #9756 )
...
Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest ) from 0.9.16 to 0.9.17.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/adal/v0.9.16...autorest/adal/v0.9.17 )
---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest/adal
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
dependabot[bot]
b71c15a548
build(deps): bump github.com/Azure/azure-sdk-for-go ( #9751 )
...
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go ) from 58.2.0+incompatible to 58.3.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v58.2.0...v58.3.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go
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]
0986a1d97d
build(deps): bump k8s.io/client-go from 0.22.2 to 0.22.3 ( #9743 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.22.2 to 0.22.3.
- [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.22.2...v0.22.3 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
5bec690282
build(deps): bump github.com/hetznercloud/hcloud-go ( #9742 )
...
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go ) from 1.32.0 to 1.33.1.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases )
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/master/CHANGES.md )
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.32.0...v1.33.1 )
---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go
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]
235cab458a
build(deps): bump github.com/envoyproxy/protoc-gen-validate ( #9739 )
...
Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases )
- [Commits](https://github.com/envoyproxy/protoc-gen-validate/compare/v0.6.1...v0.6.2 )
---
updated-dependencies:
- dependency-name: github.com/envoyproxy/protoc-gen-validate
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
dependabot[bot]
81e611b753
build(deps): bump github.com/aws/aws-sdk-go from 1.41.7 to 1.42.4 ( #9740 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.41.7 to 1.42.4.
- [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.41.7...v1.42.4 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
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]
e60d47ddab
build(deps): bump k8s.io/apimachinery from 0.22.2 to 0.22.3 ( #9741 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.22.2 to 0.22.3.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.22.2...v0.22.3 )
---
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
Ben Kochie
92ba644a37
Bump indirect modules ( #9562 )
...
Update to current versions for indirect modules.
Signed-off-by: SuperQ <superq@gmail.com>
3 years ago
Julien Pivotto
4c088ba8ba
Update go dependencies ( #9555 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julien Pivotto
77f411b2ec
Enable tls_config in oauth2 ( #9550 )
...
* Enable tls_config in oauth2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julien Pivotto
df1bae0514
Add support for security-related HTTP headers ( #9546 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Witek Bedyk
cda2dbbef6
Add Uyuni service discovery ( #8190 )
...
* Add Uyuni service discovery
Signed-off-by: Witek Bedyk <witold.bedyk@suse.com>
Co-authored-by: Joao Cavalheiro <jcavalheiro@suse.de>
Co-authored-by: Marcelo Chiaradia <mchiaradia@suse.com>
Co-authored-by: Stefano Torresi <stefano@torresi.io>
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
3 years ago
Ganesh Vernekar
f69e4590fb
Merge remote-tracking branch 'upstream/main' into merge-release-2.30 and upgrade prometheus/common to v0.31.1
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Ganesh Vernekar
168012f2bd
Upgrade prometheus/common to v0.30.1 ( #9408 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Julien Pivotto
63b3e4e5ec
Enable HTTP2 again ( #9398 )
...
We are re-enabling HTTP 2 again. There has been a few bugfixes upstream
in go, and we have also enabled ReadIdleTimeout.
Fix #7588
Fix #9068
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
hanjm
d1b16b4f21
Upgrade github.com/alecthomas/units, which implement encoding.TextMarshaler
...
Signed-off-by: hanjm <hanjinming@outlook.com>
3 years ago
Ganesh Vernekar
1a5b21b78b
Update dependencies for v2.30.0 ( #9308 )
...
* Update Go dependencies
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Update React dependencies
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Levi Harrison
bd57cd395e
Switch to common/sigv4
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Frederic Branczyk
a266d4d2c5
Update Go dependencies
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
3 years ago
Julien Pivotto
4b5b061427
Merge pull request #9127 from codesome/containerd
...
Upgrade containerd to v1.5.4
3 years ago
Ganesh Vernekar
79cfe2d1ec
Upgrade containerd to v1.5.4
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Julien Pivotto
8b716d8db7
Merge pull request #9123 from LeviHarrison/change-tls-doc
...
Add notice to TLS to `client_auth_type`
3 years ago
Levi Harrison
72865de915
Update exporter-toolkit
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Julien Pivotto
04f33e88f7
Merge pull request #9121 from LeviHarrison/revert-klog-fix
...
Revert klog fix
3 years ago
Levi Harrison
c57afc1583
Added go-kit klog v3
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
58556c19be
Revert "Fix logging after the move to go-kit/log ( #9021 )"
...
This reverts commit 642722e5d0
.
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Bryan Boreham
dea37853d9
tsdb: use dennwc/varint to speed up WAL decoding ( #9106 )
...
* tsdb: use dennwc/varint to speed up decoding
This is a tiny library, MIT-licensed, which unrolls the loop to go
about twice as fast.
Needed to copy the sign-inverting logic inline, previously provided by
the `binary` package.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* More comments to explain varint decoding
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 years ago
austin ce
d0ffe2ed3e
Add base xDS discovery and kuma SD implementation
...
Signed-off-by: austin ce <austin.cawley@gmail.com>
3 years ago
SuperQ
9e31e0a131
Update Go modules
...
Update several indirect dependencies. Cleanups up some obsolete indirect
requirements.
* github.com/HdrHistogram/hdrhistogram-go@v1.1.0
* github.com/containerd/containerd@v1.5.3
Signed-off-by: SuperQ <superq@gmail.com>
3 years ago
Julius Volz
441e6cd7d6
Merge release-2.28 back into main ( #9035 )
...
* Cut v2.28.0-rc.0 (#8954 )
* Cut v2.28.0-rc.0
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Changelog fixup
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Downgrade some features to enhancements
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Adjust release date to today
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Migrate HTTP SD docs from docs repo (#8972 )
See discussion in https://github.com/prometheus/docs/pull/1975
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Cut Prometheus v2.28.0 (#8973 )
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* HTTP SD: Allow charset in content type (#8981 )
* Added content type regex
Signed-off-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* fixed disappeared target groups in http_sd #9019
Signed-off-by: servak <fservak@gmail.com>
* Add a testcase for http-sd
Signed-off-by: servak <fservak@gmail.com>
* HTTP SD: Simplify logic of disappeared targetgroups (#9026 )
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Fix logging after the move to go-kit/log (#9021 )
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Cut Prometheus v2.28.1 (#9034 )
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Co-authored-by: Levi Harrison <git@leviharrison.dev>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Co-authored-by: servak <fservak@gmail.com>
3 years ago
Julien Pivotto
ea3728bcac
go.mod: Exclude de-published linode v1.0.0 ( #8941 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julius Volz
cea9486918
Update Go dependencies before release ( #8936 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Levi Harrison
01dd0e0963
Added go-kit/log and removed go-kit/kit/log in go.mod
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
4 years ago
Austin Cawley-Edwards
301815e48b
Update prometheus-common and the consul HTTP client ( #8913 )
...
* Update to prometheus-common@v0.29.0
Signed-off-by: austin ce <austin.cawley@gmail.com>
4 years ago
TJ Hoplock
dc22c65349
Add Linode Service Discovery ( #8846 )
...
* Add Linode Service Discovery
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
4 years ago
Chris Marchbanks
45c7c51a3b
Update go dependencies
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
4 years ago
Levi Harrison
fa184a5fc3
Add OAuth 2.0 Config ( #8761 )
...
* Introduced oauth2 config into the codebase
Signed-off-by: Levi Harrison <git@leviharrison.dev>
4 years ago
Marco Pracucci
4da5c25ea4
Upgrade prometheus/common to v0.21.0
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
4 years ago
Bogdan Drutu
d1ced85d7a
Bump k8s.io/* from 0.20.5 to 0.21.0 ( #8714 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
4 years ago
Ben Kochie
f0bccba1c3
Update Go modules for 2.26 ( #8636 )
...
* Update Go modules for 2.26
Bump all Go modules to the latest upstream.
Signed-off-by: Ben Kochie <superq@gmail.com>
* Fix promtool for new client_golang
LabelValues now requires a list of string matchers.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Julien Pivotto
01995f9d8e
Error on duration overflow
...
Fix #8526
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Łukasz Mierzwa
d941634926
use golang/snappy v0.0.3
...
v0.0.2 crashes on arm64 (at least on M1 mac), v0.0.3 contains a fix for that.
See 674baa8c7f
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
4 years ago
Rémy Léone
f690b811c5
add support for scaleway service discovery ( #8555 )
...
Co-authored-by: Patrik <patrik@ptrk.io>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: Rémy Léone <rleone@scaleway.com>
4 years ago
Julien Pivotto
93c6139bc1
Support follow_redirect
...
This PR introduces support for follow_redirect, to enable users to
disable following HTTP redirects.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
8787f0aed7
Update common to support credentials type
...
Most of the backwards compat tests is done in common.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
120a84da5d
zookeeper: change upstream to github.com/go-zookeeper/zk
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
718df82e09
Update azure to test pull request fuzzing
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
90a8cb263e
Update dependencies
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Simon Pasquier
cf269b7ddd
Update github.com/gogo/protobuf to v1.3.2
...
Fix for CVE-2021-3121
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
beorn7
806a799195
Update exporter-toolkit dependency to 0.5.1
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
Julien Pivotto
5b4f46a348
Add TLS and basic authentication
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
beorn7
da1ca868d1
Update dependencies prior to releasing v2.24
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
Ganesh Vernekar
8cc94fac93
Update dependencies for v2.23 ( #8203 )
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
Julien Pivotto
4e5b1722b3
Move away from testutil, refactor imports ( #8087 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Bartlomiej Plotka
9981b3f3ee
labels: Reduce allocated memory and latency of Hash method; Added tests. ( #8025 )
...
* labels: Reduce allocated memory by Hash method in edge cases; Added tests.
Old:
/tmp/___BenchmarkLabels_Hash_in_github_com_prometheus_prometheus_pkg_labels -test.v -test.bench ^\QBenchmarkLabels_Hash\E$ -test.run ^$
goos: linux
goarch: amd64
pkg: github.com/prometheus/prometheus/pkg/labels
BenchmarkLabels_Hash
BenchmarkLabels_Hash/typical_labels_under_1KB
BenchmarkLabels_Hash/typical_labels_under_1KB-12 5366161 259 ns/op 0 B/op 0 allocs/op
BenchmarkLabels_Hash/bigger_labels_over_1KB
BenchmarkLabels_Hash/bigger_labels_over_1KB-12 1700371 767 ns/op 2048 B/op 1 allocs/op
BenchmarkLabels_Hash/extremely_large_label_value_10MB
BenchmarkLabels_Hash/extremely_large_label_value_10MB-12 356 3743115 ns/op 10523442 B/op 1 allocs/op
PASS
New:
/tmp/___BenchmarkLabels_Hash_in_github_com_prometheus_prometheus_pkg_labels -test.v -test.bench ^\QBenchmarkLabels_Hash\E$ -test.run ^$
goos: linux
goarch: amd64
pkg: github.com/prometheus/prometheus/pkg/labels
BenchmarkLabels_Hash
BenchmarkLabels_Hash/typical_labels_under_1KB
BenchmarkLabels_Hash/typical_labels_under_1KB-12 4758883 259 ns/op 0 B/op 0 allocs/op
BenchmarkLabels_Hash/bigger_labels_over_1KB
BenchmarkLabels_Hash/bigger_labels_over_1KB-12 3324492 357 ns/op 80 B/op 1 allocs/op
BenchmarkLabels_Hash/extremely_large_label_value_10MB
BenchmarkLabels_Hash/extremely_large_label_value_10MB-12 1087 1083949 ns/op 9734 B/op 1 allocs/op
PASS
Process finished with exit code 0
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
* Addressed Kemal's comment.
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
* Moved to v2 xxhash for improvements.
New:
/tmp/___BenchmarkLabels_Hash_in_github_com_prometheus_prometheus_pkg_labels -test.v -test.bench ^\QBenchmarkLabels_Hash\E$ -test.run ^$ -test.benchtime 10s
goos: linux
goarch: amd64
pkg: github.com/prometheus/prometheus/pkg/labels
BenchmarkLabels_Hash
BenchmarkLabels_Hash/typical_labels_under_1KB
BenchmarkLabels_Hash/typical_labels_under_1KB-12 53447894 221 ns/op 0 B/op 0 allocs/op
BenchmarkLabels_Hash/bigger_labels_over_1KB
BenchmarkLabels_Hash/bigger_labels_over_1KB-12 42341754 326 ns/op 0 B/op 0 allocs/op
BenchmarkLabels_Hash/extremely_large_label_value_10MB
BenchmarkLabels_Hash/extremely_large_label_value_10MB-12 10000 1248546 ns/op 0 B/op 0 allocs/op
PASS
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
* Removed old xxhash package.
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
* Pined minor version.
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
4 years ago
Frederic Branczyk
a58489857d
*: Update go dependencies
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
4 years ago
Simon Pasquier
9bb3555fe4
cmd/prometheus: support k8s.io/klog/v2
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Simon Pasquier
52c4da161f
Bump Kubernetes dependencies
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Daniil Rutskiy
63457ef239
Vendor prometheus/common v0.14.0
...
Signed-off-by: Daniil Rutskiy <dstdfx@gmail.com>
4 years ago
Tobias Klauser
b5b3bc34da
tsdb/fileutil: Use FcntlFstore from golang.org/x/sys/unix ( #7949 )
...
Direct syscalls using syscall.Syscall(SYS_*, ...) should no longer be
used on darwin, see [1]. Instead, use the FcntlFstore libSystem wrapper
provided by the golang.org/x/sys/unix package to implement
preallocFixed.
[1] https://golang.org/doc/go1.12#darwin
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
4 years ago
Julien Pivotto
e208afcc95
web: Remove APIv2 ( #7935 )
...
* web: Remove APIv2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
d668a7efe3
Update go dependencies ( #7837 )
...
Update dependencies before 2.21 release
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Lukas Kämmerling
b6955bf1ca
Add hetzner service discovery ( #7822 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
4 years ago
Andy Bursavich
4e6a94a27d
Invert service discovery dependencies ( #7701 )
...
This also fixes a bug in query_log_file, which now is relative to the config file like all other paths.
Signed-off-by: Andy Bursavich <abursavich@gmail.com>
4 years ago
Julien Pivotto
d867491364
Human-friendly durations in PromQL ( #7713 )
...
* Add support for user-friendly durations
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Javier Palomo Almena
348ff4285f
tsdb: Replace sync/atomic with uber-go/atomic in tsdb ( #7659 )
...
* tsdb/chunks: Replace sync/atomic with uber-go/atomic
Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>
* tsdb/heaad: Replace sync/atomic with uber-go/atomic
Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>
* vendor: Make go.uber.org/atomic a direct dependency
There is no modifications to go.sum and vendor/ because
it was already vendored.
Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>
* tsdb: Remove comments referring to the sync/atomic alignment bug
Related: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>
4 years ago
Julien Pivotto
6f296594a8
Update go deps + use exclude directive ( #7624 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
62805b2fe9
tsdb: test for leaks ( #7566 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Ganesh Vernekar
26044045b9
Downgrade grpc to v1.29.1
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
beorn7
ddefee52dc
Update dependencies
...
Note that by just running `make update-go-deps`, the K8s Go client was
set to `k8s.io/client-go v11.0.0+incompatible`. However, that doesn't
play well with `k8s.io/apimachinery v0.18.5`. I the manually changed
the Go client line to `k8s.io/client-go v0.18.5`, which made
everything work. I guess Go Modules got confused by the ginormous
v11.0.0 version tag. Or it is a problem that pulling k8s.io/client-go
with git results in a rather old repo without the v0.18.5
tag. github.com/kubernetes/client-go has all the right tags. I
actually don't understand how Go Modules still correctly figures out
the source from the `k8s.io/client-go v0.18.5` line.
If one of the reviewers could enlighten me, I'd much appreciate it.
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
Julien Pivotto
57aac73e47
Downgrade docker dependency to the stable branch ( #7524 )
...
This PR downgrades the docker dependency to the stable 19.03 branch.
It means that we will negociate 1.40 by default and not the uncomplete
1.41 API.
It was not possible to use the stable branch before because a patch
was pending to build on netbsd and dragonfly:
a40b877fbb
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
yeya24
797e48c1a3
support time range in promtool query labels
...
Updated prometheus/client_golang and json-iterator/go
Signed-off-by: yeya24 <yb532204897@gmail.com>
4 years ago
Julien Pivotto
59de58d380
Docker Swarm service discovery ( #7420 )
...
* Docker Swarm service discovery
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
c61141ce51
Add DigitalOcean service discovery ( #7407 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Ganesh Vernekar
c729df3d0f
Update dependencies ( #7331 )
...
* Update dependencies
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Update protos
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Tariq Ibrahim
06a6621b6c
update kubernetes to v1.18.x and update ingress apiVersion
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
5 years ago
Julien Pivotto
000ba35277
Update prometheus/common to v0.10.0 ( #7258 )
...
Enable HTTP/2.
Fixes #5938
Fixes #7237
Add support for "0" duration.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
b03bc16623
Update yamlv3 ( #7207 )
...
This update fixes https://github.com/go-yaml/yaml/issues/575 , required
by downstream.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Hongcai Ren
1c48005911
bump client golang to v1.6.0 ( #7191 )
...
* bump github.com/prometheus/client_golang to v1.6.0
Signed-off-by: RainbowMango <renhongcai@huawei.com>
5 years ago
Bartlomiej Plotka
dbc9bd7948
Updared mod as suggested by Julien
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
5 years ago
Bartlomiej Plotka
94baacdd93
Moved down all k8s.io deps to old version.
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
5 years ago
Bartlomiej Plotka
8e247ba0ba
Moved back k8s-client.
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
5 years ago
Bartlomiej Plotka
86ff4a1717
Updated all deps.
...
Pinned github.com/googleapis/gnostic as they introduced braking change.
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
5 years ago
Vasily Sliouniaev
0393b188c9
Add Jaeger ( #7148 )
...
* Trace remote read
Signed-off-by: vas <vasily.sliouniaev@jet.com>
* Use jaeger
Signed-off-by: vas <vasily.sliouniaev@jet.com>
5 years ago
Bartlomiej Plotka
104a1313d4
testutil: Enriched Equals with diff on error. ( #7053 )
...
## Example:
```
exp: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e160), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e180), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e1a0), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e1c0), MinTime:24, MaxTime:6}}
got: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e280), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e2a0), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e220), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e240), MinTime:6, MaxTime:6}}
```
Now:
```
exp: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e740), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e760), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e780), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e7a0), MinTime:24, MaxTime:6}}
got: []chunks.Meta{chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e800), MinTime:1, MaxTime:2}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e820), MinTime:3, MaxTime:3}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e860), MinTime:5, MaxTime:5}, chunks.Meta{Ref:0x0, Chunk:(*chunkenc.XORChunk)(0xc00000e880), MinTime:6, MaxTime:6}}
Diff:
--- Expected
+++ Actual
@@ -50,3 +50,3 @@
}),
- MinTime: (int64) 24,
+ MinTime: (int64) 6,
MaxTime: (int64) 6
```
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
5 years ago
Julien Pivotto
ef138a11c8
Update client_golang to fix promhttp error handling ( #6986 )
...
Fixes #6139
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
a17ddcf0f9
update vendor ( #6936 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
ef63d8d16d
Update vendors
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
29086533fd
web: use chained WithInstrumentation ( #6661 )
...
* web: use chained WithInstrumentation
Requires an update of github.com/prometheus/common
* Update yaml.v2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Harkishen Singh
84e6459c4d
Adds support for line-column numbers for invalid rules, promtool ( #6533 )
...
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
5 years ago
Mitsuhiro Tanda
466cc36ba0
upgrade aws-sdk-go ( #6429 )
...
Signed-off-by: Mitsuhiro Tanda <mitsuhiro.tanda@gmail.com>
5 years ago
Tariq Ibrahim
83e6d56393
clean up indirects in go.mod manifest ( #6249 )
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
5 years ago
Tariq Ibrahim
89e610ef4c
bump go version in go.mod ( #6194 )
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
5 years ago
Krasi Georgiev
5b8ff9b8a4
Merge the 2.13 release branch ( #6169 )
...
* Include tsdb tool in builds (#6085 ) (#6089 )
Add the tsdb tool to promu so that it's included in the release
tarballs.
Signed-off-by: Ben Kochie <superq@gmail.com>
* web/ui: fix for CVE-2019-10215 (#6098 )
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* cut 2.13 release (#6099 )
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
* Fix panic in ARM builds of Prometheus (#6110 )
An extra sync.Pool was added during a refactor which caused some 64 bit,
atomically accessed variables to no longer be 64 bit aligned. By moving
all atomically accessed variables to the beginning of the struct they
are guaranteed to be 64 bit aligned.
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
* promql: fix potential panic in the query logger (#6094 )
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Cut release 2.13.1 (#6145 )
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
5 years ago
Goutham Veeramachaneni
4c648eddf4
vendor: Update json-iterator ( #6030 )
...
Also add explicit support for NaN/Inf
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
5 years ago
Simon Pasquier
ca424695a6
*: bump Go version to 1.13 ( #6020 )
...
* *: bump Go version to 1.13
* Fix go.mod for k8s.io/client-go
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
Micah Hausler
5774d790a5
Updated AWS SDK to v1.23.12 ( #5973 )
...
Signed-off-by: Micah Hausler <mhausler@amazon.com>
5 years ago
Julius Volz
b5c833ca21
Update go.mod dependencies before release ( #5883 )
...
* Update go.mod dependencies before release
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Add issue for showing query warnings in promtool
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Revert json-iterator back to 1.1.6
It produced errors when marshaling Point values with special float
values.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Fix expected step values in promtool tests after client_golang update
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Update generated protobuf code after proto dep updates
Signed-off-by: Julius Volz <julius.volz@gmail.com>
5 years ago
Ganesh Vernekar
5ecef3542d
Cleanup after merging tsdb into prometheus
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Chris Marchbanks
529ccff07b
Remove all usages of stretchr/testify
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
5 years ago
Advait Bhatwadekar
5d401f1e1b
Added query logging for prometheus. Issue #1315 ( #5794 )
...
* Added query logging for prometheus.
Options added:
1) active.queries.filepath: Filename where queries will be recorded
2) active.queries.filesize: Size of the file where queries will be recorded.
Functionality added:
All active queries are now logged in a file. If prometheus crashes unexpectedly, these queries are also printed out on stdout in the rerun.
Queries are written concurrently to an mmaped file, and removed once they are done. Their positions in the file are reused. They are written in json format. However, due to dynamic nature of application, the json has an extra comma after the last query, and is missing an ending ']'. There may also null bytes in the tail of file.
Signed-off-by: Advait Bhatwadekar <advait123@ymail.com>
5 years ago
Ganesh Vernekar
87a0fe0c75
Merge pull request #5793 from codesome/tsdb-vendor
...
Vendor tsdb v0.10.0
5 years ago
Ganesh Vernekar
c782d29310
Vendor tsdb 0.10.0
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Jeffery To
d91f724637
Update fsnotify to v1.4.7 ( #5792 )
...
fsnotify v1.3.1 uses unix.InotifyInit() which is not available on
mips64/mips64le. Updating to a newer version allows builds to succeed on
these platforms.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
5 years ago
Simon Pasquier
fb2b3c2b0b
Bump github.com/influxdata/influxdb ( #5784 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
Tariq Ibrahim
aacacd635c
Add k8s 1.15.1 as a vendor dependency.
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
5 years ago
Tariq Ibrahim
9fe9e66cfd
remove the dependency on cockroachdb in prometheus
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
5 years ago
Chris Marchbanks
475ca2ecd0
Update to tsdb 0.9.1
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
5 years ago
Max Leonard Inden
41c22effbe
config¬ifier: Add option to use Alertmanager API v2
...
With v0.16.0 Alertmanager introduced a new API (v2). This patch adds a
configuration option for Prometheus to send alerts to the v2 endpoint
instead of the defautl v1 endpoint.
Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
6 years ago
Björn Rabenstein
372b3438e5
Update prometheus/client_golang to v1.0.0 ( #5682 )
...
Signed-off-by: beorn7 <beorn@grafana.com>
6 years ago
Tariq Ibrahim
1c0df5b7d1
update consul and dns dependencies
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
6 years ago
beorn7
12536f3027
Update prometheus/client_golang and prometheus/tsdb modules
...
Signed-off-by: beorn7 <bjoern@rabenste.in>
6 years ago
mrasu
3a7a743bc4
Consistent Content-Type for js and css ( #5551 )
...
Currently, When `/etc/mime.types` has a unusual mime type, web of prometheus uses the type and you may get unexpected result.
With this change, web returns consistent Content-Type header for static js and css files
To reproduce:
1. Add a type at the end of `/etc/mime` like `text/x-js js`
2. Run prometheus
3. Request js file like `http://localhost:9090/static/vendor/js/jquery.min.js `
4. You will see Content-Type of the response is `text/x-js` instead of `application/javascript`
Signed-off-by: mrasu <m.rasu.hitsuji@gmail.com>
6 years ago
Frederic Branczyk
c790d7658c
Merge pull request #5491 from metalmatze/rungroup
...
Use github.com/oklog/run not archived oklog/oklog
6 years ago
Frederic Branczyk
f874555a0d
Merge pull request #5486 from tariq1890/update_kubernetes
...
update client-go,api,api-machinery and klog dependencies
6 years ago
Brian Brazil
aabac9be52
Upgrade tsdb to 0.7.1 ( #5502 )
...
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
6 years ago
Tariq Ibrahim
00036cd1e5
update client-go,api,api-machinery and klog dependencies
...
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
6 years ago
Matthias Loibl
388caa06ac
Use github.com/oklog/run not archived oklog/oklog
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
6 years ago
Brian Brazil
8ff6938fa4
Update dependencies. ( #5449 )
...
Including going to tsdb 0.7.0.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
6 years ago
Simon Pasquier
c1682adb2f
Bump prometheus/common to v0.3.0 ( #5344 )
...
* Reload certificates from disk automatically
This change bumps github.com/prometheus/common to include
https://github.com/prometheus/common/pull/173
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* scrape: close idle connections on reload/stop
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* use v0.3.0 tag
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
81c4248081
*: bump gRPC and protobuf dependencies ( #5367 )
...
The goal is to remove almost all references to the
golang.org/x/net/context package.
github.com/gogo/protobuf => v1.2.1
google.golang.org/grpc => v1.19.1
github.com/grpc-ecosystem/grpc-gateway => v1.18.5
It also replaces github.com/cockroachdb/cmux by github.com/soheilhy/cmux
because of [1] which fixes #3909 incidentally.
[1] https://github.com/grpc/grpc-go/issues/2636
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
tariqibrahim
be394823c6
import the latest patch release of client_golang in prometheus
...
Signed-off-by: tariqibrahim <tariq181290@gmail.com>
6 years ago
Simon Pasquier
2833ad490b
vendor: bump github.com/hashicorp/serf ( #5378 )
...
hashicorp/serf is only required as a dependency of hashicorp/consul so
bumping the version has no direct consequence for Prometheus itself. The
net gain is that we don't depend anymore on launchpad.net/gocheck which
required the bzr binary to be installed.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Simon Pasquier
67385f356f
discovery/openstack: pass context to the OpenStack client ( #5231 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Callum Styan
83c46fd549
update Consul vendor code so that catalog.ServiceMultipleTags can be ( #5151 )
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
6 years ago
Ganesh Vernekar
adbb57d5f0
Update tsdb to 0.6.1
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
6 years ago
Krasi Georgiev
1684dc750a
updated tsdb to 0.6.0 ( #5292 )
...
* updated tsdb to 0.6.0
as part of the update also added the new storage.tsdb.allow-overlapping-blocks flag and mark it as experimental.
6 years ago
Tom Wilkie
92fcf375b0
Update vendored TSDB version.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
6 years ago
Tom Wilkie
d6f911b511
Factor out logging ratelimit & dedupe middleware.
...
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
6 years ago
Erik Hollensbe
9154e9aca8
Add miekg/dns 1.1.4
...
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
6 years ago
Tariq Ibrahim
f4275d2352
Use the latest versions of azure go sdk and go-autorest ( #5015 )
...
Signed-off-by: tariqibrahim <tariq181290@gmail.com>
6 years ago
Krasi Georgiev
3bd41cc92c
Udpate tsdb to 0.4 ( #5110 )
...
* update tsdb to v0.4.0
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
* remove unused struct field
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
6 years ago
Simon Pasquier
375ad1185c
*: bump gRPC dependencies ( #5075 )
...
* *: bump gRPC dependencies
This change updates the gRPC dependencies to more recent versions:
* github.com/gogo/protobuf => v1.2.0
* github.com/grpc-ecosystem/grpc-gateway => v1.6.3
* google.golang.org/grpc => v1.17.0
In addition scripts/genproto.sh leverages Go modules information instead of
hardcoding SHA1 commits. This ensures that the code is generated from
the exact same sources.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Run 'make proto' in CI
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Revert tabs -> spaces change
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Fix 'make proto' step
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* 'go get' grpc/protobuf dependencies
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Prepopulate cache with go mod download
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Kevin Bulebush
718344434c
openstack_sd: Supporting application credential for authentication. ( #4968 )
...
* openstack_sd: Support application credentials for authentication.
Updated gophercloud
Signed-off-by: Kevin Bulebush <kmbulebu@gmail.com>
6 years ago
tariqibrahim
9b4a25e7b0
use klog dependency
...
Signed-off-by: tariqibrahim <tariq181290@gmail.com>
6 years ago
tariqibrahim
aa94efe4b5
Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
6 years ago
glutamatt
5ddde1965b
tune the "Wal segment size" with a flag ( #5029 )
...
Add WALSegmentSize as an option, and the corresponding flag "storage.tsdb.wal-segment-size" to tune the max size of wal segment files.
The addressed base problem is to reduce the disk space used by wal segment files : on a raspberry pi, for instance, we often want to reduce write load of the sd card, then, the wal directory is mounted on a memory (space limited) partition.
the default value of the segment max file size, pushed the size of directory to 128 MB for each segment , which is too much ram consumption on a rasp.
the initial discussion is at https://github.com/prometheus/tsdb/pull/450
6 years ago
tariqibrahim
1e4e4c46ba
Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago
tariqibrahim
b883f6826b
updating k8s.io/api to v1.13.1
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago
Krasi Georgiev
26a360341a
update tsdb to 0.3.1 ( #4997 )
...
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
6 years ago
tariqibrahim
8264d41ebf
Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
6 years ago
tariqibrahim
1fd438ed2b
rebase and resolve merge conflicts
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago
Krasi Georgiev
7fc501d983
update tsdb to version v0.3.0 ( #4953 )
...
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
6 years ago
Simon Pasquier
ac9d5f3d53
cmd/prometheus: replace glog by glog-gokit ( #4931 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
tariqibrahim
412ca33226
update kubernetes deps to v1.13.0
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago
tariqibrahim
e4222b1223
update client-go to v9.0.0 and other k8s deps to v1.12.3
...
Signed-off-by: tariqibrahim <tariq.ibrahim@microsoft.com>
6 years ago