Marc
2a7520a323
Add image source label to dockerfiles
...
To get changelogs shown with Renovate a docker container has to add the source label described in the OCI Image Format Specification.
For reference: https://github.com/renovatebot/renovate/blob/main/lib/modules/datasource/docker/readme.md
Signed-off-by: Marc <github@wuast24.de>
1 month ago
Julius Volz
7b6259b29b
Merge pull request #15127 from roidelapluie/assets
...
Add a note for pre-built assets
1 month ago
Julien
e5f604eb9a
Merge pull request #15045 from prometheus/dependabot/go_modules/github.com/klauspost/compress-1.17.10
...
Bump github.com/klauspost/compress from 1.17.9 to 1.17.10
1 month ago
Julien
24caa3653d
Merge pull request #15040 from prometheus/dependabot/go_modules/github.com/digitalocean/godo-1.126.0
...
Bump github.com/digitalocean/godo from 1.122.0 to 1.126.0
1 month ago
Julien
8406aa9c9c
Add a note for pre-built assets
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
1 month ago
dependabot[bot]
5dc59acada
Bump github.com/klauspost/compress from 1.17.9 to 1.17.10
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.17.9 to 1.17.10.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.17.9...v1.17.10 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot]
f3358f3c31
Bump github.com/digitalocean/godo from 1.122.0 to 1.126.0
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.122.0 to 1.126.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.122.0...v1.126.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>
2 months ago
Ben Kochie
805954d8f8
Merge pull request #14906 from tjhop/chore/3.0-adopt-slog
...
chore!: adopt log/slog, remove go-kit/log
2 months ago
TJ Hoplock
6ebfbd2d54
chore!: adopt log/slog, remove go-kit/log
...
For: #14355
This commit updates Prometheus to adopt stdlib's log/slog package in
favor of go-kit/log. As part of converting to use slog, several other
related changes are required to get prometheus working, including:
- removed unused logging util func `RateLimit()`
- forward ported the util/logging/Deduper logging by implementing a small custom slog.Handler that does the deduping before chaining log calls to the underlying real slog.Logger
- move some of the json file logging functionality to use prom/common package functionality
- refactored some of the new json file logging for scraping
- changes to promql.QueryLogger interface to swap out logging methods for relevant slog sugar wrappers
- updated lots of tests that used/replicated custom logging functionality, attempting to keep the logical goal of the tests consistent after the transition
- added a healthy amount of `if logger == nil { $makeLogger }` type conditional checks amongst various functions where none were provided -- old code that used the go-kit/log.Logger interface had several places where there were nil references when trying to use functions like `With()` to add keyvals on the new *slog.Logger type
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
2 months ago
Julius Volz
65f6103539
Merge pull request #15118 from roidelapluie/notificationsdoc
...
Document the notifications API
2 months ago
Julien
db730fcade
Document the notifications API
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Bartlomiej Plotka
f6e110d588
textparse: Refactored main testing utils for reusability; fixed proto Units. ( #15095 )
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2 months ago
Julien
2b4ca98247
Merge pull request #15038 from prometheus/dependabot/go_modules/github.com/gophercloud/gophercloud-1.14.1
...
Bump github.com/gophercloud/gophercloud from 1.14.0 to 1.14.1
2 months ago
Julien
1df86df177
Merge pull request #15117 from prometheus/dependabot/go_modules/golang.org/x/tools-0.26.0
...
build(deps): bump golang.org/x/tools from 0.25.0 to 0.26.0
2 months ago
dependabot[bot]
b062dfa4f3
build(deps): bump golang.org/x/tools from 0.25.0 to 0.26.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Julien
a42e8473ae
Merge pull request #15043 from prometheus/dependabot/go_modules/golang.org/x/tools-0.25.0
...
Bump golang.org/x/tools from 0.24.0 to 0.25.0
2 months ago
Julien
b3f60196c1
Merge pull request #15039 from prometheus/dependabot/go_modules/google.golang.org/grpc-1.67.1
...
Bump google.golang.org/grpc from 1.66.0 to 1.67.1
2 months ago
Julien
9d8f93ea92
Merge pull request #15113 from yeya24/add-missing-allow-overlapping-compaction-flag
...
Add missing flag storage.tsdb.allow-overlapping-compaction
2 months ago
Bartlomiej Plotka
8d281c3491
textparse: Refactored benchmark ( #15083 )
...
* textparse: Refactored benchmark.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Kill sinks, tested, nothing is inlined.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Addressed comments.
Signed-off-by: bwplotka <bwplotka@gmail.com>
---------
Signed-off-by: bwplotka <bwplotka@gmail.com>
2 months ago
Julien
989db7bc3a
Merge pull request #15042 from prometheus/dependabot/go_modules/go.uber.org/automaxprocs-1.6.0
...
Bump go.uber.org/automaxprocs from 1.5.3 to 1.6.0
2 months ago
dependabot[bot]
5a54ae67ed
Bump actions/checkout from 4.1.6 to 4.2.0 ( #15064 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.6 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](a5ac7e51b4...d632683dd7
)
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2 months ago
Matthieu MOREL
ab64966e9d
fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" ( #15094 )
...
* fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()"
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2 months ago
Ben Ye
6c3d11629b
add missing flag storage.tsdb.allow-overlapping-compaction
...
Signed-off-by: Ben Ye <benye@amazon.com>
2 months ago
Julius Volz
a1c2f59bc5
Merge pull request #15096 from prometheus/notification-style-cleanups
...
Style cleanups, mostly for web notifications and startup alert
2 months ago
Julien
4fc7b881a1
Merge pull request #15046 from prometheus/dependabot/go_modules/github.com/linode/linodego-1.41.0
...
Bump github.com/linode/linodego from 1.40.0 to 1.41.0
2 months ago
Julien
297667469a
Merge pull request #15090 from roidelapluie/querylogrule
...
Fix flakiness of QueryLogTest
2 months ago
Julius Volz
3d2194f561
Style cleanups, mostly for web notifications and startup alert
...
Some of the changes are a bit unreadable because the previous files were not
saved with the project's linter / auto-formatter settings applied. But it's
basically:
* For icons that are not Mantine-native components, use the rem() function
for computing their size, so they scale correctly with the root font size.
See https://mantine.dev/styles/rem/ .
* Try a different icon for the notifications tray, since the bell icon was
already used for Prometheus alerts. Other candidates from
https://tabler.io/icons would be IconExclamationCircle or
IconDeviceDesktopExclamation or IconMessageCircleExclamation.
* The server startup alert looked a bit cramped, introduced a Stack to add
spacing between the text and the progress bar.
* Added a bit of spacing between notification text and date. Things looked
cramped. To make things look ok with that, I also top-aligned the
notification text and icon.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Manik Rana
47aeca9663
feat: naive fixes and optimzations for `CreatedTimestamp` function ( #14965 )
...
* enhance: wip ct parse optimizations
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: further work on optimization
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: further improvements and remove unused code
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: improve optimizations and fix some CT parse errors
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: check for LsetHash along with name
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: cleanup and documentation
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* enhance: improve comments and add cleaner functions
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: improve comments and add cleaner functions
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: rename to resetCTParseValues
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: post-merge fixes
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: add all possible reserved suffixes
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* test: separate CT values for each metric
Signed-off-by: Manik Rana <manikrana54@gmail.com>
---------
Signed-off-by: Manik Rana <manikrana54@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
2 months ago
Julien
023146e918
Merge pull request #15082 from roidelapluie/notifystart
...
Notify web UI when starting up and shutting down
2 months ago
dependabot[bot]
92be29d0dc
Bump google.golang.org/grpc from 1.66.0 to 1.67.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.66.0 to 1.67.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.66.0...v1.67.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
dependabot[bot]
5c5cb0e712
Bump golang.org/x/tools from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Julien
9d275c23de
cmd/prometheus: Fix flakiness of QueryLogTest
...
Now we check that a rule execution has taken place.
This also reduces the time to run the rules tests from 45s to 25s.
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
d98c37478b
Merge pull request #15035 from prometheus/dependabot/go_modules/google.golang.org/api-0.199.0
...
Bump google.golang.org/api from 0.195.0 to 0.199.0
2 months ago
Julien
21e0f83b68
Move notifications in utils
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
dependabot[bot]
52cc937af0
Bump go.uber.org/automaxprocs from 1.5.3 to 1.6.0
...
Bumps [go.uber.org/automaxprocs](https://github.com/uber-go/automaxprocs ) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/uber-go/automaxprocs/releases )
- [Changelog](https://github.com/uber-go/automaxprocs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/automaxprocs/compare/v1.5.3...v1.6.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/automaxprocs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Julien
34c0f2d48e
Merge pull request #15029 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/common-0.60.0
...
Bump github.com/prometheus/common from 0.57.0 to 0.60.0 in /documentation/examples/remote_storage
2 months ago
dependabot[bot]
1f40859f9e
Bump google.golang.org/api from 0.195.0 to 0.199.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.195.0 to 0.199.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.195.0...v0.199.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Julien
3a8131b3f1
Merge pull request #15032 from prometheus/dependabot/go_modules/go-opentelemetry-io-449d04d146
...
Bump the go-opentelemetry-io group with 9 updates
2 months ago
Julien
b6158e8956
Notify web UI when starting up and shutting down
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Björn Rabenstein
199d2fb492
Merge pull request #14989 from NeerajGartia21/eval_info
...
Adds eval_info command to PromQL testing framework
2 months ago
Julius Volz
20bf32b9d5
Merge pull request #15074 from jadolg/synchronized-RandomUnprivilegedPort
...
Add a mutex and used ports list to the tests random port generator to avoid port collisions
2 months ago
Jorge Alberto Díaz Orozco
06945b3933
Add a mutex and used ports list to the random port generator
...
to avoid port collisions
Signed-off-by: Jorge Alberto Díaz Orozco <diazorozcoj@gmail.com>
2 months ago
Julius Volz
e1f8a79142
Merge pull request #15069 from prometheus/allow-blank-issues
...
Allow blank issue reports again
2 months ago
Björn Rabenstein
78f792135c
Merge pull request #15025 from prometheus/notreset-bug
...
Fix bug in rate vs float and histogram mixup
2 months ago
György Krajcsovits
44ebbb8458
Fix missing histogram copy in sampleRing
...
The specialized version of sample add to the ring:
func addH(s hSample, buf []hSample, r *sampleRing) []hSample
func addFH(s fhSample, buf []fhSample, r *sampleRing) []fhSample
already correctly copy histogram samples from the reused hReader, fhReader
buffers, but the generic version does not. This means that the
data is overwritten on the next read if the sample ring has seen histogram
and float samples at the same time and switched to generic mode.
The `genericAdd` function (which was commented anyway) is by now quite
different from the specialized functions so that this commit deletes
it.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2 months ago
György Krajcsovits
b5479831b8
Unit test for regression in rate vs float and histogram mixup
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2 months ago
Manik Rana
f1c57a95ed
change: No longer ingest OM _created as timeseries if feature-flag 'enable-ct-zero-ingestion' is enabled; fixed OM text CT conversion bug ( #14738 )
...
* chore: revert TypeRequiresCT to private
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: init NewOpenMetricsParser with skipCT true
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: allow opt-in to OM CT ingestion
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: lint
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: use textparse interface to set om options
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: set skipOMSeries in test
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: gofumpt
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* wip: add tests for OM CR parse
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: merge ct tests
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* tests: add cases for OM text
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: check correct test cases
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: use both scrape protocols in config
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: fix inputs and output tests for OM
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: cleanup
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: rename skipOMSeries to skipOMCTSeries
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
* fix: finish refac
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: move setup code outside test
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* tests: verify _created lines create new metric in certain cases
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: post merge fixes
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: lint
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* manager: Fixed CT OMText conversion bug; Refactored tests.
Signed-off-by: bwplotka <bwplotka@gmail.com>
* chore: lint
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: gofumpt
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: imports
Signed-off-by: Manik Rana <manikrana54@gmail.com>
---------
Signed-off-by: Manik Rana <manikrana54@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: bwplotka <bwplotka@gmail.com>
2 months ago
Jesus Vazquez
e99e7ca9cf
README: Update readme with API flag change for the otlp receiver ( #15073 )
...
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
2 months ago
Manik Rana
98cd80b2e2
feat: add microbenchmarks for OM CT parsing ( #14933 )
...
* test: benchmark OM CT parsing
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: move OM ct benchmark to promparse_test
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: stricter comparison
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
* feat: use richer OM test data
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: move parse-ct test outside of inner loop
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: separate benchmarks for om and prom parsers
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: remove unused code
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: remove more unused code
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: rename to BenchmarkOMParseCreatedTimestamp
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
---------
Signed-off-by: Manik Rana <manikrana54@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2 months ago
Julius Volz
bcd9ce1d43
Merge pull request #15061 from prometheus/dependabot/npm_and_yarn/web/ui/postcss-8.4.47
...
Bump postcss from 8.4.44 to 8.4.47 in /web/ui
2 months ago