Bryan Boreham
663a66b526
Merge pull request #11224 from dekimsey/consul-catalog-filter-support
...
consul: Initial implemenation of catalog filter support
1 month ago
Bryan Boreham
b87b88ddc2
Merge branch 'main' into consul-catalog-filter-support
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 month ago
Björn Rabenstein
576000a457
Merge pull request #15111 from prometheus/beorn7/doc
...
docs: Declare "float literals are time durations" as stable
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
György Krajcsovits
e931587bf8
Factor out label compare and store
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
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
György Krajcsovits
16f28be713
Fix CT handling
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2 months ago
Julius Volz
65f6103539
Merge pull request #15118 from roidelapluie/notificationsdoc
...
Document the notifications API
2 months ago
György Krajcsovits
6bebeaf41b
Fix not checking all labels before deciding to store NHCB
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2 months ago
Julien
7eb73b10d8
Remove http client config from consul and digitalocean
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
57e3fd0c51
Remove http options from docker and dockerswarm sd
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
5f13098403
Remove http client config from EC2 and PuppetDB
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
409d924381
Remove client HTTP settings from HTTP SD and Hetzner SD
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
62b26ac13c
Remove HTTP config docs from Kuma, Kubernetes and IONOS
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
04b12014a6
Remove http client docs from linode and lightsail
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
530c3fc345
Remove HTTP client doc from nomad and marathon
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
1dd45fd286
Remove http options from Eureka and Scaleway
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
aef84c068b
Remove http options from uyuni
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
675349c849
Remove HTTP options from vultr
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
6acf2dc054
Remove HTTP options from alerting
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
e7206c2630
Remove http options from remote read/write
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Bryan Boreham
91de19fbef
[BUGFIX] TSDB: Don't read in-order chunks from before head MinTime
...
Because we are reimplementing the `IndexReader` to fetch in-order and
out-of-order chunks together, we must reproduce the behaviour of
`Head.indexRange()`, which floors the minimum time queried at `head.MinTime()`.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2 months ago
Julien
261d7d75eb
docs: extract HTTP client option documentation from scrape config
...
Extracted HTTP client options (e.g., authentication, proxy settings,
TLS configuration, and custom headers) into a dedicated section for
improved clarity and organization. This will centralize all HTTP-related
options from prometheus/common in one place within the documentation.
The remaining HTTP-related settings in sections (e.g. Service Discovery)
will be moved in a follow-up PR to further unify the documentation
structure.
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
György Krajcsovits
2a3aa500e9
Make nhcb unit test pass with many exceptions marked as TODOs
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2 months ago
beorn7
08d4b034da
docs: Declare "float literals are time durations" as stable
...
This unifies the documentation of float literals and time durations
and updates all references to the old definitions.
Signed-off-by: beorn7 <beorn@grafana.com>
2 months ago
Julien
16f3eaf5aa
Merge pull request #15020 from prometheus/rel-2.55-revert-14769
...
[Release 2.55] Revert pull request #14769 - auto config reload
2 months ago
Julien
db730fcade
Document the notifications API
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
György Krajcsovits
e0444d9384
Merge branch 'main' into nhcb-scrape-impl
2 months ago
György Krajcsovits
e1a7008b6c
Add unit test nhcbparse_test.go
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
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
György Krajcsovits
9c4816df36
Rename bType to bName as Type returns the binary name and not the type name
...
See Parser.Type() function.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2 months ago
György Krajcsovits
ed2e7dc258
Merge branch 'main' into nhcb-scrape-impl
...
# Conflicts:
# scrape/scrape.go
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