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

[bot] Bump stolostron/prometheus to v2.53.1 #66

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
34072ff
makefile: let golangci-lint also run on arm64
mickael-carl May 6, 2023
420b324
docs: add a quick note on linting in contributing guidelines
mickael-carl May 6, 2023
084420b
chore:fix typo
tylitianrui Feb 15, 2024
7e8f036
Code optimization: The relabel operation is used very frequently, and…
aiwhj Feb 29, 2024
2aab70b
Clarify batch_send_deadline docs
nemobis Mar 13, 2024
c5a1cc9
chore(tsdb): add a sandboxDir to DBReadOnly, the directory can be use…
machine424 Nov 29, 2023
5ab24a0
refactor: add max func to maxTimestamp
komisan19 Apr 21, 2024
3d84d4d
fix
komisan19 Apr 22, 2024
e7219e3
Rule Manager: Add `rule_group_last_restore_duration_seconds` to measu…
gotjosh Apr 23, 2024
5e638b7
docs: storage.md: clarify storage.tsdb.retention.time description
tesla59 Apr 23, 2024
381a77a
Change variable name to `restoreStartTime` from `now` and introduce a…
gotjosh Apr 24, 2024
d672eda
Add a changelog entry
gotjosh Apr 24, 2024
5beb2fe
Improve the metric description
gotjosh Apr 24, 2024
d15869a
Avoid creating new slices for labels values on postings for matchers …
alanprot Apr 24, 2024
4ac7806
Merge pull request #13974 from prometheus/measure-restore-time-rules
gotjosh Apr 24, 2024
4daaa59
Rule Manager: Only query once per alert rule when restoring alert state
gotjosh Apr 23, 2024
e6dcbd2
bug: nil check against the series set not errors
gotjosh Apr 23, 2024
2762015
Fix tests and a bug with the series lookup logic.
gotjosh Apr 24, 2024
fa75985
Use the string representation of the labels instead of the hash
gotjosh Apr 24, 2024
6cfc584
- Add a changelog entry
gotjosh Apr 24, 2024
2de2fee
Allow the result map for the series set before hand with a hint.
gotjosh Apr 24, 2024
cc22071
fix typo
gotjosh Apr 24, 2024
7aacef9
bugfix: Decouple native histogram ingestions and protobuf parsing
Apr 24, 2024
dde2e5e
Improve comments around resending resolved alerts (#13990)
grobinson-grafana Apr 25, 2024
0305490
Merge pull request #13987 from prometheus/nativeHis-flag-ingestion
ArthurSens Apr 25, 2024
31a4217
discovery(k8s): Only register client-go metrics adapters when needed
Apr 25, 2024
8013149
Update docs/storage.md
tesla59 Apr 27, 2024
c8b2398
Update docs/storage.md
tesla59 Apr 27, 2024
f7e923c
fix(scaleway-sd): use public IPs if no private IP present (#13941)
Heyoxe Apr 27, 2024
99f9d32
UTF-8: updates UI parser to support UTF-8 characters (#13590)
NeerajGartia21 Apr 29, 2024
ed4e50e
Merge pull request #13992 from heckler1/heckler1/discovery-client-go
roidelapluie Apr 29, 2024
34ee8c6
Merge pull request #13982 from tesla59/tesla/storage-doc
ArthurSens Apr 29, 2024
b974a99
fix
komisan19 Apr 30, 2024
9fda944
fix(promql/query_logger): close file in error handling (#13948)
testwill Apr 30, 2024
7554384
otlp: Prometheus to own its own copy of the otlptranslator package (#…
jesusvazquez Apr 30, 2024
0cd3a22
docs: [ovh sd] Added missing label for OVH dedicated server in servic…
Apr 30, 2024
759ca8b
Merge branch 'main' into refactor/add_max_func_to_maxTimestamp
aknuds1 Apr 30, 2024
7f81065
Merge pull request #13966 from komisan19/refactor/add_max_func_to_max…
aknuds1 Apr 30, 2024
99f3051
OTLP: Use PrometheusConverter directly
aknuds1 Apr 30, 2024
9189507
prometheusremotewrite: Add PrometheusConverter.FromMetrics benchmark
aknuds1 Apr 30, 2024
151f6e0
Add an assertion on the count of alerts before adding an active alert
gotjosh Apr 30, 2024
ccfafae
Rename QueryforStateSeries to QueryForStateSeries
gotjosh Apr 30, 2024
63b0994
Use labels.Len() instead of manually counting the labels
gotjosh Apr 30, 2024
e491deb
Merge pull request #14006 from aknuds1/arve/otlp-translator-direct
aknuds1 Apr 30, 2024
f63dbc3
Remove duplicated sorted and assignment of expected alerts.
gotjosh Apr 30, 2024
05ca082
Rename `alerts` to `expectedAlerts` in the test case input
gotjosh Apr 30, 2024
379dec9
querier.Select cannot return a nil series set.
gotjosh Apr 30, 2024
1dd0bff
Merge pull request #13980 from prometheus/gotjosh/restore-only-with-r…
gotjosh Apr 30, 2024
965f507
ci: check generated parser code before running unit tests
krajorama Apr 30, 2024
12e3177
Add missing OTLP fixes to changelog (#14014)
aknuds1 Apr 30, 2024
fc34570
prometheusremotewrite: Move TimeSeries method to timeseries.go
aknuds1 May 1, 2024
29b5583
Merge pull request #14012 from krajorama/ci-check-promql-parser
krajorama May 1, 2024
f09cf2d
Update promu
SuperQ May 1, 2024
ff1bcdb
build(deps): bump golangci/golangci-lint-action in /scripts
dependabot[bot] May 1, 2024
1821803
build(deps): bump actions/checkout from 4.1.2 to 4.1.4
dependabot[bot] May 1, 2024
781815f
build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3
dependabot[bot] May 1, 2024
b90e1df
build(deps): bump github.com/prometheus/prometheus
dependabot[bot] May 1, 2024
753fdd5
build(deps): bump github.com/linode/linodego from 1.32.0 to 1.33.0
dependabot[bot] May 1, 2024
bb513b2
build(deps): bump google.golang.org/api from 0.174.0 to 0.177.0
dependabot[bot] May 1, 2024
cf02e5d
Merge pull request #14037 from prometheus/dependabot/go_modules/googl…
roidelapluie May 2, 2024
ce8789f
Merge pull request #14031 from prometheus/dependabot/go_modules/docum…
roidelapluie May 2, 2024
2d41a35
Merge pull request #14027 from prometheus/dependabot/github_actions/a…
roidelapluie May 2, 2024
90f4577
Merge pull request #14024 from prometheus/dependabot/github_actions/s…
roidelapluie May 2, 2024
3257ab4
Merge pull request #14035 from prometheus/dependabot/go_modules/githu…
roidelapluie May 2, 2024
85e3c43
Merge pull request #14029 from prometheus/dependabot/github_actions/a…
roidelapluie May 2, 2024
650f4d7
Merge remote-tracking branch 'origin/main' into resolve-conflicts-2.52
May 2, 2024
73f42fe
Merge pull request #14023 from prometheus/superq/promu
SuperQ May 2, 2024
94c81bb
Merge pull request #14039 from prometheus/resolve-conflicts-2.52
Nexucis May 2, 2024
d2caf51
removed formateoverview section (#13994)
kushalShukla-web May 3, 2024
c10186e
BUGFIX: Mark the rule's restoration process as completed always (#14048)
gotjosh May 3, 2024
2e323af
Merge branch 'main' into resolve-conflicts-2.52
May 3, 2024
93be830
Merge pull request #14051 from prometheus/resolve-conflicts-2.52
ArthurSens May 3, 2024
4b7a44c
Fix `parser.VectorSelector.String()` with empty name matcher (#14015)
colega May 6, 2024
2524a91
Fix FastRegexMatcher matching multibyte runes with . (#14059)
colega May 7, 2024
8742768
bugfix: allow opting-out of multi-cluster setups
rexagod May 7, 2024
a25160e
[REFACTOR] PromQL: simplify rangeEvalTimestampFunctionOverVectorSelec…
aknuds1 May 8, 2024
108a6bc
tsdb/chunkenc.Pool: Refactor Get and Put
aknuds1 Jan 17, 2024
a1af3c2
refactor: extract almost.Equal() to new package
bboreham Apr 29, 2024
2b0c87b
test: turn TestKahanSum into scripted test
bboreham May 8, 2024
a6e4276
test: check for @-modifier without using engine internals
bboreham May 4, 2024
11b27d5
test: move test files into new promqltest package
bboreham Apr 29, 2024
ccf7326
test: move promqltest tests together with the implementation
bboreham Apr 29, 2024
9aa321d
test: make field initializers explicit
bboreham Apr 29, 2024
b3c15d2
test: clean up promqltest package references
bboreham Apr 29, 2024
178935d
Merge pull request #14043 from aknuds1/arve/chunkenc-refactor
beorn7 May 8, 2024
0ba7471
Merge pull request #14020 from aknuds1/arve/direct-otlp
aknuds1 May 8, 2024
dabd789
Quote label name in matchers when needed
colega May 8, 2024
6ebda5a
Optimize Matcher.String()
colega May 8, 2024
babfcfd
refactor: Move NewTestEngine into promqltest
bboreham Apr 29, 2024
e7c77f7
promql: export NewTestQuery
bboreham Apr 29, 2024
8fd9624
test: add promqltest package references
bboreham Apr 29, 2024
4a72607
refactor: extract some PromQL Engine tests which use unexported structs
bboreham Apr 29, 2024
0dbfd20
test: move most PromQL tests into separate test package
bboreham Apr 29, 2024
d699dc3
Fix language in docs and comments (#14041)
aknuds1 May 8, 2024
786e0e7
test: PromQL: stop using internal fields of engine
bboreham May 4, 2024
b7b4355
Use bytes.Buffer from stack buf in Matcher.String()
colega May 9, 2024
5c4310a
[ENHANCEMENT] TSDB: Optimize querying with regexp matchers
aknuds1 May 9, 2024
3fd24d1
Merge pull request #13999 from bboreham/extract-promqltest
bboreham May 9, 2024
aabe4d6
promql.ActiveQueryTracker: Unmap mmapped file when done
aknuds1 Apr 29, 2024
3b8b577
otlp: Remove OTel feature gate registration from copied translation p…
Aneurysm9 May 10, 2024
a438160
Add failing test case
charleskorn May 13, 2024
036c872
Ensure series in matrix values returned for instant queries are alway…
charleskorn May 13, 2024
0e934db
Capture timing information while sorting
charleskorn May 13, 2024
fdfc6d4
Benchmark zeroOrOneCharacterStringMatcher.Matches
colega May 13, 2024
bcff505
Use utf8.DecodeRuneInString(s)
colega May 13, 2024
dbe88fa
Add invalid utf8 test cases to regexp
colega May 13, 2024
8b4c945
Check utf8.RuneError result
colega May 13, 2024
548bd9d
adds TestNativeHistogramRate func to promql test framework
NeerajGartia21 Feb 25, 2024
8b838a0
adds test for native histogram rate func in promql testing framework
NeerajGartia21 Mar 21, 2024
adf5a36
adds test for sum, count, stddev, stdvar, quantile and fraction func …
NeerajGartia21 Apr 10, 2024
6119124
some nits
NeerajGartia21 Apr 11, 2024
661856c
removes the added tests from engine_test.go
NeerajGartia21 May 6, 2024
67326d8
Merge pull request #13758 from nemobis/federicol-remotewrite-tuning
bboreham May 14, 2024
dc92652
Merge pull request #13669 from aiwhj/optimization
bboreham May 14, 2024
e6be424
Merge pull request #14068 from colega/quote-label-name-in-matchers-wh…
beorn7 May 14, 2024
10eb23b
[TEST] Rules: Sleep 15ms to fit Windows behaviour better
bboreham May 14, 2024
fdaafdb
tsdb: check for context cancel before regex matching postings (#14096)
krajorama May 15, 2024
b215a41
tsdb/index/postings: fix missing lock unlock
krajorama May 15, 2024
179163a
Merge pull request #14103 from krajorama/handle-context-cancel-in-pos…
beorn7 May 15, 2024
f10c345
Enable perfsprint linter and fix up code
alexandear May 13, 2024
806073a
Merge pull request #14091 from alexandear/enable-perfsprint-linter
beorn7 May 15, 2024
bf8d88f
Merge remote-tracking branch 'origin/main' into arve/query-logger-munmap
aknuds1 May 15, 2024
0b1a0c0
Merge pull request #14062 from rexagod/multicluster-opt-out
metalmatze May 15, 2024
0f01d4b
Fix flaky test
aknuds1 May 15, 2024
1e0b0e2
Merge pull request #14090 from colega/improve-zeroOrOneCharacterStrin…
bboreham May 16, 2024
5ca56ee
tsdb/index: Refactor Reader tests (#14071)
aknuds1 May 16, 2024
d1eff95
Merge pull request #14100 from bboreham/windows-flake
roidelapluie May 16, 2024
edf5ebd
Merge pull request #13970 from jiekun/doc/ovh-dedicated-server-label
roidelapluie May 16, 2024
76b1237
Document sorting behaviour
charleskorn May 17, 2024
0fea106
added line When set, query.max-concurrency may need to be adjusted ac…
kushalShukla-web May 18, 2024
52f68a9
web/api: export defaultStatsRenderer (#14121)
krajorama May 18, 2024
114dc5c
Merge pull request #13638 from NeerajGartia21/promql-test
beorn7 May 19, 2024
fe9cb5a
Check context every 128 labels instead of 100 (#14118)
colega May 21, 2024
3119b8a
Merge pull request #13218 from machine424/ro-promtool
beorn7 May 21, 2024
3127a40
doc: Clarify the limits of dumping/backfilling via OpenMetrics
beorn7 May 21, 2024
5c85a55
Merge pull request #14120 from kushalShukla-web/remote
beorn7 May 21, 2024
fabcd7e
fix(api): Send warnings only if the limit is really exceeded (#14116)
machine424 May 21, 2024
2d2b440
fix: correct the typo in azuread sdk auth (#14106)
slashpai May 21, 2024
1081e33
Merge pull request #14129 from prometheus/beorn7/doc
beorn7 May 23, 2024
5be753f
.gitpod.Dockerfile: Auto-fetch Go and goyacc vers
mohamedawnallah May 24, 2024
0512ebf
Merge branch 'main' into mcarl/lint
roidelapluie May 24, 2024
a895265
Merge pull request #12339 from mickael-carl/mcarl/lint
roidelapluie May 24, 2024
c0221d9
Merge pull request #14130 from mohamedawnallah/fetchGoVersionGitpodDo…
ArthurSens May 24, 2024
8894d65
Fix head stats and hooks when replaying a corrupted snapshot (#14079)
alanprot May 25, 2024
7b56353
Merge remote-tracking branch 'prometheus/main' into arve/query-logger…
aknuds1 May 27, 2024
f3b8750
Join errors
aknuds1 May 27, 2024
e6f1f7e
docs/configuration: clarify OpenStack metadata labels (#14149)
simonpasquier May 27, 2024
851f68d
BUGFIX: Need seperate listOptions structs since linodego writes into …
dandrucz May 27, 2024
707e9d9
Merge pull request #14000 from aknuds1/arve/query-logger-munmap
aknuds1 May 27, 2024
b2396c0
Upgrade to golangci-lint v1.59.0
aknuds1 May 27, 2024
1971a58
Merge pull request #14153 from aknuds1/arve/upgrade-linter
SuperQ May 28, 2024
013998f
Bump golangci-lint action (#14154)
mmorel-35 May 28, 2024
25b0991
Enable additional Go metrics
SuperQ May 27, 2024
a6316a5
Merge pull request #14148 from prometheus/superq/more_go_metrics
SuperQ May 28, 2024
296dd12
Merge pull request #14141 from dandrucz/LinodeListOptsFix
ArthurSens May 29, 2024
3c1aadd
Prepare v2.52.1 release
ArthurSens May 29, 2024
6683895
optimize regex matching for empty label values in posting match (#14075)
yeya24 May 29, 2024
929fbf8
[Test] TSDB: let BenchmarkAddExemplar reuse slots
bboreham May 11, 2024
f0c50b5
[Test] TSDB: BenchmarkResizeExemplar multiple per series
bboreham May 11, 2024
3eb5581
[ENHANCEMENT] TSDB: Reduce map lookups on exemplar index
bboreham May 11, 2024
c0bb156
[ENHANCEMENT] TSDB: Eliminate pointer when storing exemplars
bboreham May 11, 2024
7d98487
[ENHANCEMENT] TSDB: let Resize re-use buffer
bboreham May 11, 2024
3ee52ab
[ENHANCEMENT] TSDB: Save map lookup on validation
bboreham May 11, 2024
37b408c
Feature: Allow configuration of a rule evaluation delay (#14061)
gotjosh May 30, 2024
3ac5dfb
Merge pull request #14164 from prometheus/prepare-v2.52.1
ArthurSens May 30, 2024
e47474d
Merge pull request #14080 from bboreham/faster-exemplars
codesome May 30, 2024
24ef000
Merge branch 'main' into sort-matrix-series
charleskorn May 31, 2024
d73537c
Merge branch 'main' into resolveconflicts-2.52.1
ArthurSens May 31, 2024
bfdca40
Merge pull request #14083 from charleskorn/sort-matrix-series
bboreham May 31, 2024
4b5f4f0
build(deps): bump github.com/prometheus/client_golang
dependabot[bot] Jun 1, 2024
61724e5
build(deps): bump actions/checkout from 4.1.4 to 4.1.6
dependabot[bot] Jun 1, 2024
b36d145
build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3
dependabot[bot] Jun 1, 2024
4f6ef45
build(deps): bump github.com/hetznercloud/hcloud-go/v2
dependabot[bot] Jun 1, 2024
e95c5f3
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanag…
dependabot[bot] Jun 1, 2024
2061cd3
build(deps): bump actions/setup-go from 5.0.0 to 5.0.1 in /scripts
dependabot[bot] Jun 1, 2024
0520e86
Merge pull request #14179 from prometheus/dependabot/github_actions/a…
roidelapluie Jun 3, 2024
2de6c5b
Merge pull request #14181 from prometheus/dependabot/github_actions/o…
roidelapluie Jun 3, 2024
27f2dde
Merge pull request #14186 from prometheus/dependabot/go_modules/githu…
roidelapluie Jun 3, 2024
5b32f1f
Merge pull request #14188 from prometheus/dependabot/go_modules/githu…
roidelapluie Jun 3, 2024
ef84c19
build(deps): bump actions/setup-go from 5.0.0 to 5.0.1
dependabot[bot] Jun 3, 2024
bd9d35c
build(deps): bump bufbuild/buf-setup-action from 1.30.0 to 1.32.2
dependabot[bot] Jun 3, 2024
efbd6e4
Merge pull request #14171 from prometheus/resolveconflicts-2.52.1
ArthurSens Jun 3, 2024
b8b9015
tsdb/index: Fix TestReader_PostingsForLabelMatchingHonorsContextCancel
aknuds1 Jun 3, 2024
31a74dc
Merge pull request #14199 from aknuds1/arve/fix-test
aknuds1 Jun 3, 2024
42b546a
tsdb: add details to duplicate sample error (#13277)
bboreham Jun 4, 2024
d635bca
Merge pull request #13587 from tylitianrui/chore/typo_20240215
bboreham Jun 4, 2024
02a4a45
Merge pull request #14178 from prometheus/dependabot/go_modules/docum…
krajorama Jun 4, 2024
0627745
build(deps): bump github.com/prometheus/prometheus
dependabot[bot] Jun 4, 2024
461c10f
Merge pull request #14191 from prometheus/dependabot/github_actions/s…
krajorama Jun 4, 2024
d4ed900
Merge pull request #14183 from prometheus/dependabot/github_actions/a…
krajorama Jun 4, 2024
8e62826
Merge pull request #14177 from prometheus/dependabot/go_modules/docum…
krajorama Jun 4, 2024
9c557d7
Merge pull request #14180 from prometheus/dependabot/github_actions/b…
krajorama Jun 4, 2024
4a4965e
CI: Use default behavior of update-container-description-action
beorn7 Jun 4, 2024
0e70702
build(deps): bump the go-opentelemetry-io group across 1 directory wi…
dependabot[bot] Jun 3, 2024
7007af1
build(deps): bump github/codeql-action from 3.22.12 to 3.25.7
dependabot[bot] Jun 4, 2024
ad74e2c
Merge pull request #14189 from prometheus/dependabot/go_modules/go-op…
aknuds1 Jun 4, 2024
e6a4c94
build(deps): bump github.com/docker/docker
dependabot[bot] Jun 4, 2024
1630784
Merge pull request #14182 from prometheus/dependabot/github_actions/g…
krajorama Jun 4, 2024
d66d950
Merge pull request #14190 from prometheus/dependabot/go_modules/githu…
krajorama Jun 4, 2024
8c8ddd0
Merge pull request #14211 from prometheus/beorn7/ci
beorn7 Jun 4, 2024
0ee4cf8
Update Go dependencies for 2.53
krajorama Jun 4, 2024
8a08f45
tsdb: Allow passing a custom compactor to override the default one (#…
yeya24 Jun 4, 2024
772b211
Revert update of opentelemetry collector components
krajorama Jun 5, 2024
777daea
Revert change to scaleway-sdk-go
krajorama Jun 5, 2024
68ba6c1
Add configuration option for GOGC
SuperQ Apr 1, 2024
38baaeb
Increase the depndabot open PR limit
SuperQ Jun 5, 2024
180059e
Update scaleway-sdk-go and silence deprecation warnings
krajorama Jun 5, 2024
b18e2d3
Format linter pragma correctly
krajorama Jun 5, 2024
3262fef
Merge pull request #14212 from prometheus/bump-go-version-to-1.22
krajorama Jun 5, 2024
e04cf1e
build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
dependabot[bot] Jun 5, 2024
35444b9
Merge pull request #14227 from prometheus/superq/more_dependabot_prs
SuperQ Jun 5, 2024
8c792ce
build(deps): bump github.com/digitalocean/godo from 1.116.0 to 1.117.0
dependabot[bot] Jun 5, 2024
d9d3f4f
build(deps): bump github.com/aws/aws-sdk-go from 1.53.15 to 1.53.16
dependabot[bot] Jun 5, 2024
b615c43
RuleQueryOffset: Add omitempty for the global configuration (#14216)
gotjosh Jun 5, 2024
49cab2e
Merge pull request #14224 from prometheus/dependabot/go_modules/golan…
SuperQ Jun 5, 2024
0309e34
build(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0
dependabot[bot] Jun 5, 2024
4e66403
Merge pull request #14176 from prometheus/superq/gogc
SuperQ Jun 5, 2024
15b0cb4
CI: Actually enable the default fallback behavior of docker-pushrm
beorn7 Jun 5, 2024
d7ee54b
Merge pull request #14242 from prometheus/dependabot/go_modules/githu…
SuperQ Jun 5, 2024
8a3cca9
Merge pull request #14238 from prometheus/dependabot/go_modules/githu…
SuperQ Jun 5, 2024
a078cf8
Merge pull request #14221 from prometheus/beorn7/ci
beorn7 Jun 5, 2024
84ad107
Merge pull request #14236 from prometheus/dependabot/go_modules/golan…
SuperQ Jun 5, 2024
5cc0e64
build(deps): bump google.golang.org/api from 0.182.0 to 0.183.0
dependabot[bot] Jun 5, 2024
f5eff89
Merge pull request #14240 from prometheus/dependabot/go_modules/googl…
SuperQ Jun 5, 2024
8397c7b
Version bump to v2.53.0-rc.0
krajorama Jun 6, 2024
b59034e
Ammend changelog with missing user impact entries
krajorama Jun 6, 2024
73f74d3
Clarify action to take with regards to the changelog
krajorama Jun 6, 2024
c8de725
Fix typo in changelog
krajorama Jun 6, 2024
3feefd9
Update changelog from review comments
krajorama Jun 6, 2024
80d39c8
Merge pull request #14255 from prometheus/prepare-v2.53-rc.0
krajorama Jun 7, 2024
1d2f2cb
Fix Group.Equals() to take in account the new queryOffset too (#14273)
pracucci Jun 6, 2024
dd44001
Update changelog due to pr 14273
krajorama Jun 7, 2024
dea9041
Merge pull request #14276 from prometheus/pick-pr14273-to-2.53
krajorama Jun 7, 2024
6ccee2c
Tune default GOGC
SuperQ Jun 10, 2024
38bf349
Update changelog for GOGC tuning
SuperQ Jun 11, 2024
4c4c2be
Merge pull request #14288 from prometheus/superq/pick_14285
SuperQ Jun 11, 2024
4cfec57
Revert "Update changelog due to pr 14273"
krajorama Jun 7, 2024
dd86762
Prepare 2.53.0-rc.1 release
krajorama Jun 11, 2024
6042874
Merge pull request #14284 from prometheus/prepare-2.53.rc.1
krajorama Jun 11, 2024
e121d07
Prepare release 2.53.0
krajorama Jun 16, 2024
29d3e48
Update CHANGELOG.md
krajorama Jun 18, 2024
4c35b92
Merge pull request #14303 from prometheus/prepare-2.53.0-release
krajorama Jun 18, 2024
7083ae8
[release 2.53] Revert 13583 to stop dropping samples in remote-write …
bboreham Jul 10, 2024
14cfec3
Prepare release 2.53.1 (#14452)
bboreham Jul 10, 2024
01322ef
Merge tag 'refs/tags/v2.53.1' into release-2.12
github-actions[bot] Jul 18, 2024
3bcdf18
[bot] assets: generate
github-actions[bot] Jul 18, 2024
a2d6f67
[create-pull-request] automated change
github-actions[bot] Jul 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ updates:
go.opentelemetry.io:
patterns:
- "go.opentelemetry.io/*"
open-pull-requests-limit: 20
- package-ecosystem: "gomod"
directory: "/documentation/examples/remote_storage"
schedule:
Expand All @@ -19,6 +20,7 @@ updates:
directory: "/web/ui"
schedule:
interval: "monthly"
open-pull-requests-limit: 20
- package-ecosystem: "github-actions"
directory: "/"
schedule:
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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: bufbuild/buf-setup-action@517ee23296d5caf38df31c21945e6a54bbc8a89f # v1.30.0
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: bufbuild/buf-setup-action@dde0b9351db90fbf78e345f41a57de8514bf1091 # v1.32.2
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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: bufbuild/buf-setup-action@517ee23296d5caf38df31c21945e6a54bbc8a89f # v1.30.0
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: bufbuild/buf-setup-action@dde0b9351db90fbf78e345f41a57de8514bf1091 # v1.32.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
Expand Down
46 changes: 29 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# should also be updated.
image: quay.io/prometheus/golang-builder:1.22-base
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/setup_environment
- run: make GOOPTS=--tags=stringlabels GO_ONLY=1 SKIP_GOLANGCI_LINT=1
Expand All @@ -27,7 +27,7 @@ jobs:
container:
image: quay.io/prometheus/golang-builder:1.22-base
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/setup_environment
- run: go test --tags=dedupelabels ./...
Expand All @@ -43,7 +43,7 @@ jobs:
# The go version in this image should be N-1 wrt test_go.
image: quay.io/prometheus/golang-builder:1.21-base
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- run: make build
# Don't run NPM build; don't run race-detector.
- run: make test GO_ONLY=1 test-flags=""
Expand All @@ -57,7 +57,7 @@ jobs:
image: quay.io/prometheus/golang-builder:1.22-base

steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/setup_environment
with:
Expand All @@ -74,8 +74,8 @@ jobs:
name: Go tests on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: 1.22.x
- run: |
Expand All @@ -91,7 +91,7 @@ jobs:
container:
image: quay.io/prometheus/golang-builder:1.22-base
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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 @@ -114,7 +114,7 @@ jobs:
matrix:
thread: [ 0, 1, 2 ]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/build
with:
Expand All @@ -137,32 +137,44 @@ jobs:
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/build
with:
parallelism: 12
thread: ${{ matrix.thread }}
check_generated_parser:
name: Check generated parser
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
cache: false
go-version: 1.22.x
- name: Run goyacc and check for diff
run: make install-goyacc check-generated-parser
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
cache: false
go-version: 1.22.x
- name: Install snmp_exporter/generator dependencies
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
if: github.repository == 'prometheus/snmp_exporter'
- name: Lint
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with:
args: --verbose
# Make sure to sync this with Makefile.common and scripts/golangci-lint.yml.
version: v1.56.2
version: v1.59.0
fuzzing:
uses: ./.github/workflows/fuzzing.yml
if: github.event_name == 'pull_request'
Expand All @@ -175,7 +187,7 @@ 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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/publish_main
with:
Expand All @@ -189,7 +201,7 @@ jobs:
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.')
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/publish_release
with:
Expand All @@ -204,7 +216,7 @@ jobs:
needs: [test_ui, codeql]
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- name: Install nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Initialize CodeQL
uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/autobuild@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/analyze@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7
13 changes: 9 additions & 4 deletions .github/workflows/container_description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- "README.md"
- "README-containers.md"
- ".github/workflows/container_description.yml"
branches: [ main, master ]

Expand All @@ -17,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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Set docker hub repo name
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
- name: Push README to Dockerhub
Expand All @@ -29,15 +30,17 @@ jobs:
destination_container_repo: ${{ env.DOCKER_REPO_NAME }}
provider: dockerhub
short_description: ${{ env.DOCKER_REPO_NAME }}
readme_file: 'README.md'
# Empty string results in README-containers.md being pushed if it
# exists. Otherwise, README.md is pushed.
readme_file: ''

PushQuayIoReadme:
runs-on: ubuntu-latest
name: Push README to quay.io
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
steps:
- name: git checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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 All @@ -49,4 +52,6 @@ jobs:
with:
destination_container_repo: ${{ env.DOCKER_REPO_NAME }}
provider: quay
readme_file: 'README.md'
# Empty string results in README-containers.md being pushed if it
# exists. Otherwise, README.md is pushed.
readme_file: ''
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@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- run: ./scripts/sync_repo_files.sh
env:
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:

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

- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # tag=v2.3.1
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # tag=v2.3.3
with:
results_file: results.sarif
results_format: sarif
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@5d5d22a31266ced268874388b861e4b58bb5c2f3 # tag=v4.3.1
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # tag=v4.3.3
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@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # tag=v3.22.12
uses: github/codeql-action/upload-sarif@f079b8493333aace61c81488f8bd40919487bd9f # tag=v3.25.7
with:
sarif_file: results.sarif
32 changes: 25 additions & 7 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
FROM gitpod/workspace-full

# Set Node.js version as an environment variable.
ENV CUSTOM_NODE_VERSION=16
ENV CUSTOM_GO_VERSION=1.19
ENV GOPATH=$HOME/go-packages
ENV GOROOT=$HOME/go
ENV PATH=$GOROOT/bin:$GOPATH/bin:$PATH

# Install and use the specified Node.js version via nvm.
RUN bash -c ". .nvm/nvm.sh && nvm install ${CUSTOM_NODE_VERSION} && nvm use ${CUSTOM_NODE_VERSION} && nvm alias default ${CUSTOM_NODE_VERSION}"

# Ensure nvm uses the default Node.js version in all new shells.
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
RUN curl -fsSL https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz | tar xzs \
&& printf '%s\n' 'export GOPATH=/workspace/go' \
'export PATH=$GOPATH/bin:$PATH' > $HOME/.bashrc.d/300-go

# Remove any existing Go installation in $HOME path.
RUN rm -rf $HOME/go $HOME/go-packages

# Export go environment variables.
RUN echo "export GOPATH=/workspace/go" >> ~/.bashrc.d/300-go && \
echo "export GOBIN=\$GOPATH/bin" >> ~/.bashrc.d/300-go && \
echo "export GOROOT=${HOME}/go" >> ~/.bashrc.d/300-go && \
echo "export PATH=\$GOROOT/bin:\$GOBIN:\$PATH" >> ~/.bashrc

# Reload the environment variables to ensure go environment variables are
# available in subsequent commands.
RUN bash -c "source ~/.bashrc && source ~/.bashrc.d/300-go"

# Fetch the Go version dynamically from the Prometheus go.mod file and Install Go in $HOME path.
RUN export CUSTOM_GO_VERSION=$(curl -sSL "https://raw.githubusercontent.com/prometheus/prometheus/main/go.mod" | awk '/^go/{print $2".0"}') && \
curl -fsSL "https://dl.google.com/go/go${CUSTOM_GO_VERSION}.linux-amd64.tar.gz" | \
tar -xz -C $HOME

# Fetch the goyacc parser version dynamically from the Prometheus Makefile
# and install it globally in $GOBIN path.
RUN GOYACC_VERSION=$(curl -fsSL "https://raw.githubusercontent.com/prometheus/prometheus/main/Makefile" | awk -F'=' '/GOYACC_VERSION \?=/{gsub(/ /, "", $2); print $2}') && \
go install "golang.org/x/tools/cmd/goyacc@${GOYACC_VERSION}"
8 changes: 7 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ linters:
- goimports
- misspell
- nolintlint
- perfsprint
- predeclared
- revive
- testifylint
Expand All @@ -44,7 +45,9 @@ issues:
- linters:
- godot
source: "^// ==="

- linters:
- perfsprint
text: "fmt.Sprintf can be replaced with string concatenation"
linters-settings:
depguard:
rules:
Expand Down Expand Up @@ -85,6 +88,9 @@ linters-settings:
local-prefixes: github.com/prometheus/prometheus
gofumpt:
extra-rules: true
perfsprint:
# Optimizes `fmt.Errorf`.
errorf: false
revive:
# By default, revive will enable only the linting rules that are named in the configuration file.
# So, it's needed to explicitly set in configuration all required rules.
Expand Down
Loading