Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
8ab0a6e
Added externalURL and pathPrefix functions to Template reference docu…
peergynt Jan 30, 2020
c7c7847
Fix discovery managers to be properly cancelled
zzJinux Apr 8, 2022
a018a7e
storage: simplify Seek on BufferedSeriesIterator
bboreham Aug 17, 2023
3879488
promql: simplify inner loop of rangeEval
bboreham Aug 21, 2023
daca364
Correcting indentation of basic_auth configuration for uyuni_sd_config
wasim-nihal Aug 23, 2023
0d283ef
promql: force mmap of head chunks in BenchmarkRangeQuery
bboreham Aug 26, 2023
bdc7983
TSDB: re-use iterator when moving between series
bboreham Aug 26, 2023
1ea57a3
PromQL: reduce numbers of benchmarks
bboreham Aug 26, 2023
c5671c6
Merge pull request #12755 from bboreham/rangequery-benchmark-mmap
bboreham Aug 26, 2023
23988a9
Update nodejs version
SuperQ Aug 26, 2023
1b9a53b
Merge pull request #12754 from prometheus/superq/bump_node
SuperQ Aug 27, 2023
5ce990c
promql: simplify rangeEval a bit more
bboreham Aug 28, 2023
e4dd346
lint
bboreham Aug 28, 2023
b408658
PostingsForMatchers race with creating new series (#12558)
dimitarvdimitrov Aug 29, 2023
c5e1498
Merge pull request #12743 from wasim-nihal/documentation-alignment
Aug 29, 2023
db816ce
build(deps): Bump alertmanager to v0.26.0 (#12760)
arukiidou Aug 31, 2023
51d1d2c
feat: add AWS sigv4 support to alertmanager endpoints
tjhop Sep 1, 2023
26b78da
ci: use go1.21.0 fmt to make ci happy
tjhop Sep 1, 2023
eaaa21a
promtool tsdb dump support native histogram (#12775)
fatsheep9146 Sep 1, 2023
1df0fb5
build(deps): bump lru-cache from 6.0.0 to 7.18.3 in /web/ui (#12768)
arukiidou Sep 1, 2023
6ee3db1
Add version in web/ui/package-lock.json (#12771)
danielmellado Sep 1, 2023
be831bb
build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 (…
dependabot[bot] Sep 1, 2023
dd00c74
build(deps): bump bufbuild/buf-setup-action from 1.23.1 to 1.26.1 (#1…
dependabot[bot] Sep 1, 2023
d1ff3eb
Update golangci-lint (#12688)
michalbiesek Sep 1, 2023
95e7056
Merge pull request #12774 from tjhop/feat/alertmanager_config_sigv4_s…
Sep 1, 2023
b6f903b
Fix handling of explicit counter reset header in histograms. (#12772)
krajorama Sep 1, 2023
2b15434
build(deps): bump the k8s-io group with 2 updates
dependabot[bot] Sep 1, 2023
8498b96
HTTP SD: Validate HTTP config
Sep 3, 2023
f211fcd
Remove duplicated ms.mmMaxTime check in WAL
fionaliao Sep 5, 2023
f711d71
Merge pull request #12798 from fionaliao/remove-duplicated-max-time
bboreham Sep 6, 2023
cfa7860
Merge branch 'release-2.47' into merge-2-47-0
bboreham Sep 6, 2023
7a87d0d
Merge pull request #12785 from roidelapluie/validate-sd-config
Sep 7, 2023
7f085ae
EC2 SD: Validate HTTP config
slashpai Sep 8, 2023
e44d5df
AZURE SD: Validate HTTP config
slashpai Sep 8, 2023
92f463a
Merge pull request #12811 from slashpai/sd_validate
Sep 8, 2023
75470ba
Merge pull request #12812 from slashpai/azure
Sep 8, 2023
34c8dcc
UYUNI SD: Validate HTTP config
slashpai Sep 8, 2023
284ba34
Merge pull request #12758 from bboreham/trim-rangequery-benchmarks
Sep 8, 2023
d27cb05
Merge pull request #12802 from bboreham/merge-2-47-0
Sep 8, 2023
344f9d8
PUPPETDB SD: Validate HTTP config
slashpai Sep 8, 2023
57988fd
LIGHTSAIL SD: Validate HTTP config
slashpai Sep 8, 2023
a2208b2
Merge pull request #12815 from slashpai/Uyuni
Sep 8, 2023
738e0db
Merge pull request #12814 from slashpai/puppetdb
Sep 8, 2023
d659e67
Merge pull request #12816 from slashpai/lightsail
Sep 8, 2023
7c75d23
Merge pull request #12781 from prometheus/dependabot/go_modules/k8s-i…
Sep 8, 2023
aa7bf08
Move /targets page discovered labels to expandable section (#12824)
juliusv Sep 11, 2023
6daee89
Add context argument to Querier.Select (#12660)
aknuds1 Sep 12, 2023
d3a1044
WBL loading: don't send empty buffers over chan (#12808)
fridgepoet Sep 12, 2023
4419399
Do WBL mmap marker replay concurrently (#12801)
fionaliao Sep 12, 2023
0521ec1
storage: remove obsolete TODO
beorn7 Sep 13, 2023
b2fa4d9
Fix more counterResetInAnyBucket edgecases
krajorama Sep 13, 2023
6ef9ed0
Add context argument to DB.Delete (#12834)
aknuds1 Sep 13, 2023
142c829
Hash-pin GitHub Actions
pnacht Sep 13, 2023
35a7ae6
Ensure dependabot updates workflows in ./scripts
pnacht Sep 13, 2023
4451ba1
Add context argument to IndexReader.Postings (#12667)
aknuds1 Sep 13, 2023
8f52477
Merge pull request #12839 from prometheus/beorn7/histogram
beorn7 Sep 13, 2023
a964349
Add context argument to LabelQuerier.LabelNames (#12666)
aknuds1 Sep 14, 2023
e21ff11
Merge pull request #12841 from pnacht/pinned-gha
Sep 14, 2023
156222c
Add context argument to LabelQuerier.LabelValues (#12665)
aknuds1 Sep 14, 2023
69edd87
Add warnings (and annotations) to PromQL query results (#12152)
zenador Sep 14, 2023
959c984
Add context argument to tsdb.PostingsForMatchers
alanprot May 11, 2023
3512b2d
storage: make histogram reset handling consistent in chainSampleItera…
krajorama Sep 19, 2023
8389113
Merge pull request #12838 from krajorama/fix-disappearing-span-panic
beorn7 Sep 19, 2023
c173cd5
Add a header to count retried remote write requests (#12729)
tpaschalis Sep 20, 2023
9b85354
remote-write: respect Retry-After header on 5xx errors
bboreham Aug 11, 2023
febd62a
remote-write: refactor TestClientRetryAfter
wildum Sep 7, 2023
ce6ad15
remote-write: TestClientRetryAfter status code 500
wildum Sep 7, 2023
c781244
Support specifying series matchers to analyze tsdb (#12842)
yeya24 Sep 20, 2023
56b3a01
Add regression test for duplicate detection at chunk size limit
krajorama Sep 20, 2023
96d03b6
Fix duplicate sample detection at chunks size limit
krajorama Sep 20, 2023
9dbd100
Refactor solution to not repeat code
krajorama Sep 20, 2023
2b77ad4
Merge pull request #12677 from bboreham/retry-on-500
bboreham Sep 20, 2023
9071913
Merge pull request #12831 from aknuds1/arve/posting-context
beorn7 Sep 20, 2023
864da01
Merge pull request #12874 from krajorama/outof-order-chunks
beorn7 Sep 20, 2023
5ecea3c
promtool: fix compile error from bad merge
bboreham Sep 20, 2023
bca9a79
Merge pull request #12877 from bboreham/fix-promtool
bboreham Sep 20, 2023
6f1284a
Fix exit condition of TestQuerierIndexQueriesRace
dimitarvdimitrov Sep 20, 2023
d498bb0
Merge pull request #12875 from dimitarvdimitrov/dimitar/TestQuerierIn…
bboreham Sep 20, 2023
9105487
Merge pull request #12732 from bboreham/simplify-rangeeval
bboreham Sep 20, 2023
ade2ee3
Merge pull request #12716 from bboreham/simplify-seek
beorn7 Sep 21, 2023
f8dd877
Merge pull request #12757 from bboreham/reuse-bufiter
beorn7 Sep 21, 2023
86729d4
Update exp package (#12650)
gouthamve Sep 21, 2023
5d233df
Fix rule check broken (#12715)
DrAuYueng Sep 25, 2023
a15e884
Prevent Prometheus from overallocating memory on subquery with large …
alanprot Sep 25, 2023
6dcbd65
tsdb: register metrics after Head is initialized (#12876)
bboreham Sep 25, 2023
a8cdb7e
Merge branch 'main' into template_reference
Sep 26, 2023
a3f4246
Merge pull request #6724 from peergynt/template_reference
Sep 26, 2023
1aad400
Additional test case for ValidateHistogram
linasm Sep 27, 2023
0de7f39
Merge pull request #12894 from linasm/linasm/test-case-for-ValidateHi…
beorn7 Sep 27, 2023
67dcca5
ci(lint): enable errorlint linter on cmd
mmorel-35 Sep 27, 2023
f15f0ac
Update functions.md
khallai Sep 28, 2023
a56e5a1
Merge pull request #12898 from mmorel-35/lint/errorlint
Sep 29, 2023
5d68ebb
pkg/rulefmt: fix bug of validate.
johncming Mar 21, 2020
c52db2b
Remove duplicate tests
Sep 29, 2023
4b735f0
Merge pull request #10569 from zzJinux/discovery-manager-run
Sep 29, 2023
a1c1fc8
Create scorecards.yml
gabibguti Sep 23, 2022
9a628bb
Add OpenSSF Scorecard badge to README.md
gabibguti Sep 23, 2022
17caa50
Add Google copyright notice
gabibguti Sep 23, 2022
6237aba
Fix trailing spaces
gabibguti Sep 23, 2022
19b4cb2
OpenSSF: Run on main and PR's
Sep 29, 2023
77bc6b0
Merge pull request #11348 from gabibguti/main
Sep 29, 2023
b6fbda0
UI: Update Webpack (GHSA-hc6q-2mpp-qw7j)
Sep 29, 2023
ca12cb8
UI: Update tough-cookie (GHSA-72xf-g2v4-qvf3 GHSA-76p3-8jx3-jpfq)
Sep 29, 2023
f24dc17
UI: Update semver (GHSA-c2qf-rxjj-qqgw)
Sep 29, 2023
d50c7d3
UI: Update loader-utils (GHSA-hhq3-ff78-jv3g GHSA-3rfm-jhwj-7488)
Sep 29, 2023
3d80cb1
UI: Update json5 (GHSA-9c47-m6qq-7p4h)
Sep 29, 2023
76ebd62
UI: Update word-wrap (GHSA-j8xg-fqg3-53r7)
Sep 29, 2023
b6dbfcc
Merge pull request #12903 from roidelapluie/fix-pr-7023
Sep 29, 2023
4d18ed2
Merge pull request #12905 from roidelapluie/up-sec-up
Sep 29, 2023
ac0919d
Update docs/querying/functions.md
Sep 29, 2023
a38179c
Merge pull request #12901 from khallai/khallai
Sep 29, 2023
0a513f8
ci(lint): enable errorlint linter on model
mmorel-35 Sep 29, 2023
5027863
Clarify what happens when a rule group takes too long to execute
09jvilla Sep 30, 2023
601e5b9
Update recording_rules.md
09jvilla Sep 30, 2023
2fe9e7b
Merge pull request #12907 from mmorel-35/errorlint/model
Oct 1, 2023
216cf60
build(deps): bump actions/checkout from 4.0.0 to 4.1.0 in /scripts
dependabot[bot] Oct 1, 2023
5d8f0e0
build(deps): bump github.com/hashicorp/consul/api from 1.22.0 to 1.25.1
dependabot[bot] Oct 1, 2023
754fcc2
build(deps): bump github.com/prometheus/client_golang
dependabot[bot] Oct 1, 2023
4ba8430
build(deps): bump actions/upload-artifact from 3.0.0 to 3.1.3
dependabot[bot] Oct 1, 2023
3e1c268
Merge pull request #12911 from prometheus/dependabot/github_actions/s…
Oct 2, 2023
92accb1
Merge pull request #12916 from prometheus/dependabot/github_actions/a…
Oct 2, 2023
b157c0f
Merge pull request #12914 from prometheus/dependabot/go_modules/docum…
Oct 2, 2023
eeead61
Merge pull request #12913 from prometheus/dependabot/go_modules/githu…
Oct 2, 2023
de7e057
tsdb: Tighten up sub-benchmark scope in BenchmarkQuerier (#12718)
aknuds1 Oct 2, 2023
1492031
Optimize ListPostings Next() (#12906)
colega Oct 2, 2023
65ffa0c
Update recording_rules.md
09jvilla Oct 3, 2023
ea7bec4
Update recording_rules.md
09jvilla Oct 3, 2023
79be1b8
Merge pull request #12909 from 09jvilla/patch-1
gotjosh Oct 3, 2023
b43358f
API: Add tests for query timeout parameter (#12927)
aknuds1 Oct 4, 2023
feaa93d
Add warning when monotonicity is forced in the input to histogram_qua…
zenador Oct 4, 2023
0331bcc
Merge pull request #12932 from prometheus/release-2.47
Oct 4, 2023
cdad640
Added Azure OAuth support (#12572)
rakshith210 Oct 5, 2023
7c934ae
scraping: hoist labels variable to save garbage
bboreham Oct 5, 2023
0cbf0c1
Revise according to code review
zenador Oct 6, 2023
b8f8c3c
Merge pull request #12939 from bboreham/hoist-scrape-labels
bboreham Oct 6, 2023
a5a4eab
Storage: reduce memory allocations when merging series sets (#12938)
bboreham Oct 6, 2023
d3554d8
Show group interval in Rules display (#12943)
dannykopping Oct 8, 2023
b787e5f
Merge pull request #12931 from zenador/warning-non-monotonic-classic-…
beorn7 Oct 8, 2023
5bd8c8c
Clarify Postings.At() contract (#12921)
colega Oct 9, 2023
fe90dcc
Revert ListPostings change (#12955)
colega Oct 9, 2023
e7a1d3b
Volunteer Levi Harrison for release shepherd
LeviHarrison Oct 9, 2023
f6d9c84
scraping: delay creating buffer, to save memory (#12953)
bboreham Oct 9, 2023
ea3ad74
Merge pull request #12956 from LeviHarrison/shepherd-2.48
LeviHarrison Oct 9, 2023
644cb3b
Add created timestamps to prompb (#12936)
Oct 10, 2023
281dc29
Merge pull request #12912 from prometheus/dependabot/go_modules/githu…
LeviHarrison Oct 11, 2023
7f7cb47
Merge pull request #12848 from prometheus/dependabot/go_modules/k8s-i…
LeviHarrison Oct 11, 2023
4307fa1
Merge pull request #12819 from prometheus/dependabot/go_modules/golan…
LeviHarrison Oct 11, 2023
4df2f24
Additionally wrap WBL replay error (#12406)
codesome Oct 13, 2023
42b8f2f
tsdb/agent: allow ingestion of OOO samples (#12897)
tpaschalis Oct 13, 2023
4284e6f
Merge pull request #11860 from mmorel-35/azure-sdk-for-go
LeviHarrison Oct 14, 2023
60e2bb0
enhance promtool tsdb analyze command (#12869)
fatsheep9146 Oct 14, 2023
77c1c2c
Merge pull request #12981 from prometheus/dependabot/go_modules/docum…
Oct 15, 2023
191c24a
Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning (#12…
juliusv Oct 15, 2023
454a0a2
Update dependencies for 2.48 (#12964)
LeviHarrison Oct 15, 2023
8a0c9ae
Merge pull request #12985 from LeviHarrison/merge-main-release-2.48
Oct 15, 2023
827804c
Release 2.48.0-rc0
LeviHarrison Oct 16, 2023
9a8bd8e
Fix possible non-counter warning for empty names and native histograms
zenador Oct 16, 2023
700f9bd
nits
LeviHarrison Oct 17, 2023
fb0b9fc
Merge pull request #12988 from zenador/release-2.48-fix-non-counter-w…
beorn7 Oct 17, 2023
d1620ab
Add last warning pr
LeviHarrison Oct 17, 2023
551fa83
Merge pull request #12959 from LeviHarrison/release-2.48.0-rc0
bboreham Oct 17, 2023
80e977a
Remove `NewPossibleNonCounterInfo` and minimise creating empty annota…
zenador Oct 24, 2023
7bdabb0
Release 2.48.0-rc.1 (#13028)
LeviHarrison Oct 25, 2023
8db8ad1
bump version (#13032)
LeviHarrison Oct 27, 2023
4696b46
storage: Fix mixed samples handling in sampleRing
beorn7 Oct 31, 2023
96179fe
Merge pull request #13055 from prometheus/beorn7/storage
beorn7 Oct 31, 2023
fed6f81
scrape: Added trackTimestampsStaleness configuration option
Oct 31, 2023
287511d
Merge pull request #13066 from prometheus/superq/pick_timestamp
LeviHarrison Nov 2, 2023
8b87f3b
Release 2.48.0-rc.2
LeviHarrison Nov 2, 2023
46be85f
Make TestPopulateWithDelSeriesIterator tests cover histogram types an…
zenador Nov 1, 2023
04aabdd
Refactor TestPopulateWithDelSeriesIterator unit tests to reuse more code
zenador Nov 1, 2023
7a4a112
Expand TestPopulateWithTombSeriesIterators to test min max times of c…
zenador Nov 1, 2023
2f7060b
Expand TestPopulateWithTombSeriesIterators to test earlier deletion i…
zenador Nov 1, 2023
27abf09
Fix missing MinTime in histogram chunks
zenador Nov 1, 2023
4296ecb
tsdb/compact_test.go: test mixed typed series with PopulateBlock
krajorama Nov 1, 2023
3ccaaa4
Fix according to code review
zenador Nov 2, 2023
52eb303
Refactor assigning MinTime in histogram chunks
zenador Nov 2, 2023
ae5dd1f
Merge pull request #13062 from zenador/min-time-hist-chunks
bboreham Nov 2, 2023
6e2586b
Merge pull request #13083 from LeviHarrison/release-2.48.0-rc.2
bboreham Nov 2, 2023
41c7253
Release 2.48.0
LeviHarrison Nov 15, 2023
6d80b30
Merge pull request #13151 from LeviHarrison/release-2.48.0
LeviHarrison Nov 15, 2023
fb617b0
Merge tag 'refs/tags/v2.48.0' into bump-2.48.0-manual
jan--f Nov 20, 2023
1ab347c
assets: generate
jan--f Nov 20, 2023
04303d8
go mod vendor
jan--f Nov 20, 2023
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
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/buf-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.23.1
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: bufbuild/buf-setup-action@eb60cd0de4f14f1f57cf346916b8cd69a9e7ed0b # v1.26.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-lint-action@bd48f53224baaaf0fc55de9a913e7680ca6dbea4 # v1.0.3
with:
input: 'prompb'
- uses: bufbuild/buf-breaking-action@v1
- uses: bufbuild/buf-breaking-action@f47418c81c00bfd65394628385593542f64db477 # v1.1.2
with:
input: 'prompb'
against: 'https://github.com/prometheus/prometheus.git#branch=main,ref=HEAD,subdir=prompb'
10 changes: 5 additions & 5 deletions .github/workflows/buf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'prometheus'
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.23.1
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: bufbuild/buf-setup-action@eb60cd0de4f14f1f57cf346916b8cd69a9e7ed0b # v1.26.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-lint-action@bd48f53224baaaf0fc55de9a913e7680ca6dbea4 # v1.0.3
with:
input: 'prompb'
- uses: bufbuild/buf-breaking-action@v1
- uses: bufbuild/buf-breaking-action@f47418c81c00bfd65394628385593542f64db477 # v1.1.2
with:
input: 'prompb'
against: 'https://github.com/prometheus/prometheus.git#branch=main,ref=HEAD~1,subdir=prompb'
- uses: bufbuild/buf-push-action@v1
- uses: bufbuild/buf-push-action@342fc4cdcf29115a01cf12a2c6dd6aac68dc51e1 # v1.1.1
with:
input: 'prompb'
buf_token: ${{ secrets.BUF_TOKEN }}
49 changes: 25 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
container:
image: quay.io/prometheus/golang-builder:1.21-base
steps:
- uses: actions/checkout@v3
- uses: prometheus/promci@v0.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/setup_environment
- run: make GO_ONLY=1 SKIP_GOLANGCI_LINT=1
- run: go test ./tsdb/ -test.tsdb-isolation=false
Expand All @@ -35,8 +35,8 @@ jobs:
image: quay.io/prometheus/golang-builder:1.21-base

steps:
- uses: actions/checkout@v3
- uses: prometheus/promci@v0.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/setup_environment
with:
enable_go: false
Expand All @@ -52,8 +52,8 @@ jobs:
name: Go tests on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '>=1.21 <1.22'
- run: |
Expand All @@ -68,7 +68,7 @@ jobs:
container:
image: quay.io/prometheus/golang-builder:1.20-base
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- run: make build
- run: go test ./tsdb/...
- run: go test ./tsdb/ -test.tsdb-isolation=false
Expand All @@ -81,7 +81,7 @@ jobs:
container:
image: quay.io/prometheus/golang-builder:1.20-base
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.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 @@ -104,8 +104,8 @@ jobs:
matrix:
thread: [ 0, 1, 2 ]
steps:
- uses: actions/checkout@v3
- uses: prometheus/promci@v0.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- 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 @@ -127,8 +127,8 @@ jobs:
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
steps:
- uses: actions/checkout@v3
- uses: prometheus/promci@v0.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/build
with:
parallelism: 12
Expand All @@ -138,19 +138,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
cache: false
go-version: 1.20.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@v3.6.0
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
args: --verbose
version: v1.53.3
version: v1.54.2
fuzzing:
uses: ./.github/workflows/fuzzing.yml
if: github.event_name == 'pull_request'
Expand All @@ -163,8 +164,8 @@ jobs:
needs: [test_ui, test_go, test_windows, golangci, codeql, build_all]
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: prometheus/promci@v0.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/publish_main
with:
docker_hub_login: ${{ secrets.docker_hub_login }}
Expand All @@ -177,8 +178,8 @@ jobs:
needs: [test_ui, test_go, test_windows, golangci, codeql, build_all]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.')
steps:
- uses: actions/checkout@v3
- uses: prometheus/promci@v0.1.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/publish_release
with:
docker_hub_login: ${{ secrets.docker_hub_login }}
Expand All @@ -192,14 +193,14 @@ jobs:
needs: [test_ui, codeql]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: prometheus/promci@v0.1.0
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- name: Install nodejs
uses: actions/setup-node@v3
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: "web/ui/.nvmrc"
registry-url: "https://registry.npmjs.org"
- uses: actions/cache@v3.3.1
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v4
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '>=1.21 <1.22'

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5
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@v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'prometheus'
steps:
- uses: dessant/lock-threads@v4
- uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 # v4.0.1
with:
process-only: 'issues'
issue-inactive-days: '180'
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@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- run: ./scripts/sync_repo_files.sh
env:
GITHUB_TOKEN: ${{ secrets.PROMBOT_GITHUB_TOKEN }}
50 changes: 50 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Copyright 2022 Google LLC

name: Scorecards supply-chain security
on:
pull_request:
push:
branches: [ "main" ]

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Used to receive a badge.
id-token: write

steps:
- name: "Checkout code"
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3.0.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # tag=v2.2.0
with:
results_file: results.sarif
results_format: sarif
# Publish the results for public repositories to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
publish_results: ${{ github.event_name != 'pull_request' }}

# 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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # tag=v3.1.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@5f532563584d71fdef14ee64d17bafb34f751ce5 # tag=v1.0.26
with:
sarif_file: results.sarif
19 changes: 19 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ output:
linters:
enable:
- depguard
- errorlint
- gocritic
- gofumpt
- goimports
Expand All @@ -31,6 +32,24 @@ issues:
- path: _test.go
linters:
- errcheck
- path: discovery/
linters:
- errorlint
- path: scrape/
linters:
- errorlint
- path: storage/
linters:
- errorlint
- path: tsdb/
linters:
- errorlint
- path: util/
linters:
- errorlint
- path: web/
linters:
- errorlint

linters-settings:
depguard:
Expand Down
34 changes: 32 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
# Changelog

## 2.47.2 / 2023-10-11

## 2.48.0 / 2023-11-16

* [CHANGE] Remote-write: respect Retry-After header on 5xx errors. #12677
* [FEATURE] Alerting: Add AWS SigV4 authentication support for Alertmanager endpoints. #12774
* [FEATURE] Promtool: Add support for histograms in the TSDB dump command. #12775
* [FEATURE] PromQL: Add warnings (and annotations) to PromQL query results. #12152 #12982 #12988 #13012
* [FEATURE] Remote-write: Add Azure AD OAuth authentication support for remote write requests. #12572
* [ENHANCEMENT] Remote-write: Add a header to count retried remote write requests. #12729
* [ENHANCEMENT] TSDB: Improve query performance by re-using iterator when moving between series. #12757
* [ENHANCEMENT] UI: Move /targets page discovered labels to expandable section #12824
* [ENHANCEMENT] TSDB: Optimize WBL loading by not sending empty buffers over channel. #12808
* [ENHANCEMENT] TSDB: Reply WBL mmap markers concurrently. #12801
* [ENHANCEMENT] Promtool: Add support for specifying series matchers in the TSDB analyze command. #12842
* [ENHANCEMENT] PromQL: Prevent Prometheus from overallocating memory on subquery with large amount of steps. #12734
* [ENHANCEMENT] PromQL: Add warning when monotonicity is forced in the input to histogram_quantile. #12931
* [ENHANCEMENT] Scraping: Optimize sample appending by reducing garbage. #12939
* [ENHANCEMENT] Storage: Reduce memory allocations in queries that merge series sets. #12938
* [ENHANCEMENT] UI: Show group interval in rules display. #12943
* [ENHANCEMENT] Scraping: Save memory when scraping by delaying creation of buffer. #12953
* [ENHANCEMENT] Agent: Allow ingestion of out-of-order samples. #12897
* [ENHANCEMENT] Promtool: Improve support for native histograms in TSDB analyze command. #12869
* [ENHANCEMENT] Scraping: Add configuration option for tracking staleness of scraped timestamps. #13060
* [BUGFIX] SD: Ensure that discovery managers are properly canceled. #10569
* [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558
* [BUGFIX] TSDB: Fix handling of explicit counter reset header in histograms. #12772
* [BUGFIX] SD: Validate HTTP client configuration in HTTP, EC2, Azure, Uyuni, PuppetDB, and Lightsail SDs. #12762 #12811 #12812 #12815 #12814 #12816
* [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838
* [BUGFIX] TSDB: Fix duplicate sample detection at chunk size limit. #12874
* [BUGFIX] Promtool: Fix errors not being reported in check rules command. #12715
* [BUGFIX] TSDB: Avoid panics reported in logs when head initialization takes a long time. #12876
* [BUGFIX] TSDB: Ensure that WBL is repaired when possible. #12406
* [BUGFIX] Storage: Fix crash caused by incorrect mixed samples handling. #13055
* [BUGFIX] TSDB: Fix compactor failures by adding min time to histogram chunks. #13062

## 2.47.1 / 2023-10-04

Expand Down
2 changes: 1 addition & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
SKIP_GOLANGCI_LINT :=
GOLANGCI_LINT :=
GOLANGCI_LINT_OPTS ?=
GOLANGCI_LINT_VERSION ?= v1.53.3
GOLANGCI_LINT_VERSION ?= v1.54.2
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
# windows isn't included here because of the path separator being different.
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ examples and guides.</p>
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/486/badge)](https://bestpractices.coreinfrastructure.org/projects/486)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/prometheus/prometheus)
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/prometheus.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:prometheus)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/prometheus/prometheus/badge)](https://api.securityscorecards.dev/projects/github.com/prometheus/prometheus)

</div>

Expand Down
3 changes: 2 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ Release cadence of first pre-releases being cut is 6 weeks.
| v2.45 LTS | 2023-05-31 | Jesus Vazquez (Github: @jesusvazquez) |
| v2.46 | 2023-07-12 | Julien Pivotto (GitHub: @roidelapluie) |
| v2.47 | 2023-08-23 | Bryan Boreham (GitHub: @bboreham) |
| v2.48 | 2023-10-04 | **searching for volunteer** |
| v2.48 | 2023-10-04 | Levi Harrison (GitHub: @LeviHarrison) |
| v2.49 | 2023-11-15 | **searching for volunteer** |

If you are interested in volunteering please create a pull request against the [prometheus/prometheus](https://github.com/prometheus/prometheus) repository and propose yourself for the release series of your choice.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.47.2
2.48.0
Loading