Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Bump to Prometheus v3.0.1 #237

Open
wants to merge 773 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
773 commits
Select commit Hold shift + click to select a range
ab64966
fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.…
mmorel-35 Oct 6, 2024
5a54ae6
Bump actions/checkout from 4.1.6 to 4.2.0 (#15064)
dependabot[bot] Oct 6, 2024
989db7b
Merge pull request #15042 from prometheus/dependabot/go_modules/go.ub…
roidelapluie Oct 7, 2024
8d281c3
textparse: Refactored benchmark (#15083)
bwplotka Oct 7, 2024
9d8f93e
Merge pull request #15113 from yeya24/add-missing-allow-overlapping-c…
roidelapluie Oct 7, 2024
ed2e7dc
Merge branch 'main' into nhcb-scrape-impl
krajorama Oct 7, 2024
9c4816d
Rename bType to bName as Type returns the binary name and not the typ…
krajorama Oct 7, 2024
b3f6019
Merge pull request #15039 from prometheus/dependabot/go_modules/googl…
roidelapluie Oct 7, 2024
a42e847
Merge pull request #15043 from prometheus/dependabot/go_modules/golan…
roidelapluie Oct 7, 2024
b062dfa
build(deps): bump golang.org/x/tools from 0.25.0 to 0.26.0
dependabot[bot] Oct 7, 2024
1df86df
Merge pull request #15117 from prometheus/dependabot/go_modules/golan…
roidelapluie Oct 7, 2024
2b4ca98
Merge pull request #15038 from prometheus/dependabot/go_modules/githu…
roidelapluie Oct 7, 2024
f6e110d
textparse: Refactored main testing utils for reusability; fixed proto…
bwplotka Oct 7, 2024
e1a7008
Add unit test nhcbparse_test.go
krajorama Oct 7, 2024
e0444d9
Merge branch 'main' into nhcb-scrape-impl
krajorama Oct 7, 2024
db730fc
Document the notifications API
roidelapluie Oct 7, 2024
08d4b03
docs: Declare "float literals are time durations" as stable
beorn7 Oct 5, 2024
2a3aa50
Make nhcb unit test pass with many exceptions marked as TODOs
krajorama Oct 7, 2024
261d7d7
docs: extract HTTP client option documentation from scrape config
roidelapluie Oct 7, 2024
91de19f
[BUGFIX] TSDB: Don't read in-order chunks from before head MinTime
bboreham Oct 7, 2024
e7206c2
Remove http options from remote read/write
roidelapluie Oct 7, 2024
6acf2dc
Remove HTTP options from alerting
roidelapluie Oct 7, 2024
675349c
Remove HTTP options from vultr
roidelapluie Oct 7, 2024
aef84c0
Remove http options from uyuni
roidelapluie Oct 7, 2024
1dd45fd
Remove http options from Eureka and Scaleway
roidelapluie Oct 7, 2024
530c3fc
Remove HTTP client doc from nomad and marathon
roidelapluie Oct 7, 2024
04b1201
Remove http client docs from linode and lightsail
roidelapluie Oct 7, 2024
62b26ac
Remove HTTP config docs from Kuma, Kubernetes and IONOS
roidelapluie Oct 7, 2024
409d924
Remove client HTTP settings from HTTP SD and Hetzner SD
roidelapluie Oct 7, 2024
5f13098
Remove http client config from EC2 and PuppetDB
roidelapluie Oct 7, 2024
57e3fd0
Remove http options from docker and dockerswarm sd
roidelapluie Oct 7, 2024
7eb73b1
Remove http client config from consul and digitalocean
roidelapluie Oct 7, 2024
6bebeaf
Fix not checking all labels before deciding to store NHCB
krajorama Oct 7, 2024
65f6103
Merge pull request #15118 from roidelapluie/notificationsdoc
juliusv Oct 7, 2024
16f28be
Fix CT handling
krajorama Oct 7, 2024
6ebfbd2
chore!: adopt log/slog, remove go-kit/log
tjhop Sep 10, 2024
805954d
Merge pull request #14906 from tjhop/chore/3.0-adopt-slog
SuperQ Oct 7, 2024
f3358f3
Bump github.com/digitalocean/godo from 1.122.0 to 1.126.0
dependabot[bot] Oct 7, 2024
5dc59ac
Bump github.com/klauspost/compress from 1.17.9 to 1.17.10
dependabot[bot] Oct 7, 2024
e931587
Factor out label compare and store
krajorama Oct 8, 2024
8406aa9
Add a note for pre-built assets
roidelapluie Oct 8, 2024
24caa36
Merge pull request #15040 from prometheus/dependabot/go_modules/githu…
roidelapluie Oct 8, 2024
e5f604e
Merge pull request #15045 from prometheus/dependabot/go_modules/githu…
roidelapluie Oct 8, 2024
7b6259b
Merge pull request #15127 from roidelapluie/assets
juliusv Oct 8, 2024
576000a
Merge pull request #15111 from prometheus/beorn7/doc
beorn7 Oct 8, 2024
b87b88d
Merge branch 'main' into consul-catalog-filter-support
bboreham Oct 8, 2024
663a66b
Merge pull request #11224 from dekimsey/consul-catalog-filter-support
bboreham Oct 8, 2024
f0a9f62
[DOCS] Querying basics: what can be graphed
hvnsweeting Oct 3, 2024
8650d25
Add additional basic nhcb unit tests (#15086)
fionaliao Oct 8, 2024
90f7832
Merge pull request #15084 from hvnsweeting/patch-1
juliusv Oct 8, 2024
9623681
Prepare 3.0.0-beta.1
bboreham Oct 8, 2024
eb90f23
Update CHANGELOG to commit 90f7832447d
bboreham Oct 8, 2024
eaf9804
Few more 3.0-beta.1 CHANGELOGs
bboreham Oct 8, 2024
7fccf1e
Disable CT handling and enable exemplar handling
krajorama Oct 9, 2024
fbbf10b
Use the proper way to iterate labels
krajorama Oct 9, 2024
f3c8ed2
minor fixes
krajorama Oct 9, 2024
a2805e7
Merge branch 'main' into nhcb-scrape-impl
krajorama Oct 9, 2024
4e911a3
Follow-up merge from main
krajorama Oct 9, 2024
6b15791
Follow the follow-up
krajorama Oct 9, 2024
8dfa733
Fix labels handling with dedupelabels tag
krajorama Oct 9, 2024
5e987e7
Merge pull request #15092 from jan--f/clarify-storage-contract
beorn7 Oct 9, 2024
530e951
Fix case of keeping classic series
krajorama Oct 9, 2024
02d0de9
Merge pull request #14997 from fionaliao/fl/update-format-docs
beorn7 Oct 9, 2024
a4cb52f
docs: Update chunk layot for NHCB
beorn7 Oct 9, 2024
12c39d5
docs: Some nitpicking in chunks.md
beorn7 Oct 9, 2024
14f9231
Add basic benchmark cases for NHCB over OM
krajorama Oct 9, 2024
9b5d728
Use labels hash to determine change in metric like CT
krajorama Oct 9, 2024
ff16fa1
fix: fix slice init length
huochexizhan Oct 10, 2024
720a259
Merge pull request #15135 from prometheus/beorn7/docs
beorn7 Oct 10, 2024
8b545ba
Merge pull request #15026 from huochexizhan/main
beorn7 Oct 10, 2024
032ca9e
[PERF] textparse: further optimzations for OM `CreatedTimestamps` (#1…
Maniktherana Oct 10, 2024
631fadc
Unit test for data race in head.Appender.AppendHistogram
krajorama Oct 10, 2024
bb70370
TSDB head: fix race between AppendHistogram and Commit
krajorama Oct 10, 2024
d9a5428
Merge pull request #14987 from machine424/yafix
machine424 Oct 10, 2024
e6f9e2d
Merge pull request #15119 from roidelapluie/dochttp
roidelapluie Oct 11, 2024
50ef0dc
Fix `MemPostings.Add` and `MemPostings.Get` data race (#15141)
colega Oct 11, 2024
1e3953a
Bump github.com/docker/docker (#15033)
dependabot[bot] Oct 12, 2024
7ce9cfa
Bump the k8s-io group with 3 updates (#15030)
dependabot[bot] Oct 12, 2024
16bba78
discovery: Improve Azure test coverage to 50% (#14586)
mviswanathsai Oct 13, 2024
b8867f8
Merge pull request #15142 from krajorama/fix-appendhistogram-race
krajorama Oct 14, 2024
0a40a09
Use const instead of -53
krajorama Oct 14, 2024
a1700aa
Apply suggestions from code review
krajorama Oct 14, 2024
c3b8582
[PERF] textparse: optimize OM `p.isCreatedSeries()` (#15150)
Maniktherana Oct 14, 2024
522149a
model: move classic NHCB conversion into its own file (#15156)
krajorama Oct 14, 2024
c135856
Merge branch 'main' into nhcb-scrape-impl
krajorama Oct 14, 2024
d930648
Add doc string for NHCBParser
krajorama Oct 14, 2024
78de9bd
convertnhcb: use CutSuffix instead of regex replace for histogram name
krajorama Oct 14, 2024
911c3ef
Merge pull request #14976 from prometheus/prep-3.0-beta.1
ArthurSens Oct 14, 2024
1e1f6ab
Merge pull request #15120 from bboreham/floor-ino-mint
bboreham Oct 15, 2024
d4b1f9e
Corrects the behaviour of binary opperators between histogram and flo…
NeerajGartia21 Oct 15, 2024
ab2475c
test(tsdb): add a reproducer for https://github.com/prometheus/promet…
machine424 Aug 6, 2024
b1c356b
fix(discovery): Handle cache.DeletedFinalStateUnknown in node informe…
machine424 Oct 15, 2024
5541927
Merge pull request #15159 from prometheus/nhcb-scrape-optimize1
krajorama Oct 16, 2024
08a7162
discovery: aws/ec2 unit tests (#14364)
akunszt Oct 16, 2024
5a4e4f6
Fix stddev/stdvar when aggregating histograms, NaNs, and infinities (…
jhesketh Oct 16, 2024
4271670
chore(deps): update client_golang from 1.20.4 to 1.20.5
krajorama Oct 16, 2024
a846bf9
Merge branch 'release-2.55' into merge-2.55-into-main-3
bboreham Oct 16, 2024
5dd5aec
Merge pull request #14599 from machine424/sigsegv
bboreham Oct 16, 2024
6ce21b8
Merge pull request #15172 from krajorama/update-client-golang
krajorama Oct 16, 2024
14ef1ce
Round function should ignore native histograms
jhesketh Oct 17, 2024
2cabd1b
config: remove expand-external-labels flag in release 3.0 (#14657)
jyz0309 Oct 17, 2024
04b827d
Merge branch 'main' into nhcb-scrape-impl
krajorama Oct 17, 2024
5ee698d
Apply review comments
krajorama Oct 17, 2024
efc43d0
s/scrape_classic_histograms/always_scrape_classic_histograms (3.0 bre…
bwplotka Oct 18, 2024
e6a682f
Reproduce populateWithDelChunkSeriesIterator corrupting chunk meta
krajorama Oct 18, 2024
a4083f1
Fix populateWithDelChunkSeriesIterator corrupting chunk meta
krajorama Oct 18, 2024
763cbdf
Merge pull request #15180 from prometheus/ooo-nh-corrupt-chunk
krajorama Oct 18, 2024
754c104
Merge pull request #15173 from prometheus/merge-2.55-into-main-3
bboreham Oct 18, 2024
18b81ad
feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting …
machine424 Oct 15, 2024
c78d5b9
Disallowing configure AM with the v1 api (#13883)
alanprot Oct 18, 2024
5505c83
Merge pull request #15167 from machine424/impor
machine424 Oct 18, 2024
421a3c2
scrape: provide a fallback format (#15136)
alexgreenbank Oct 18, 2024
98dcd28
Merge pull request #15170 from machine424/awldi
machine424 Oct 18, 2024
8bcb4d8
feat: normalize "le" and "quantile" labels values upon ingestion
machine424 Oct 15, 2024
cf128a0
test(cmd/prometheus): speed up test execution by t.Parallel() when po…
machine424 Aug 7, 2024
d8c1605
Merge pull request #15164 from machine424/quantile
machine424 Oct 19, 2024
6b36a55
Merge pull request #14618 from machine424/para
bboreham Oct 20, 2024
8c1b5a6
Merge branch 'main' into nhcb-scrape-impl
krajorama Oct 21, 2024
482bb45
Followup to #15164
krajorama Oct 21, 2024
70742a6
Follow up #15178
krajorama Oct 21, 2024
a23aed5
More followup to #15164
krajorama Oct 21, 2024
4283ae7
Rename convert_classic_histograms to convert_classic_histograms_to_nhcb
krajorama Oct 21, 2024
5ee0980
Add unit test to show that current wrapper is sub-optimal
krajorama Oct 21, 2024
eaee6ba
Fix failing benchmarks
krajorama Oct 21, 2024
a6947e1
Remove omcounterdata.txt as redundant
krajorama Oct 21, 2024
555bd62
Better docstring on test
krajorama Oct 21, 2024
bee1eb7
goimports run
krajorama Oct 21, 2024
25ef4d3
benchmark, rename parser omtext_with_nhcb
krajorama Oct 21, 2024
70e2d23
Merge pull request #11474 from clwluvw/group-label
bboreham Oct 21, 2024
877fd2a
Update scrape/scrape.go
krajorama Oct 21, 2024
d2802c6
api: Add rule group pagination to list rules api (#14017)
qinxx108 Oct 21, 2024
ad4857d
Merge pull request #14978 from prometheus/nhcb-scrape-impl
krajorama Oct 22, 2024
eb523a6
fix(storage/mergeQuerier): add a reproducer for data race that occurs…
machine424 Sep 25, 2024
cebcdce
fix(storage/mergeQuerier): copy the matcjers slice before passing it …
machine424 Sep 27, 2024
3afcda8
docs: add keep_firing_for in alerting rules
alexgreenbank Oct 22, 2024
1b4e7f7
feat(tools): add debug printouts to rules unit testing (#15196)
krajorama Oct 22, 2024
3bb5e28
Merge pull request #15197 from prometheus/alexg/docs-issue-11570
beorn7 Oct 22, 2024
aa81210
NHCB scrape: refactor state handling and speed up scrape test (#15193)
krajorama Oct 22, 2024
7c7116f
Merge pull request #15176 from jhesketh/jhesketh/round
beorn7 Oct 22, 2024
cccbe72
TSDB: Fix some edge cases when OOO is enabled (#14710)
Vanshikav123 Oct 23, 2024
2182b83
feat(nhcb): implement created timestamp handling (#15198)
krajorama Oct 24, 2024
7ca90e5
doc: fix formatting
multani Oct 24, 2024
469573b
fix(nhcb): do not return nhcb from parse if exponential is present (#…
krajorama Oct 24, 2024
3cb09ac
Docs: Remove experimental note on out of order feature (#15215)
jesusvazquez Oct 24, 2024
99882ee
log last series labelset when hitting OOO series labels during compac…
yeya24 Oct 24, 2024
20fdc8f
[CHANGE] Remote-write: default enable_http2 to false
bboreham Oct 24, 2024
7939eab
remote-write: change test default expected to http2 disabled
jan--f Oct 24, 2024
b602393
fix: avoid data race in log deduper
tjhop Oct 24, 2024
4f9e4dc
ref: remove unused deduper log wrapper methods
tjhop Oct 24, 2024
07d01a9
Merge pull request #15219 from jan--f/rw-default-http2-off
jan--f Oct 25, 2024
24a1052
Merge pull request #15205 from tjhop/chore/slog-fixes
jan--f Oct 25, 2024
f131cdd
3.0 migration guide (#15099)
jan--f Oct 25, 2024
38fd48e
Merge tag 'v2.55.0' into release-3.0.0-rc.0
jan--f Oct 25, 2024
d87f744
support int exemplar value type
CharlieTLe Oct 24, 2024
42a30a0
Merge pull request #15217 from CharlieTLe/support-int-exemplars
machine424 Oct 25, 2024
93db81d
Merge pull request #14983 from machine424/dopp
machine424 Oct 25, 2024
372b83d
Documented that WAL can still be written after memory-snapshot-on-shu…
Gopi-eng2202 Oct 25, 2024
3acb314
update CHANGELOG
jan--f Oct 26, 2024
bab587b
Agent: allow for ingestion of CT samples (#15124)
pedro-stanaka Oct 27, 2024
eb3b349
fix(nhcb): created timestamp fails when keeping classic histograms (#…
krajorama Oct 28, 2024
685d6d1
refactor: reorder fields in defaultSDConfig initialization for consis…
3Juhwan Oct 27, 2024
e452308
discovery/kubernetes: optimize resolvePodRef
GiedriusS Oct 28, 2024
716fd5b
discovery/kubernetes: use namespacedName
GiedriusS Oct 28, 2024
58fedb6
discovery/kubernetes: optimize more gets
GiedriusS Oct 28, 2024
7cda23b
fix(lezer-promql): fix missing types export in package.json (#15161)
jackw Oct 28, 2024
5408184
react-app: bump version in lock file
jan--f Oct 28, 2024
99c0e68
Merge pull request #15230 from GiedriusS/optimize_resolvepodref
machine424 Oct 28, 2024
559722d
Merge pull request #15206 from multani/fix-doc-formatting
machine424 Oct 28, 2024
706dcfe
tsdb.CircularExemplarStorage: Avoid racing (#15231)
aknuds1 Oct 29, 2024
a44db5f
chore: fix function name in comment
shenpengfeng Oct 29, 2024
350e0d5
Merge pull request #15228 from shenpengfeng/main
machine424 Oct 29, 2024
b6c5389
[REFACTORY] simplify appender commit (#15112)
nicolastakashi Oct 29, 2024
e2f55c3
fix CHANGELOG formatting and add entry for #14694
jan--f Oct 29, 2024
ba11a55
Revert "Process `MemPostings.Delete()` with `GOMAXPROCS` workers"
colega Oct 29, 2024
d0eecb1
Merge pull request #15239 from colega/revert-14975-process-memposting…
codesome Oct 29, 2024
c861b31
Support UTF-8 metric names and labels in web UI
juliusv Oct 29, 2024
2e7c739
chore: add tcp events to remote store span
jmichalek132 Oct 25, 2024
3c1ffbb
chore: added idleTimeMs and fixed linting issues
jmichalek132 Oct 25, 2024
7ecdb55
chore: use otelhttptrace instead
jmichalek132 Oct 28, 2024
76ff12b
chore: only create span events
jmichalek132 Oct 30, 2024
76ca7d0
Fixup: re-add erroneously removed lines
juliusv Oct 30, 2024
8588289
otlp translator: Add test showing bugs
ArthurSens Oct 30, 2024
ea06f1a
bugfix: Fix otlp translation of foreign characters
ArthurSens Oct 30, 2024
5fdd382
CHANGELOG: remove duplicate entry
jan--f Oct 31, 2024
284135a
Merge pull request #15223 from jan--f/release-3.0.0-rc.0
jan--f Oct 31, 2024
ccaff31
Merge pull request #15249 from prometheus/otlp-fix-sanitiza
ArthurSens Oct 31, 2024
dd4eb45
Merge pull request #15222 from jmichalek132/jm-add-tcp-events-to-tracing
bwplotka Nov 1, 2024
e2e01c1
Merge pull request #15216 from yeya24/log-last-series-labels
bboreham Nov 1, 2024
adcc873
[BUILD] React-app: replace 0.55.0-rc.0 with 0.55.0
bboreham Nov 2, 2024
034d2b2
Fix typos in tests (#15312)
ArthurSens Nov 2, 2024
1a22b1d
bugfix: Fix otlp translator switching colons to undescores (#15251)
ArthurSens Nov 3, 2024
9700933
Merge pull request #15311 from prometheus/remove-55-rc
bboreham Nov 3, 2024
2fbbfc3
Revert "Fix `MemPostings.Add` and `MemPostings.Get` data race (#15141)"
bboreham Nov 3, 2024
7c4f877
otlptranslator: Harmonize non-UTF8 sanitization w/ naming rules. (#15…
aknuds1 Nov 3, 2024
a1a78a1
Merge pull request #15316 from bboreham/revert-15141
bboreham Nov 3, 2024
4b56af7
Add hidden flag for the delayed compaction random time window (#14919)
ahurtaud Nov 4, 2024
51866b9
Merge pull request #15244 from prometheus/utf8-web-ui-support
juliusv Nov 4, 2024
60da9b8
Merge pull request #15325 from prometheus/merge-main-into-3.0
jan--f Nov 4, 2024
1ac3ca9
Release 3.0.0-rc.0
jan--f Oct 31, 2024
1b2defa
Merge pull request #15256 from jan--f/prep-release-3.0.0-rc.0
jan--f Nov 4, 2024
d19e749
Fix selector / series formatting for empty metric names
juliusv Nov 5, 2024
8bd1d73
Merge pull request #15341 from prometheus/fix/empty-metric-name-forma…
juliusv Nov 5, 2024
54a3f50
docs: formatting and typo fixes to 3.0 migration guide
fionaliao Nov 6, 2024
5c05c89
Update prometheus/common
roidelapluie Nov 5, 2024
1ea3557
Merge pull request #15353 from fionaliao/fl/update-docs
bboreham Nov 7, 2024
704071d
Merge pull request #15355 from roidelapluie/update-common-3
beorn7 Nov 7, 2024
6b09f09
scrape: stop erroring on empty scrapes
alexgreenbank Nov 7, 2024
e7c0d21
add CHANGELOG entry
alexgreenbank Nov 7, 2024
d40b671
Merge pull request #15357 from prometheus/alexg/fix-fallback-scrape-r…
alexgreenbank Nov 8, 2024
fb69a38
Enable auto-gomemlimit by default (#15373)
SuperQ Nov 11, 2024
f701f4e
Enable auto-gomaxprocs by default (#15376)
SuperQ Nov 11, 2024
ad8138a
Add newlines before code blocks
fionaliao Nov 11, 2024
962a3cd
Add backticks to fallback_scrape_protocol
fionaliao Nov 11, 2024
b2fd5b7
Format PromQL section, replace table
fionaliao Nov 11, 2024
67764d7
Better spacing for flags
fionaliao Nov 11, 2024
99cbdc1
Update migration.md for TSDB storage upgrade
bwplotka Nov 11, 2024
9df6904
Merge pull request #15382 from prometheus/bwplotka-patch-1
bwplotka Nov 11, 2024
55e34c8
Allow UTF-8 characters in metric and label names as opt-in feature (#…
ArthurSens Nov 8, 2024
e08794c
Added config entry.
bwplotka Nov 11, 2024
f4a26f8
Merge pull request #15384 from prometheus/otlp-utf8-from-main
bwplotka Nov 11, 2024
3067d0b
update CHANGELOG and migration guide
jan--f Nov 11, 2024
6048930
Prepare v3.0.0-rc.1
jan--f Nov 11, 2024
7311ce3
Update CHANGELOG.md
bwplotka Nov 11, 2024
22eec4a
Updated CHANGELOG.md
bwplotka Nov 11, 2024
14f7a8e
Merge pull request #15375 from jan--f/prep-release-3.0.0-rc.1
bwplotka Nov 11, 2024
928e691
Merge branch 'release-3.0' into fix-migration-guide
fionaliao Nov 12, 2024
b93aec0
Fix auto reload when a config file with a syntax error is reverted
roidelapluie Sep 30, 2024
32e28a2
Merge pull request #15379 from fionaliao/fix-migration-guide
bboreham Nov 12, 2024
003a227
[BUGFIX] TSDB: Fix race on stale values in headAppender (#15322)
bboreham Nov 6, 2024
af2d67d
Merge pull request #15388 from roidelapluie/cpfixreload
roidelapluie Nov 12, 2024
57a7a29
Merge pull request #15389 from jan--f/fix-appender-race-3.0
bboreham Nov 12, 2024
84396bf
migration: add removal of AM v1 api
jan--f Nov 13, 2024
d541b3b
prepare release 3.0.0
jan--f Nov 13, 2024
c5d009d
Merge pull request #15393 from jan--f/prep-release-3.0.0
bboreham Nov 14, 2024
4b573e0
promql: Fix subqueries to be really left-open
beorn7 Nov 20, 2024
bafb4d6
Merge pull request #15431 from prometheus/beorn7/promql2
beorn7 Nov 21, 2024
3e24e84
fix!: stop unbounded memory usage from query log
tjhop Nov 23, 2024
fee61fb
Merge pull request #15434 from tjhop/fix/query-logger-compounding-keys
bboreham Nov 24, 2024
8867571
Add support for utf8 names on `/v1/label/:name/values` endpoint
newtonne Sep 19, 2024
12577e3
Add support for values unescaping on `/v1/label/:name/values` endpoint
ywwg Nov 14, 2024
c5c222e
Merge pull request #15399 from prometheus/labels-utf8-fix
jan--f Nov 27, 2024
67d4be7
prepare release 3.0.1
jan--f Nov 27, 2024
1f56e84
Merge pull request #15478 from jan--f/prep-release-3.0.1
ArthurSens Nov 28, 2024
d4afefb
Merge tag 'refs/tags/v3.0.1' into openshift-master
slashpai Dec 3, 2024
f35de93
go mod tidy && go mod vendor
slashpai Dec 3, 2024
4fdd015
make assets
slashpai Dec 4, 2024
f978814
make assets-compress
slashpai Dec 4, 2024
8487ba3
update rh-manifest.txt
slashpai Dec 4, 2024
6bde13d
Merge remote-tracking branch 'remotes/openshift/master' into openshif…
slashpai Dec 13, 2024
d0ae15c
make assets and make assets-compress
slashpai Dec 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: Prometheus Community Support
url: https://prometheus.io/community/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/buf-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: bufbuild/buf-setup-action@54abbed4fe8d8d45173eca4798b0c39a53a7b658 # v1.39.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: bufbuild/buf-setup-action@62ee92603c244ad0da98bab36a834a999a5329e6 # v1.43.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/buf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'prometheus'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: bufbuild/buf-setup-action@54abbed4fe8d8d45173eca4798b0c39a53a7b658 # v1.39.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: bufbuild/buf-setup-action@62ee92603c244ad0da98bab36a834a999a5329e6 # v1.43.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
Expand Down
74 changes: 46 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
# should also be updated.
image: quay.io/prometheus/golang-builder:1.23-base
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- uses: ./.github/promci/actions/setup_environment
- run: make GOOPTS=--tags=stringlabels GO_ONLY=1 SKIP_GOLANGCI_LINT=1
with:
enable_npm: true
- run: make GOOPTS=--tags=stringlabels GO_ONLY=1 SKIP_GOLANGCI_LINT=1 test-flags=""
- run: go test --tags=stringlabels ./tsdb/ -test.tsdb-isolation=false
- run: make -C documentation/examples/remote_storage
- run: make -C documentation/examples
Expand All @@ -27,8 +29,8 @@ jobs:
container:
image: quay.io/prometheus/golang-builder:1.23-base
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- uses: ./.github/promci/actions/setup_environment
- run: go test --tags=dedupelabels ./...
- run: GOARCH=386 go test ./cmd/prometheus
Expand All @@ -46,7 +48,7 @@ jobs:
# The go version in this image should be N-1 wrt test_go.
image: quay.io/prometheus/golang-builder:1.22-base
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- run: make build
# Don't run NPM build; don't run race-detector.
- run: make test GO_ONLY=1 test-flags=""
Expand All @@ -60,8 +62,8 @@ jobs:
image: quay.io/prometheus/golang-builder:1.23-base

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- uses: ./.github/promci/actions/setup_environment
with:
enable_go: false
Expand All @@ -77,7 +79,7 @@ jobs:
name: Go tests on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.23.x
Expand All @@ -94,7 +96,7 @@ jobs:
container:
image: quay.io/prometheus/golang-builder:1.23-base
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- run: go install ./cmd/promtool/.
- run: go install github.com/google/go-jsonnet/cmd/jsonnet@latest
- run: go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
Expand All @@ -110,15 +112,17 @@ jobs:
if: |
!(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.'))
&&
!(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v3.'))
&&
!(github.event_name == 'pull_request' && startsWith(github.event.pull_request.base.ref, 'release-'))
&&
!(github.event_name == 'push' && github.event.ref == 'refs/heads/main')
strategy:
matrix:
thread: [ 0, 1, 2 ]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- uses: ./.github/promci/actions/build
with:
promu_opts: "-p linux/amd64 -p windows/amd64 -p linux/arm64 -p darwin/amd64 -p darwin/arm64 -p linux/386"
Expand All @@ -130,6 +134,8 @@ jobs:
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.'))
||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v3.'))
||
(github.event_name == 'pull_request' && startsWith(github.event.pull_request.base.ref, 'release-'))
||
(github.event_name == 'push' && github.event.ref == 'refs/heads/main')
Expand All @@ -140,8 +146,8 @@ jobs:
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- uses: ./.github/promci/actions/build
with:
parallelism: 12
Expand All @@ -163,7 +169,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
Expand All @@ -176,7 +182,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
Expand All @@ -202,8 +208,8 @@ jobs:
needs: [test_ui, test_go, test_go_more, test_go_oldest, test_windows, golangci, codeql, build_all]
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- uses: ./.github/promci/actions/publish_main
with:
docker_hub_login: ${{ secrets.docker_hub_login }}
Expand All @@ -214,10 +220,13 @@ jobs:
name: Publish release artefacts
runs-on: ubuntu-latest
needs: [test_ui, test_go, test_go_more, test_go_oldest, test_windows, golangci, codeql, build_all]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.')
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.'))
||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v3.'))
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- uses: ./.github/promci/actions/publish_release
with:
docker_hub_login: ${{ secrets.docker_hub_login }}
Expand All @@ -231,10 +240,10 @@ jobs:
needs: [test_ui, codeql]
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prometheus/promci@468927c440349ab56c4a1aafd453b312841503c2 # v0.4.4
- name: Install nodejs
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version-file: "web/ui/.nvmrc"
registry-url: "https://registry.npmjs.org"
Expand All @@ -245,17 +254,26 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Check libraries version
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.')
run: ./scripts/ui_release.sh --check-package "$(echo ${{ github.ref_name }}|sed s/v2/v0/)"
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.'))
||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v3.'))
run: ./scripts/ui_release.sh --check-package "$(./scripts/get_module_version.sh ${{ github.ref_name }})"
- name: build
run: make assets
- name: Copy files before publishing libs
run: ./scripts/ui_release.sh --copy
- name: Publish dry-run libraries
if: "!(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.'))"
if: |
!(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.'))
&&
!(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v3.'))
run: ./scripts/ui_release.sh --publish dry-run
- name: Publish libraries
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.')
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.'))
||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v3.'))
run: ./scripts/ui_release.sh --publish
env:
# The setup-node action writes an .npmrc file with this env variable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Initialize CodeQL
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/autobuild@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
4 changes: 2 additions & 2 deletions .github/workflows/container_description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
steps:
- name: git checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set docker hub repo name
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
- name: Push README to Dockerhub
Expand All @@ -40,7 +40,7 @@ jobs:
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
steps:
- name: git checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set quay.io org name
run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
- name: Set quay.io repo name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
container:
image: quay.io/prometheus/golang-builder
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- run: ./scripts/sync_repo_files.sh
env:
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # tag=v4.1.6
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # tag=v4.2.0
with:
persist-credentials: false

Expand All @@ -37,14 +37,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag=v4.3.4
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # tag=v4.4.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@4dd16135b69a43b6c8efb853346f8437d92d3c93 # tag=v3.26.6
uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # tag=v3.26.10
with:
sarif_file: results.sarif
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ benchmark.txt
/documentation/examples/remote_storage/example_write_adapter/example_write_adapter

npm_licenses.tar.bz2
/web/ui/static/react/*
!/web/ui/static/react/static
/web/ui/static/react/static/js/*
!/web/ui/static/react/static/js/*.gz
/web/ui/static

#/vendor
/.build
Expand Down
15 changes: 2 additions & 13 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ linters:
- usestdlibvars
- whitespace
- loggercheck
- sloglint

issues:
max-issues-per-linter: 0
Expand Down Expand Up @@ -100,8 +101,6 @@ linters-settings:
- (net/http.ResponseWriter).Write
# No need to check for errors on server's shutdown.
- (*net/http.Server).Shutdown
# Never check for logger errors.
- (github.com/go-kit/log.Logger).Log
# Never check for rollback errors as Rollback() is called when a previous error was detected.
- (github.com/prometheus/prometheus/storage.Appender).Rollback
goimports:
Expand Down Expand Up @@ -153,14 +152,4 @@ linters-settings:
disable:
- float-compare
- go-require
enable:
- bool-compare
- compares
- empty
- error-is-as
- error-nil
- expected-actual
- len
- require-error
- suite-dont-use-pkg
- suite-extra-assert-call
enable-all: true
2 changes: 0 additions & 2 deletions .promu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ tarball:
# Whenever there are new files to include in the tarball,
# remember to make sure the new files will be generated after `make build`.
files:
- consoles
- console_libraries
- documentation/examples/prometheus.yml
- LICENSE
- NOTICE
Expand Down
Loading