Julien Pivotto
b3b669fd9a
Add experimental flag and docs
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Rob Skillington
e1ace8d00e
Add PromQL format and label matcher set/delete commands to promtool
...
Signed-off-by: Rob Skillington <rob@chronosphere.io>
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
beorn7
da047c6857
histograms: Fix bug #12552
...
The problem was the following:
When trying to parse native histograms and classic histograms in
parallel, the parser would first parse the histogram proto messages as
a native histogram and then parse the same message again, but now as a
classic histogram. Afterwards, it would forget that it was dealing
with a metric family that contains native histograms and would parse
the rest of the metric family as classic histograms only. The fix is
to check again after being done with a classic histogram.
Signed-off-by: beorn7 <beorn@grafana.com>
1 year ago
beorn7
1c3bd04bea
histograms: Modify test to expose bug #12552
...
Signed-off-by: beorn7 <beorn@grafana.com>
1 year ago
Douglas Camata
47819fef01
Merge branch 'main' of github.com:prometheus/prometheus into document-and-test-relabel-memory-reuse
...
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
1 year ago
beorn7
162612ea86
histograms: Improve comment
...
Oversight during review of #12525 .
Signed-off-by: beorn7 <beorn@grafana.com>
1 year ago
Björn Rabenstein
5da638d527
Merge pull request #12525 from fatsheep9146/native-histogram-min-max
...
* Add function for iterating through all buckets in reverse to find max bucket
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
* enhance histogram_quantile to get min/max value
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
---------
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Co-authored-by: Carrie Edwards <edwrdscarrie@gmail.com>
1 year ago
Guillaume Berche
60b380da70
Refine functions.md as suggested during review
...
See https://github.com/prometheus/prometheus/pull/11404#issuecomment-1631165746
Signed-off-by: Guillaume Berche <guillaume.berche@orange.com>
1 year ago
Ziqi Zhao
42d9169ba1
enhance histogram_quantile to get min/max value
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
1 year ago
Carrie Edwards
f93ac97867
Update querying function docs
...
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
1 year ago
Carrie Edwards
2f9bc98b8a
Add tests for min and max functions
...
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
1 year ago
Carrie Edwards
bc0ee4a469
Implement native histogram min and max query functions
...
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
1 year ago
Carrie Edwards
a462f7fa21
Add function for iterating through all buckets in reverse to find max bucket
...
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
1 year ago
Julien Pivotto
89e213bc02
Merge pull request #12546 from roidelapluie/removeimport
...
TSDB: Remove usused import of sort
1 year ago
Justin Lei
32d87282ad
Add Zstandard compression option for wlog ( #11666 )
...
Snappy remains as the default compression but there is now a flag to switch
the compression algorithm.
Signed-off-by: Justin Lei <justin.lei@grafana.com>
1 year ago
Julien Pivotto
bf5bf1a4b3
TSDB: Remove usused import of sort
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
95606830fd
Merge pull request #11498 from paulfantom/selector
...
documentation/mixin: use prometheus metrics for dashboard variables
1 year ago
Julien Pivotto
fc2e4cd3b9
docs: Fix link to feature flags.
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
8c8afec116
Merge pull request #12542 from merrickclay/tsdb-doc-comment
...
improve incorrect doc comment
1 year ago
Julien Pivotto
0f85e4f41d
Merge pull request #12539 from bboreham/slices-sorts
...
Replace sort.Slice with faster slices.SortFunc
1 year ago
Julien Pivotto
f3f3d8f5ca
Merge pull request #12540 from bboreham/slices-sorts2
...
Replace sort.Sort with faster slices.SortFunc
1 year ago
Julien Pivotto
31015f83d7
Merge pull request #12535 from pracucci/export-min-max-time
...
Expose MinTime and MaxTime
1 year ago
Merrick Clay
70e41fc5ac
improve incorrect doc comment
...
Signed-off-by: Merrick Clay <merrick.e.clay@gmail.com>
1 year ago
Bryan Boreham
ce153e3fff
Replace sort.Sort with faster slices.SortFunc
...
The generic version is more efficient.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
haleyao
c5a37ddad5
Remove deleted target from discovery manager
...
Signed-off-by: haleyao <haleyao@tencent.com>
1 year ago
Bryan Boreham
578e2b6a3f
re-order imports for linter
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Marco Pracucci
7cc4292328
Export MinTime and MaxTime
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
1 year ago
Julien Pivotto
26c354de0b
Merge pull request #12530 from prometheus/superq/promu_15
...
Update promu
1 year ago
SuperQ
4edf8999da
Update promu
...
Update promu to support riscv64.
Signed-off-by: SuperQ <superq@gmail.com>
1 year ago
Julien Pivotto
076056ccdf
Merge pull request #11642 from zoonage/main
...
Do not add pods to target group if the PodIP status is not set
1 year ago
Marc Tudurí
4851ced266
tsdb: Support native histograms in snapshot on shutdown ( #12258 )
...
Signed-off-by: Marc Tuduri <marctc@protonmail.com>
1 year ago
Julien Pivotto
f06f899a6c
Merge pull request #12468 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/client_golang-1.16.0
...
build(deps): bump github.com/prometheus/client_golang from 1.15.0 to 1.16.0 in /documentation/examples/remote_storage
1 year ago
Julien Pivotto
6768cb5c1e
Merge pull request #12506 from prometheus/dependabot/go_modules/github.com/Azure/azure-sdk-for-go/sdk/azidentity-1.3.0
...
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.2.1 to 1.3.0
1 year ago
Julien Pivotto
4235d9f558
Merge pull request #12502 from supertassu/taavi/os-flavor-id
...
discovery/openstack: Include instance image ID in labels
1 year ago
dependabot[bot]
ac32e19bcc
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
323ac83444
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
...
Bumps [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azidentity/v1.2.1...sdk/azcore/v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Julien Pivotto
f7a880d9b0
Merge pull request #12507 from prometheus/dependabot/go_modules/github.com/linode/linodego-1.17.2
...
build(deps): bump github.com/linode/linodego from 1.17.0 to 1.17.2
1 year ago
Julien Pivotto
fb06a127c7
Merge pull request #12512 from prometheus/dependabot/github_actions/bufbuild/buf-setup-action-1.23.1
...
build(deps): bump bufbuild/buf-setup-action from 1.20.0 to 1.23.1
1 year ago
Julien Pivotto
543d77327a
Merge pull request #12511 from prometheus/dependabot/github_actions/golangci/golangci-lint-action-3.6.0
...
build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.6.0
1 year ago
Julien Pivotto
f4f3d52c47
Merge pull request #12509 from prometheus/dependabot/go_modules/github.com/hetznercloud/hcloud-go-1.47.0
...
build(deps): bump github.com/hetznercloud/hcloud-go from 1.45.1 to 1.47.0
1 year ago
Julien Pivotto
d9fccd17e5
Merge pull request #12510 from prometheus/dependabot/go_modules/google.golang.org/grpc-1.56.1
...
build(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.1
1 year ago
Julien Pivotto
47ebdf49fd
Merge pull request #12514 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/prometheus-0.45.0
...
build(deps): bump github.com/prometheus/prometheus from 0.44.0 to 0.45.0 in /documentation/examples/remote_storage
1 year ago
Julien Pivotto
0186ec7873
Merge pull request #12516 from vinted/convert_queryopts_to_interface
...
promql: convert QueryOpts to interface
1 year ago
Taavi Väänänen
0f4c27e2bf
discovery/openstack: Include instance image ID in labels
...
Adds a new label to include the ID of the image that an instance is
using. This can be used for example to filter a job to only include
instances using a certain image as that image includes some exporter.
Sometimes the image information isn't available, such as when the image
is private and the user doesn't have the roles required to see it. In
those cases we just don't set the label, as the rest of the information
from the discovery provider can still be used.
Signed-off-by: Taavi Väänänen <hi@taavi.wtf>
1 year ago
dependabot[bot]
e8d4466ef4
build(deps): bump bufbuild/buf-setup-action from 1.20.0 to 1.23.1
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.20.0 to 1.23.1.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.20.0...v1.23.1 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Julien Pivotto
47b613a3cb
Merge pull request #11639 from fbegyn/main
...
stop github actions from executing specific tasks on forks
1 year ago
Julien Pivotto
986fde06b2
Merge pull request #11688 from damnever/fix/datamodelvalidation-remotewriteapi
...
Validate the metric names and labels in the remote write handler
1 year ago
Julien Pivotto
4653e8345a
Merge pull request #12504 from prometheus/superq/fixup_golangci_sync
...
Update sync script.
1 year ago
Julien Pivotto
9ff1f24efa
Merge pull request #12505 from pracucci/fix-infinite-loop-in-index-writer
...
Fix infinite loop in index Writer when a series contains duplicated label names
1 year ago
Patrick Oyarzun
68e5937474
Apply relevant label matchers in LabelValues before fetching extra postings ( #12274 )
...
* Apply matchers when fetching label values
Signed-off-by: Patrick Oyarzun <patrick.oyarzun@grafana.com>
* Avoid extra copying of label values
Signed-off-by: Patrick Oyarzun <patrick.oyarzun@grafana.com>
---------
Signed-off-by: Patrick Oyarzun <patrick.oyarzun@grafana.com>
1 year ago