Arve Knudsen
ec818332dc
Add config tests
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
4 months ago
Arve Knudsen
ae82a0a941
Sanitize configured OTel resource attributes
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
4 months ago
Arve Knudsen
a25b626792
prometheusremotewrite: Support resource attribute promotion
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
4 months ago
Bryan Boreham
e892483768
Merge pull request #14469 from charleskorn/memoizedseriesiterator-att
...
storage: add `AtT` method to `MemoizedSeriesIterator`
4 months ago
Arve Knudsen
d7d06b40d4
Merge pull request #14420 from B1F030/patch-1
...
Fix web.cors.origin in command-line/prometheus.md
4 months ago
dependabot[bot]
c6c240d4ce
build(deps): bump @codemirror/lint from 6.8.0 to 6.8.1 in /web/ui ( #14383 )
...
Bumps [@codemirror/lint](https://github.com/codemirror/lint ) from 6.8.0 to 6.8.1.
- [Changelog](https://github.com/codemirror/lint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/lint/compare/6.8.0...6.8.1 )
---
updated-dependencies:
- dependency-name: "@codemirror/lint"
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>
4 months ago
Bryan Boreham
bb241d7960
Merge pull request #14463 from fpetkovski/customize-acceptance-tests
...
Allow built-in tests to be customized
4 months ago
Bryan Boreham
efdd6fcbcb
Merge pull request #14467 from aknuds1/arve/fix-golangcilint-deprecations
...
golangci-lint: Don't use deprecated config params
4 months ago
dependabot[bot]
c0f1b452bc
build(deps): bump @codemirror/view from 6.27.0 to 6.28.3 in /web/ui ( #14379 )
...
Bumps [@codemirror/view](https://github.com/codemirror/view ) from 6.27.0 to 6.28.3.
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/6.27.0...6.28.3 )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
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>
4 months ago
Charles Korn
2ca4d16236
storage: add `AtT` method to `MemoizedSeriesIterator`
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
4 months ago
B1F030
3648386345
fix fmt
...
Signed-off-by: B1F030 <b1fzhang@gmail.com>
4 months ago
B1F030
15ac95ddd0
change documentcli
...
Signed-off-by: B1F030 <b1fzhang@gmail.com>
4 months ago
B1F030
5c2590c358
revert main.go
...
Signed-off-by: B1F030 <b1fzhang@gmail.com>
4 months ago
Odysseus Zhang
4c74d359eb
Merge branch 'prometheus:main' into patch-1
4 months ago
Arve Knudsen
52a73ec871
Merge pull request #14374 from prometheus/dependabot/npm_and_yarn/web/ui/sass-1.77.6
...
build(deps): bump sass from 1.77.4 to 1.77.6 in /web/ui
4 months ago
Arve Knudsen
9f9f9298fa
Merge pull request #14375 from prometheus/dependabot/npm_and_yarn/web/ui/types/node-20.14.9
...
build(deps-dev): bump @types/node from 20.14.2 to 20.14.9 in /web/ui
4 months ago
Arve Knudsen
5daf584afc
Merge pull request #14385 from prometheus/dependabot/github_actions/github/codeql-action-3.25.11
...
build(deps): bump github/codeql-action from 3.25.8 to 3.25.11
4 months ago
Arve Knudsen
a41a0538c7
Merge pull request #14384 from prometheus/dependabot/go_modules/go-opentelemetry-io-deefcab708
...
build(deps): bump the go-opentelemetry-io group across 1 directory with 2 updates
4 months ago
dependabot[bot]
18a40e31d4
build(deps): bump the go-opentelemetry-io group across 1 directory with 2 updates
...
Bumps the go-opentelemetry-io group with 2 updates in the / directory: [go.opentelemetry.io/collector/pdata](https://github.com/open-telemetry/opentelemetry-collector ) and [go.opentelemetry.io/collector/semconv](https://github.com/open-telemetry/opentelemetry-collector ).
Updates `go.opentelemetry.io/collector/pdata` from 1.8.0 to 1.11.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.8.0...pdata/v1.11.0 )
Updates `go.opentelemetry.io/collector/semconv` from 0.101.0 to 0.104.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.101.0...v0.104.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/collector/pdata
dependency-type: direct:production
update-type: version-update:semver-minor
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
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
4 months ago
Arve Knudsen
f23792f9e8
Merge pull request #14468 from prometheus/dependabot/npm_and_yarn/web/ui/ts-jest-29.2.2
...
build(deps-dev): bump ts-jest from 29.2.1 to 29.2.2 in /web/ui
4 months ago
Arve Knudsen
3eda19ac04
Merge pull request #14386 from prometheus/dependabot/github_actions/bufbuild/buf-setup-action-1.34.0
...
build(deps): bump bufbuild/buf-setup-action from 1.32.2 to 1.34.0
4 months ago
Arve Knudsen
64bfd2f49a
Merge pull request #14390 from prometheus/dependabot/github_actions/scripts/actions/checkout-4.1.7
...
build(deps): bump actions/checkout from 4.1.6 to 4.1.7 in /scripts
4 months ago
dependabot[bot]
c458cb73a4
build(deps-dev): bump ts-jest from 29.2.1 to 29.2.2 in /web/ui
...
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest ) from 29.2.1 to 29.2.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.2.1...v29.2.2 )
---
updated-dependencies:
- dependency-name: ts-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Arve Knudsen
42293c008a
Merge pull request #14458 from prometheus/dependabot/npm_and_yarn/web/ui/codemirror/autocomplete-6.17.0
...
build(deps): bump @codemirror/autocomplete from 6.16.2 to 6.17.0 in /web/ui
4 months ago
Arve Knudsen
f6e37c5cdb
Merge pull request #14459 from prometheus/dependabot/npm_and_yarn/web/ui/ts-jest-29.2.1
...
build(deps-dev): bump ts-jest from 29.1.4 to 29.2.1 in /web/ui
4 months ago
Arve Knudsen
506729480e
golangci-lint: Don't use deprecated config params
...
Replace deprecated golangci-lint configuration parameters with current
equivalents:
* `run.skip-files` => `issues.exclude-files`
* `run.skip-dirs` => `issues.exclude-dirs`
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
4 months ago
Bryan Boreham
d116bf7b9f
Merge pull request #14109 from harry671003/pass_limit_to_querier
...
storage: pass limit param as hint in querier
4 months ago
Bartlomiej Plotka
0c87643abd
[PRW 2.0] write_handler: Support for rc.2 spec & improved error handling for v2. ( #14427 )
...
* [PRW 2.0] write_handler: Support for rc.2 spec & improved error handling for v2.
Fixes: https://github.com/prometheus/prometheus/issues/14359
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Addressed Callum comments.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Added missing lock on flush.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Fixed lint.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Added tests.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Addressed Callum's comments & updated re spec.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Update storage/remote/write_handler_test.go
Co-authored-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
---------
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Co-authored-by: Callum Styan <callumstyan@gmail.com>
4 months ago
咸鱼暄
bab098a4c1
change all lists to bullets
...
Signed-off-by: 咸鱼暄 <30610597+smd1121@users.noreply.github.com>
4 months ago
咸鱼暄
ad03ede602
fix markdown list
...
Signed-off-by: 咸鱼暄 <30610597+smd1121@users.noreply.github.com>
4 months ago
machine424
caa71fb3c7
chore(storage/remote): collect maxTimestamp when value is 0 as well.
...
This change enables the PrometheusRemoteWriteBehind alert’s expression to be evaluated
even when the remote endpoint has never been reached. As a result, PrometheusRemoteWriteBehind
will fire to easily detect configuration mistakes (such as incorrect endpoint URLs) or
unrecoverable connectivity issues.
See https://github.com/prometheus/prometheus/issues/14350 for details.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
4 months ago
Filip Petkovski
cb8b6d7504
Allow built-in tests to be customized
...
The RunBuiltinTests function accepts a concrete type which makes
it hard to exclude certain tests from the suite. It would be great
if we could skip tests which might not be critical in order to unblock
updates.
By accepting an interface instead, we can inject a custom implementation
which would skips select test cases.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
4 months ago
Björn Rabenstein
58963f7b2e
Merge pull request #9138 from darshanime/duration_number_duality
...
Making durations and number literals the same
4 months ago
dependabot[bot]
dca82e0805
build(deps-dev): bump ts-jest from 29.1.4 to 29.2.1 in /web/ui
...
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest ) from 29.1.4 to 29.2.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.4...v29.2.1 )
---
updated-dependencies:
- dependency-name: ts-jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
dependabot[bot]
dd48eab981
build(deps): bump @codemirror/autocomplete in /web/ui
...
Bumps [@codemirror/autocomplete](https://github.com/codemirror/autocomplete ) from 6.16.2 to 6.17.0.
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/autocomplete/compare/6.16.2...6.17.0 )
---
updated-dependencies:
- dependency-name: "@codemirror/autocomplete"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Bryan Boreham
9d744deea3
Merge pull request #14455 from bboreham/merge-2.53.1
...
Merge 2.53.1 into main
4 months ago
beorn7
706e19912b
adjust version number in documentation
...
Signed-off-by: beorn7 <beorn@grafana.com>
4 months ago
darshanime
1a1b09fc3d
Add a note about the new syntax
...
Signed-off-by: darshanime <deathbullet@gmail.com>
4 months ago
darshanime
bd4ea118e9
Allow durations for number rule
...
Signed-off-by: darshanime <deathbullet@gmail.com>
4 months ago
darshanime
cfad8ff3b2
Deprecate duration token
...
Signed-off-by: darshanime <deathbullet@gmail.com>
4 months ago
darshanime
8c8860d2d6
Allow number literals as duration
...
Signed-off-by: darshanime <deathbullet@gmail.com>
4 months ago
Saswata Mukherjee
398f42de5f
Add label-matcher support to Rules API ( #10194 )
...
* Add label-matcher support to Rules API
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Implement suggestions
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Match any matcherSet instead of all
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Don't treat labels.Labels as slice
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Remove non-templated check and fix tests
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Update docs
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* fix comments
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* fix comment
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Add comment for matching logic, fix tests after rebase
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
---------
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
Co-authored-by: Yijie Qin <qinyijie@amazon.com>
5 months ago
Björn Rabenstein
b1c106a9ce
Merge pull request #14454 from fpetkovski/fix-binop-hist-stats
...
Fix decoding buckets for native histograms in binops
5 months ago
Bryan Boreham
646e1e847d
Merge branch 'release-2.53' into merge-2.53.1
5 months ago
Bryan Boreham
14cfec3f60
Prepare release 2.53.1 ( #14452 )
...
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
5 months ago
Filip Petkovski
acb6c1ae4b
Fix decoding buckets for native histograms in binops
...
The optimizer which detects cases where histogram buckets can be skipped
does not take into account binary expressions. This can lead to buckets
not being decoded if a metric is used with both histogram_fraction/quantile and
histogram_sum/count in the same expression.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
5 months ago
Bryan Boreham
7b595d67b4
2.54: Propose Bryan Boreham as release shepherd ( #14453 )
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
5 months ago
Bryan Boreham
7083ae8267
[release 2.53] Revert 13583 to stop dropping samples in remote-write catch-up ( #14446 )
...
* Revert "fix bug that would cause us to endlessly fall behind (#13583 )"
This reverts commit 0c71230784
.
(leaving the new test in place)
* TSDB: enhance TestRun_AvoidNotifyWhenBehind
With code suggested by @cstyan in #14439 .
* WAL watcher: add back log line showing current segment
---------
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
5 months ago
Björn Rabenstein
d002fad00c
Merge pull request #14424 from aknuds1/arve/fix-comments
...
Fix a couple of comments
5 months ago
Bartlomiej Plotka
5646c315bd
Merge pull request #14416 from prometheus/prw2.0-nhcb
...
writev2: Add basic support for nhcb.
5 months ago