Levi Harrison
bf264f2021
Add pod_container_image label to docs ( #11146 )
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2022-08-11 20:16:28 +02:00
Jesus Vazquez
e9456018fa
Merge pull request #314 from grafana/jvp/fix-ooo-head-postingsformatchers-and-labelvalues
...
Fix OOO Head LabelValues and PostingsForMatchers
2022-08-11 16:23:28 +02:00
Jesus Vazquez
6bff0d9113
Add suggestions to labelValues test
...
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
2022-08-11 16:08:49 +02:00
Björn Rabenstein
bcd548c88b
Merge pull request #10076 from mtfoley/docs-deriv
...
docs: update function docs on deriv
2022-08-11 11:49:21 +02:00
Oleg Zaytsev
c40ecf4bae
Merge pull request #313 from grafana/load-ooo-time-window-once-per-appender
...
Load OutOfOrderTimeWindow only once per appender
2022-08-11 11:09:32 +02:00
Oleg Zaytsev
b87c54de14
Load OutOfOrderTimeWindow only once per appender
...
We're loading the time window once per each Append() call, plus once in
the Commit(). While not extremely expensive, atomic operations are also
not cheap.
Additionally, it makes sense to keep the window consistent for a single
append.
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2022-08-11 10:46:12 +02:00
Oleg Zaytsev
0dbfff0bc5
Merge pull request #316 from grafana/jvp/remove-redundant-lint-job
...
Remove redundant CI Lint job
2022-08-11 10:45:54 +02:00
Jesus Vazquez
14ec85d4d2
Fix LabelValues test
2022-08-11 10:29:06 +02:00
Jesus Vazquez
3473058073
Start writing OOOHeadIndexReader LabelValues test
...
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
2022-08-10 23:38:02 +02:00
Jesus Vazquez
7368402054
Fix OOO Head LabelValues and PostingsForMatchers
...
OOOHeadIndexReader was using the headIndexReader PostingsForMatchers()
and LabelValues() implementation which lead to a very subtle bug that
led to wrong query results.
headIndexReader LabelValues() implementation checks if the query
timerange overlaps with the head maxt and mint and if it doesnt it
returns an empty list of values. Since this code was also used by the
ooo head it led to wrong results that we were not able to see in tests
because our queries where always from MinInt64 to MaxInt64. This commit
also adds a new test that performs multiple time range queries to make
sure this never happens again.
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
2022-08-10 23:14:19 +02:00
Jesus Vazquez
628f66d19a
Remove redundant CI Lint job
2022-08-10 22:32:19 +02:00
Julius Volz
d33ce990b9
Update Go dependencies ahead of v2.38 ( #11141 )
...
* Update Go dependencies ahead of v2.38
I skipped an update for the Azure client libraries because that was too
involved and needs some migration work from Azure SD maintainers.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Run "go mod tidy" again
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-08-10 21:18:55 +02:00
beorn7
c9fd3c235d
Merge branch 'main' into sparsehistogram
2022-08-10 17:54:37 +02:00
Karl Piplies
cc469e0085
documentation for the loadbalancerip
...
Signed-off-by: Karl Piplies <karl.piplies@mercedes-benz.com>
2022-08-10 12:40:11 +02:00
Karl Piplies
3782cb40d5
add loadbalancerip to service labels
...
Signed-off-by: Karl Piplies <karl.piplies@mercedes-benz.com>
2022-08-10 12:40:11 +02:00
Levi Harrison
fa9bc5184a
Update and fix interface ( #11131 )
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2022-08-10 10:14:52 +02:00
Ganesh Vernekar
01b03b7f85
Prevent panic with ApplyConfig ( #312 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-08-09 19:25:17 +05:30
dependabot[bot]
d91621890a
build(deps): bump github.com/hetznercloud/hcloud-go ( #11096 )
...
Bumps [github.com/hetznercloud/hcloud-go](https://github.com/hetznercloud/hcloud-go ) from 1.35.0 to 1.35.2.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases )
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/hetznercloud/hcloud-go/compare/v1.35.0...v1.35.2 )
---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-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>
2022-08-06 19:52:14 +02:00
dependabot[bot]
c8df08109b
build(deps): bump github.com/go-zookeeper/zk from 1.0.2 to 1.0.3 ( #11108 )
...
Bumps [github.com/go-zookeeper/zk](https://github.com/go-zookeeper/zk ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/go-zookeeper/zk/releases )
- [Commits](https://github.com/go-zookeeper/zk/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: github.com/go-zookeeper/zk
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>
2022-08-06 13:38:59 -04:00
dependabot[bot]
583f603387
build(deps): bump google.golang.org/api from 0.90.0 to 0.91.0 ( #11129 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.90.0 to 0.91.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.90.0...v0.91.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>
2022-08-06 19:38:02 +02:00
dependabot[bot]
2773aa2a72
build(deps): bump github.com/go-openapi/strfmt from 0.21.2 to 0.21.3 ( #11114 )
...
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt ) from 0.21.2 to 0.21.3.
- [Release notes](https://github.com/go-openapi/strfmt/releases )
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.21.2...v0.21.3 )
---
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>
2022-08-06 12:21:21 -04:00
dependabot[bot]
998decc55c
build(deps): bump github.com/ionos-cloud/sdk-go/v6 from 6.1.1 to 6.1.2 ( #11121 )
...
Bumps [github.com/ionos-cloud/sdk-go/v6](https://github.com/ionos-cloud/sdk-go ) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/ionos-cloud/sdk-go/releases )
- [Changelog](https://github.com/ionos-cloud/sdk-go/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/ionos-cloud/sdk-go/compare/v6.1.1...v6.1.2 )
---
updated-dependencies:
- dependency-name: github.com/ionos-cloud/sdk-go/v6
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>
2022-08-06 12:20:55 -04:00
dependabot[bot]
eed5b14a13
build(deps): bump github.com/Azure/go-autorest/autorest ( #11122 )
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.11.27 to 0.11.28.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.11.27...autorest/v0.11.28 )
---
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>
2022-08-06 12:20:11 -04:00
Chris Sinjakli
fba20567c0
Document permissions needed for ec2_sd_configs
( #11119 )
...
Currently, it's not explicitly called out which permissions are needed
for service discovery of EC2 instances. It's not super hard to figure
out, but it did involve a bit of guesswork when I did it yesterday, and
I figure it's worth saving people that effort.
I've also seen examples around the internet where people are granting
much broader permissions than they need to, so maybe we can save on that
by explicitly saying what's needed.
Signed-off-by: Chris Sinjakli <chris@sinjakli.co.uk>
2022-08-05 15:49:38 +02:00
dependabot[bot]
8bcad096ed
build(deps): bump github.com/digitalocean/godo from 1.81.0 to 1.82.0 ( #11117 )
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.81.0 to 1.82.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.81.0...v1.82.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>
2022-08-05 14:03:47 +02:00
dependabot[bot]
daeb7fe469
build(deps): bump github.com/Azure/go-autorest/autorest/adal ( #11110 )
...
Bumps [github.com/Azure/go-autorest/autorest/adal](https://github.com/Azure/go-autorest ) from 0.9.20 to 0.9.21.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/adal/v0.9.20...autorest/adal/v0.9.21 )
---
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>
2022-08-04 23:54:46 +02:00
dependabot[bot]
dd0a11ae7a
build(deps): bump k8s.io/client-go from 0.24.2 to 0.24.3 ( #11111 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.24.2 to 0.24.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.24.2...v0.24.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>
2022-08-04 13:44:44 +02:00
Xiaochao Dong
1078081aec
Fix race condition when updating lastSeriesID during loading chunk snapshot ( #11099 )
...
Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com>
2022-08-04 13:39:14 +05:30
dependabot[bot]
4035b38c59
build(deps): bump golang.org/x/tools from 0.1.11 to 0.1.12 ( #11101 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.11...v0.1.12 )
---
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>
2022-08-03 18:37:01 +05:30
Julien Pivotto
765320d99e
Update opentelemetry ( #11105 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-08-03 14:41:44 +02:00
Julius Volz
e33720e98e
Add Julius as release shepherd for v2.38 ( #11106 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-08-03 14:22:44 +02:00
Augustin Husson
f486efbb9a
codemirror-promql: add method to fetch flags in prometheus client ( #11090 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-08-03 14:15:32 +02:00
rilehudd
d943f39f22
Updates RELEASE.md to include [SECURITY] change log tag
...
Signed-off-by: rilehudd <51207004+rilehudd@users.noreply.github.com>
2022-08-03 12:17:00 +02:00
David Leadbeater
d677ec489e
Support using MX records for DNS discovery ( #10099 )
...
It's currently possible to use blackbox_exporter to probe MX records
themselves. However it's not possible to do an end-to-end test, like is
possible with SRV records. This makes it possible to use MX records as a
source of hostnames in the same way as SRV records.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
2022-08-03 11:19:26 +02:00
Bryan Boreham
a7f19b5775
labels: add a test for JSON and YAML marshalling
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-08-03 11:18:02 +02:00
Bryan Boreham
10699c37a3
labels: test BytesWithoutLabels does not remove __name__ by default
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-08-03 11:18:02 +02:00
Bryan Boreham
d46ef0aa8e
labels: tweak BenchmarkLabels_Get()
...
So the benchmark works without requiring `Labels` internals to be a slice.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-08-03 11:18:02 +02:00
Bryan Boreham
24ebff9c4a
labels: don't test that Hash() works on unordered labels
...
Labels are required to be ordered.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-08-03 11:18:02 +02:00
Bryan Boreham
fb2d883f1e
labels: test Compare without knowing the exact result
...
Only the sign of the result is important
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-08-03 11:18:02 +02:00
Julien Pivotto
a6c6155092
Fix YAML and JSON doc section ( #11023 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-08-03 11:09:57 +02:00
dependabot[bot]
7bbc19de75
build(deps): bump k8s.io/apimachinery from 0.24.2 to 0.24.3 ( #11097 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.24.2...v0.24.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>
2022-08-03 10:24:06 +02:00
dependabot[bot]
a23e950879
build(deps): bump github.com/aws/aws-sdk-go from 1.44.47 to 1.44.67 ( #11095 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.47 to 1.44.67.
- [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.47...v1.44.67 )
---
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>
2022-08-02 16:42:00 +02:00
Ganesh Vernekar
9fe7d3a478
Update minOOOTime after truncating Head ( #309 )
...
* Update minOOOTime after truncating Head
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix lint
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Add a unit test
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-08-02 19:43:50 +05:30
dependabot[bot]
63662fa140
build(deps): bump google.golang.org/grpc from 1.47.0 to 1.48.0 ( #11083 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.47.0...v1.48.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>
2022-08-02 16:08:39 +02:00
dependabot[bot]
387914f5f6
build(deps): bump github.com/ionos-cloud/sdk-go/v6 from 6.1.0 to 6.1.1 ( #11092 )
...
Bumps [github.com/ionos-cloud/sdk-go/v6](https://github.com/ionos-cloud/sdk-go ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/ionos-cloud/sdk-go/releases )
- [Changelog](https://github.com/ionos-cloud/sdk-go/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/ionos-cloud/sdk-go/compare/v6.1.0...v6.1.1 )
---
updated-dependencies:
- dependency-name: github.com/ionos-cloud/sdk-go/v6
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>
2022-08-02 16:08:28 +02:00
dependabot[bot]
ebb42e19f8
build(deps): bump github.com/hashicorp/consul/api from 1.13.0 to 1.13.1 ( #11093 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.13.0 to 1.13.1.
- [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/api/v1.13.0...api/v1.13.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/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>
2022-08-02 16:08:20 +02:00
Jesus Vazquez
f537910769
Merge pull request #302 from grafana/codesome/nowarn
...
Do not warn on finding overlapping blocks, debug instead
2022-08-02 15:52:23 +02:00
dependabot[bot]
6e8feaa6c0
build(deps): bump google.golang.org/api from 0.86.0 to 0.90.0 ( #11081 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.86.0 to 0.90.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.86.0...v0.90.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>
2022-08-02 15:10:04 +02:00
dependabot[bot]
99165d4879
build(deps): bump go.opentelemetry.io/otel from 1.7.0 to 1.8.0 ( #11079 )
...
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go ) from 1.7.0 to 1.8.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.7.0...v1.8.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>
2022-08-02 15:08:59 +02:00
dependabot[bot]
d583bdf159
build(deps): bump actions/cache from 3.0.4 to 3.0.5 ( #11078 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.0.5 )
---
updated-dependencies:
- dependency-name: actions/cache
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>
2022-08-02 15:06:42 +02:00