Julien Pivotto
88de3d4491
Merge pull request #13007 from zenador/update-tsdb-ooo-head-read-overflow
...
Very minor refactor of the integer overflow fix
1 year ago
Jeanette Tan
71a36d2396
Very minor refactor of the integer overflow fix
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
1 year ago
Arthur Silva Sens
ef8e6ae780
Parse created timestamps from Prometheus Protobuf ( #12973 )
...
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
1 year ago
Björn Rabenstein
4d50e5d122
Merge pull request #12609 from marctc/query_max_samples_float_histogram
...
promql(histograms): Change sample total calculation for histograms
1 year ago
Marc Tuduri
1ce066e51c
More periods
...
Signed-off-by: Marc Tuduri <marctc@protonmail.com>
1 year ago
Marc Tuduri
af7c31ee10
PR feedback
...
Signed-off-by: Marc Tuduri <marctc@protonmail.com>
1 year ago
Marc Tuduri
8fededf6ad
promql(histograms): Change sample total calculation for histograms
...
Signed-off-by: Marc Tuduri <marctc@protonmail.com>
1 year ago
Anand Rajagopal
2ade8adf9e
Adding a query parameter to filter out active alerts
...
Signed-off-by: Anand Rajagopal <anrajag@amazon.com>
1 year ago
Björn Rabenstein
16af86734f
Merge pull request #12994 from prometheus/beorn7/release
...
Merge release-2.48 back into main
1 year ago
Björn Rabenstein
f33bffa788
Merge pull request #12891 from linasm/fix-gaps-in-histogram-equals
...
Fix NaN checks in [Float]Histogram.Equals method
1 year ago
Bryan Boreham
26fa2e8356
TSDB: Pre-size buffer to read samples from WAL
...
When reading the WAL this method is called with buffers from a pool, on
multiple goroutines. Pre-allocating sufficient size avoids slow growth
and many reallocations in `append`.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Björn Rabenstein
35ec9d1f89
Merge pull request #12868 from jdellithorpe-db/alert-unit-test-doc-fix
...
Promtool: Fix/clarify documentation for axn notation.
1 year ago
Bryan Boreham
551fa8378c
Merge pull request #12959 from LeviHarrison/release-2.48.0-rc0
...
Release 2.48.0-rc0
1 year ago
Levi Harrison
d1620abde9
Add last warning pr
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
beorn7
ca450a6d79
Merge branch 'release-2.48' into beorn7/release
1 year ago
Björn Rabenstein
fb0b9fc0da
Merge pull request #12988 from zenador/release-2.48-fix-non-counter-warning
...
Fix possible non-counter warning for empty names and native histograms
1 year ago
Julien Pivotto
a06c6680aa
Merge pull request #12990 from pnacht/scorecard-action
...
Add the OpenSSF Scorecard GitHub Action
1 year ago
Levi Harrison
700f9bd7c6
nits
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Pedro Kaj Kjellerup Nacht
d92dd108bc
Update workflow name in sync script
...
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
1 year ago
Pedro Kaj Kjellerup Nacht
1ac8b5801a
Remove duplicate scorecard workflow
...
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
1 year ago
Pedro Kaj Kjellerup Nacht
927fbfca53
Add scorecard.yml to sync_repo_files.sh
...
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
1 year ago
Pedro Kaj Kjellerup Nacht
0968e7d907
Create scorecard.yml
...
Signed-off-by: Pedro Kaj Kjellerup Nacht <pedro.k.night@gmail.com>
1 year ago
George Krajcsovits
7d7b9eacff
Fix int32 overflow issues ( #12978 )
...
On a 32 bit architecture the size of int is 32 bits. Thus converting from
int64, uint64 can overflow it and flip the sign.
Try for yourself in playground:
package main
import "fmt"
func main() {
x := int64(0x1F0000001)
y := int64(1)
z := int32(x - y) // numerically this is 0x1F0000000
fmt.Printf("%v\n", z)
}
Prints -268435456 as if x was smaller.
Followup to #12650
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
1 year ago
Jeanette Tan
9a8bd8eac6
Fix possible non-counter warning for empty names and native histograms
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
1 year ago
Levi Harrison
827804c79d
Release 2.48.0-rc0
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Julien Pivotto
8a0c9aec1c
Merge pull request #12985 from LeviHarrison/merge-main-release-2.48
...
Cherry pick latest main changes into 2.48
1 year ago
Levi Harrison
454a0a2c1b
Update dependencies for 2.48 ( #12964 )
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Julius Volz
191c24a0ed
Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning ( #12982 )
...
Related to PR #12152
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Julien Pivotto
77c1c2c44a
Merge pull request #12981 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/prometheus-0.47.2
...
build(deps): bump github.com/prometheus/prometheus from 0.45.0 to 0.47.2 in /documentation/examples/remote_storage
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Ziqi Zhao
60e2bb0135
enhance promtool tsdb analyze command ( #12869 )
...
Improve promtool tsdb analyze
- Make it more suitable for variable size float chunks.
- Add support for histogram chunks.
---------
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Levi Harrison
4284e6f2f7
Merge pull request #11860 from mmorel-35/azure-sdk-for-go
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Paschalis Tsilias
42b8f2f5fc
tsdb/agent: allow ingestion of OOO samples ( #12897 )
...
Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Ganesh Vernekar
4df2f2432b
Additionally wrap WBL replay error ( #12406 )
...
* Additionally wrap WBL replay error
Although WBL replay is already wrapped with errLoadWbl,
there are other errors that can happen during a WBL replay.
We should not try to repair WAL in those cases.
This commit additionally wraps the final error in Head.Init again
with errLoadWbl so that WBL replay errors can be identified properly.
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
Co-authored-by: Jesus Vazquez <jesusvzpg@gmail.com>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Levi Harrison
4307fa19ee
Merge pull request #12819 from prometheus/dependabot/go_modules/golang.org/x/net-0.15.0
...
build(deps): bump golang.org/x/net from 0.13.0 to 0.15.0
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Levi Harrison
7f7cb471b8
Merge pull request #12848 from prometheus/dependabot/go_modules/k8s-io-815bab050d
...
build(deps): bump the k8s-io group with 2 updates
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Levi Harrison
281dc29677
Merge pull request #12912 from prometheus/dependabot/go_modules/github.com/aws/aws-sdk-go-1.45.19
...
build(deps): bump github.com/aws/aws-sdk-go from 1.44.317 to 1.45.19
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Arthur Silva Sens
644cb3be70
Add created timestamps to prompb ( #12936 )
...
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Levi Harrison
dcaca86958
Update dependencies for 2.48 ( #12964 )
1 year ago
Julius Volz
5c4652c914
Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning ( #12982 )
...
Related to PR #12152
Signed-off-by: Julius Volz <julius.volz@gmail.com>
1 year ago
Julien Pivotto
7eb01144d1
Merge pull request #12981 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/prometheus-0.47.2
...
build(deps): bump github.com/prometheus/prometheus from 0.45.0 to 0.47.2 in /documentation/examples/remote_storage
1 year ago
Ziqi Zhao
1a6edff882
enhance promtool tsdb analyze command ( #12869 )
...
Improve promtool tsdb analyze
- Make it more suitable for variable size float chunks.
- Add support for histogram chunks.
---------
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
1 year ago
Linas Medziunas
62bbb81e29
Mention bucket values in the comment
...
Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
1 year ago
dependabot[bot]
ccfcfc7ff4
build(deps): bump github.com/prometheus/prometheus
...
Bumps [github.com/prometheus/prometheus](https://github.com/prometheus/prometheus ) from 0.45.0 to 0.47.2.
- [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.45.0...v0.47.2 )
---
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>
1 year ago
Levi Harrison
c9fce2c6c6
Merge pull request #11860 from mmorel-35/azure-sdk-for-go
1 year ago
Matthieu MOREL
bbdc7d5902
Update Azure SDK For Go
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 year ago
Paschalis Tsilias
afab845e65
tsdb/agent: allow ingestion of OOO samples ( #12897 )
...
Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
1 year ago
Ganesh Vernekar
f5913266a1
Additionally wrap WBL replay error ( #12406 )
...
* Additionally wrap WBL replay error
Although WBL replay is already wrapped with errLoadWbl,
there are other errors that can happen during a WBL replay.
We should not try to repair WAL in those cases.
This commit additionally wraps the final error in Head.Init again
with errLoadWbl so that WBL replay errors can be identified properly.
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
Co-authored-by: Jesus Vazquez <jesusvzpg@gmail.com>
1 year ago
Paulin Todev
5752050b42
Scrape metrics can now be registered with a non-default registry.
...
* A registerer is passed to the scrape Manager,
and all scrape metrics register with it.
* For now the registry which we pass to the scrape
Manager is still the global one.
Signed-off-by: Paulin Todev <paulin.todev@gmail.com>
1 year ago
Levi Harrison
ffa74eb12d
Merge pull request #12818 from prometheus/dependabot/go_modules/golang.org/x/sys-0.12.0
...
build(deps): bump golang.org/x/sys from 0.10.0 to 0.12.0
1 year ago
Levi Harrison
dd5c7dd504
Merge pull request #12819 from prometheus/dependabot/go_modules/golang.org/x/net-0.15.0
...
build(deps): bump golang.org/x/net from 0.13.0 to 0.15.0
1 year ago