dependabot[bot]
9e90b90eb3
build(deps): bump the go-opentelemetry-io group with 7 updates
...
Bumps the go-opentelemetry-io group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [go.opentelemetry.io/collector/featuregate](https://github.com/open-telemetry/opentelemetry-collector ) | `0.77.0` | `1.0.0` |
| [go.opentelemetry.io/collector/pdata](https://github.com/open-telemetry/opentelemetry-collector ) | `1.0.0-rcv0017` | `1.0.0` |
| [go.opentelemetry.io/collector/semconv](https://github.com/open-telemetry/opentelemetry-collector ) | `0.88.0` | `0.90.1` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib ) | `0.45.0` | `0.46.1` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go ) | `1.19.0` | `1.21.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ) | `1.19.0` | `1.21.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go ) | `1.19.0` | `1.21.0` |
Updates `go.opentelemetry.io/collector/featuregate` from 0.77.0 to 1.0.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/v0.77.0...pdata/v1.0.0 )
Updates `go.opentelemetry.io/collector/pdata` from 1.0.0-rcv0017 to 1.0.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/pdata/v1.0.0-rcv0017...pdata/v1.0.0 )
Updates `go.opentelemetry.io/collector/semconv` from 0.88.0 to 0.90.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/v0.88.0...v0.90.1 )
Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.45.0 to 0.46.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.45.0...zpages/v0.46.1 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.19.0 to 1.21.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.19.0...v1.21.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.19.0 to 1.21.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.19.0...v1.21.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` from 1.19.0 to 1.21.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.19.0...v1.21.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/collector/featuregate
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/collector/pdata
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/collector/semconv
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
...
Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
Ben Kochie
2f7ecbb934
Merge pull request #13240 from prometheus/dependabot/go_modules/golang.org/x/net-0.19.0
...
build(deps): bump golang.org/x/net from 0.18.0 to 0.19.0
12 months ago
Ben Kochie
1ec3b1779e
Merge pull request #13233 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/prometheus-0.48.0
...
build(deps): bump github.com/prometheus/prometheus from 0.47.2 to 0.48.0 in /documentation/examples/remote_storage
12 months ago
dependabot[bot]
abcab4efc9
build(deps): bump github.com/prometheus/prometheus
...
Bumps [github.com/prometheus/prometheus](https://github.com/prometheus/prometheus ) from 0.47.2 to 0.48.0.
- [Release notes](https://github.com/prometheus/prometheus/releases )
- [Changelog](https://github.com/prometheus/prometheus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/prometheus/compare/v0.47.2...v0.48.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/prometheus
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
Ben Kochie
2ae84f980f
Merge pull request #13232 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/alecthomas/kingpin/v2-2.4.0
...
build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0 in /documentation/examples/remote_storage
12 months ago
dependabot[bot]
b9960d6d8d
build(deps-dev): bump @babel/traverse from 7.19.3 to 7.23.3 in /web/ui ( #13137 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.19.3 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
Gavin Lam
d5924f305b
Fix missing public IP addresses in Azure service discovery ( #13241 )
...
Fixes #5588 , #9293
Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
12 months ago
Matthieu MOREL
9c4782f1cc
golangci-lint: enable testifylint linter ( #13254 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
12 months ago
Julien Pivotto
cef8aca8e8
Merge pull request #12206 from machadovilaca/add-focus-flag-to-promtool-test-rules
...
Add '--run' flag to promtool test rules
12 months ago
Julien Pivotto
74cd1b6a09
Merge branch 'main' into add-focus-flag-to-promtool-test-rules
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
12 months ago
Matthieu MOREL
998fafe679
tsdb/wlog: use Go standard errors ( #13144 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
12 months ago
dependabot[bot]
6f02c0409b
build(deps): bump golang.org/x/net from 0.18.0 to 0.19.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/net/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
dependabot[bot]
ec6253d283
build(deps): bump github.com/alecthomas/kingpin/v2
...
Bumps [github.com/alecthomas/kingpin/v2](https://github.com/alecthomas/kingpin ) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/alecthomas/kingpin/releases )
- [Commits](https://github.com/alecthomas/kingpin/compare/v2.3.2...v2.4.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/kingpin/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
Julien Levesy
e4ec263bcc
fix(wlog/watcher): read segment synchronously when not tailing ( #13224 )
...
Signed-off-by: Julien Levesy <jlevesy@gmail.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Co-authored-by: Callum Styan <callumstyan@gmail.com>
12 months ago
Julien Levesy
501f514389
feat(tsdb/agent): notify remote storage when commit happens ( #13223 )
...
Signed-off-by: Julien Levesy <jlevesy@gmail.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Co-authored-by: Callum Styan <callumstyan@gmail.com>
12 months ago
Julien Pivotto
52b15d2195
Merge pull request #13219 from djcode/main
...
Discovery: Add support for NS records to DNS Discovery
12 months ago
Julien Pivotto
6e8e16c050
Merge pull request #13227 from prometheus/release-2.48
...
Merge release-2.48 back into main
12 months ago
Björn Rabenstein
5dbbadf598
Merge pull request #13216 from prometheus/beorn7/doc
...
Update “conventional histogram” → “classic histogram”
12 months ago
Daniel Jolly
9ebea5e1ca
Removed extra whitespace
...
Signed-off-by: Daniel Jolly <code@danieljolly.com>
12 months ago
Oleksandr Redko
2a75604f8e
Enable default revive rules ( #13068 )
...
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
12 months ago
Daniel Jolly
2c420b518e
Add support for NS records in DNS discovery
...
Signed-off-by: Daniel Jolly <code@danieljolly.com>
12 months ago
beorn7
0eb0ca42c5
Update “conventional histogram” → “classic histogram”
...
Signed-off-by: beorn7 <beorn@grafana.com>
12 months ago
Björn Rabenstein
f216ddadbc
Merge pull request #13210 from prometheus/bwplotka-patch-1
...
Added Bartek as the next release shepherd.
12 months ago
Fiona Liao
b8bcaef14d
Fix histogram append errors ( #13201 )
...
* Fix histogram append errors
We should check counterReset condition rather than okToAppend because if
there's a counter reset, okToAppend is always set to false.
Signed-off-by: Fiona Liao <fiona.y.liao@gmail.com>
12 months ago
Fiona Liao
ce126230e7
Fix chunks iterator bug when tombstone covers a whole chunk ( #13209 )
...
When no samples are returned in a chunk because all the samples have
been deleted, the chunk iterator then stops without iterating through
any remaining chunks.
Signed-off-by: Fiona Liao <fiona.y.liao@gmail.com>
12 months ago
Bartlomiej Plotka
911d0d0f7d
Update RELEASE.md
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
12 months ago
Bartlomiej Plotka
34812fa759
Added Bartek as the next release shepherd.
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
12 months ago
Björn Rabenstein
97f9ad9d31
Merge pull request #13191 from linasm/reduceResolution-inplace
...
Reuse receiver slices in [Float]Histogram.ReduceResolution
1 year ago
Björn Rabenstein
980e2895a2
Merge pull request #13129 from fatsheep9146/reduce-resolution-automatically
...
Native Histograms: automatically reduce resolution rather than fail scrape
1 year ago
Julien Pivotto
4293de96c7
Merge pull request #11299 from galexrt/sort_by_labels
...
promql: add sort_by_label and sort_by_label_desc functions
1 year ago
Julien Pivotto
c1ec6ae851
sort_by_label: Switch to feature flag
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Xiaochao Dong
28d8f1650c
tsdb: Make sure the cache for postings cardinality properly honors the label name ( #12653 )
...
Add a string remembering which label and limit the cache corresponds to.
Signed-off-by: Xiaochao Dong (@damnever ) <the.xcdong@gmail.com>
1 year ago
Linas Medziunas
49613823f8
Reuse slices in [Float]Histogram.ReduceResolution
...
Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
1 year ago
Arve Knudsen
1200c89d0c
Fix tsdb.stripeSeries.gc so it handles conflicts properly ( #13195 )
...
* Fix tsdb.stripeSeries.gc so it handles conflicts properly
tsdb.stripeSeries.gc needs to prune seriesHashmap.conflicts first,
otherwise seriesHashmap replaces the unique field with the first among
the conflicts. Also add regression test.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* TestStripeSeries_gc: Support stringlabels, don't use internals
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
---------
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 year ago
Alexander Trost
5051a993ab
promql: add sort_by_label and sort_by_label_desc functions
...
This adds functions to sort a vector by its label value.
Based on https://github.com/prometheus/prometheus/pull/1533
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
1 year ago
Björn Rabenstein
a6d4b8d97b
Merge pull request #13190 from linasm/fix-float-histogram-add-sub-mutating-argument
...
Fix FloatHistogram.Add/Sub mutating its argument
1 year ago
Björn Rabenstein
5f6c060284
Merge pull request #13189 from linasm/explicit-schema-check-in-histogram-reduce-resolution
...
Explicit schema check in [Float]Histogram.ReduceResolution
1 year ago
dependabot[bot]
8d058884a0
build(deps): bump sanitize-html from 2.10.0 to 2.11.0 in /web/ui ( #12513 )
...
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html ) from 2.10.0 to 2.11.0.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md )
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.10.0...2.11.0 )
---
updated-dependencies:
- dependency-name: sanitize-html
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>
1 year ago
David Peleg
969a9b7090
Fix docs: in labelname, convert to underscore ( #12555 )
...
Fixes https://github.com/prometheus/docs/issues/735
Signed-off-by: David Peleg <107049994+dapeleg-dn@users.noreply.github.com>
1 year ago
Bryan Boreham
1b92fb10de
Improvements to PR template ( #13198 )
...
I like a bit more of a hint what the PR is supposed to achieve.
Also, I took out a suggestion not to write tests. We can decide
case-by-case if it's ok not to add a test; no need to encourage it.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Fiona Liao
5bee0cfce2
Change `ChunkReader.Chunk()` to `ChunkOrIterable()`
...
The ChunkReader interface's Chunk() has been changed to ChunkOrIterable().
This is a precursor to OOO native histogram support - with OOO native histograms, the chunks.Meta passed to Chunk() can result in multiple chunks being returned rather than just a single chunk (e.g. if oooMergedChunk has a counter reset in the middle).
To support this, ChunkOrIterable() requires either a single chunk or an iterable to be returned. If an iterable is returned, the caller has the responsibility of converting the samples from the iterable into possibly multiple chunks. The OOOHeadChunkReader now returns an iterable rather than a chunk to prepare for the native histograms case. Also as a beneficial side effect, oooMergedChunk and boundedChunk has been simplified as they only need to implement the Iterable interface now, not the full Chunk interface.
---------
Signed-off-by: Fiona Liao <fiona.y.liao@gmail.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
1 year ago
Arve Knudsen
ecc37588b0
tsdb: seriesHashmap.set by making receiver a pointer ( #13193 )
...
* Fix tsdb.seriesHashmap.set by making receiver a pointer
The method tsdb.seriesHashmap.set currently doesn't set the conflicts
field properly, due to the receiver being a non-pointer. Fix by turning
the receiver into a pointer, and add a corresponding regression test.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 year ago
Ziqi Zhao
19ecc5dd94
add test case for bigGap
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
1 year ago
Linas Medziunas
f99ecc376e
Fix FloatHistogram.Add/Sub mutating its argument
...
Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
1 year ago
Linas Medziunas
ea1862aab4
Explicit schema check in [Float]Histogram.ReduceResolution
...
Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
1 year ago
Julien Pivotto
965e603fa7
Merge pull request #13184 from bboreham/exemplar-sort
...
Scraping: use slices.sort for exemplars
1 year ago
zenador
ccfe14d7e7
PromQL: ignore small errors for bucketQuantile ( #13153 )
...
promql: Improve histogram_quantile calculation for classic buckets
Tiny differences between classic buckets are most likely caused by floating point precision issues. With this commit, relative changes below a certain threshold are ignored. This makes the result of histogram_quantile more meaningful, and also avoids triggering the _input to histogram_quantile needed to be fixed for monotonicity_ annotations in unactionable cases.
This commit also adds explanation of the new adjustment and of the monotonicity annotation to the documentation of `histogram_quantile`.
---------
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
1 year ago
Yury Molodov
2e205ee95c
ui: heatmap visualization for histogram buckets ( #13096 )
...
ui: heatmap visualization for histogram buckets
Signed-off-by: Yury Moladau <yurymolodov@gmail.com>
---------
Signed-off-by: Yury Moladau <yurymolodov@gmail.com>
1 year ago
Julien Pivotto
eda73dd3e5
Merge pull request #13187 from bboreham/refactor-newscrapeloop
...
Scraping tests: refactor scrapeLoop creation
1 year ago
Bryan Boreham
3e287e0170
Scraping tests: refactor scrapeLoop creation
...
Pull boilerplate code into a function. Where appropriate we set some
config on the returned object.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago