Ben Kochie
1bb13626b2
Merge pull request #13235 from prometheus/dependabot/go_modules/k8s-io-5fd27ec905
...
build(deps): bump the k8s-io group with 2 updates
12 months ago
Bartlomiej Plotka
bc4f8366c5
Upgraded npm dependencies pre 2.49-rc.0 ( #13256 )
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
12 months ago
Ben Kochie
b718ec8294
Merge pull request #13239 from prometheus/dependabot/go_modules/github.com/digitalocean/godo-1.106.0
...
build(deps): bump github.com/digitalocean/godo from 1.104.1 to 1.106.0
12 months ago
Ben Kochie
8590c2b56c
Merge pull request #13257 from prometheus/superq/mod_versions
...
Add test of Go module versions
12 months ago
dependabot[bot]
9512c4ca9e
build(deps): bump the k8s-io group with 2 updates
...
Bumps the k8s-io group with 2 updates: [k8s.io/api](https://github.com/kubernetes/api ) and [k8s.io/client-go](https://github.com/kubernetes/client-go ).
Updates `k8s.io/api` from 0.28.3 to 0.28.4
- [Commits](https://github.com/kubernetes/api/compare/v0.28.3...v0.28.4 )
Updates `k8s.io/client-go` from 0.28.3 to 0.28.4
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.28.3...v0.28.4 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
...
Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
Ben Kochie
4d7b009b7f
Merge pull request #13238 from prometheus/dependabot/go_modules/github.com/alecthomas/kingpin/v2-2.4.0
...
build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0
12 months ago
dependabot[bot]
eddda2a56f
build(deps): bump github.com/digitalocean/godo from 1.104.1 to 1.106.0
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.104.1 to 1.106.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.104.1...v1.106.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>
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
SuperQ
bf2b1ac115
Add test of Go module versions
...
Make sure that the Go versions in all `go.mod` files are in sync.
Signed-off-by: SuperQ <superq@gmail.com>
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]
f5b69bc777
build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0
...
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
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>
1 year ago
Bartlomiej Plotka
34812fa759
Added Bartek as the next release shepherd.
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
1 year 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