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

Aliyun ecs sd #6

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2171 commits
Select commit Hold shift + click to select a range
1db6a58
Merge pull request #14261 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
22bad5a
Merge pull request #14259 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
5c498b7
build(deps): bump moment-timezone from 0.5.43 to 0.5.45 in /web/ui
dependabot[bot] Jun 6, 2024
6205b54
build(deps): bump @codemirror/language from 6.9.3 to 6.10.2 in /web/ui
dependabot[bot] Jun 6, 2024
50e3712
Merge pull request #14266 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
d433d20
Merge pull request #14263 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
fed911e
Merge pull request #14233 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
afd26e5
Merge pull request #14264 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
5f12cf5
Merge pull request #14257 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
89ab04b
Merge pull request #14265 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
ee0527e
Merge pull request #14260 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
0661b90
build(deps): bump http-proxy-middleware from 2.0.6 to 3.0.0 in /web/ui
dependabot[bot] Jun 6, 2024
6e68046
Implement histogram statistics decoder (#14097)
fpetkovski Jun 6, 2024
c7fdfe8
promql: Add tests for histogram counter reset only in bucket
beorn7 Jun 6, 2024
3feefd9
Update changelog from review comments
krajorama Jun 6, 2024
1f988f7
promql: extend test scripting language to support asserting on expect…
charleskorn Jun 6, 2024
687b9c2
Merge pull request #14262 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
9bfc47f
build(deps-dev): bump @types/sinon from 10.0.20 to 17.0.3 in /web/ui
dependabot[bot] Jun 6, 2024
f58f539
build(deps): bump @codemirror/commands from 6.3.2 to 6.6.0 in /web/ui
dependabot[bot] Jun 6, 2024
3db2d8e
build(deps-dev): bump eslint-config-prettier in /web/ui
dependabot[bot] Jun 6, 2024
6fb738a
Merge pull request #14173 from pracucci/fastregexmatcher-optimize-con…
bboreham Jun 6, 2024
77f7820
Merge pull request #14271 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
3ca4000
Merge pull request #14272 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
be0d512
Merge pull request #14270 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
51e303d
Merge pull request #14244 from prometheus/dependabot/npm_and_yarn/web…
SuperQ Jun 6, 2024
edd5588
Fix Group.Equals() to take in account the new queryOffset too (#14273)
pracucci 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
9adc169
fix according to code review
zenador Jun 7, 2024
b0e3204
refine test rewriting regex and add validation
zenador Jun 7, 2024
14f8dde
Merge branch 'main' into nhcb
zenador Jun 7, 2024
5e4e93c
fix lint
zenador Jun 7, 2024
4c2aa87
update readme for testing framework
zenador Jun 7, 2024
b8cb12b
rename hist to histogram according to code review
zenador Jun 7, 2024
d0d361d
headIndexReader.LabelNamesFor: skip not found series
colega Jun 7, 2024
c92a577
fix: broken link on github mobile
parnavh Jun 8, 2024
08621be
Merge pull request #14269 from prometheus/beorn7/histogram-test
beorn7 Jun 8, 2024
2dc177d
`MemPostings.Delete()`: reduce locking/unlocking (#13286)
colega Jun 10, 2024
10a3c72
`MemPostings.PostingsForLabelMatching()`: don't hold the mutex while …
colega Jun 10, 2024
19fd521
docs: clarify default Docker command line parameters (#14194)
rgroothuijsen Jun 10, 2024
5a5a6f0
chore: use HumanizeDuration from prometheus/common (#14202)
freak12techno Jun 10, 2024
c5d923a
Merge pull request #14279 from colega/fix-label-names-for-not-found
bboreham Jun 10, 2024
64c5cc5
Merge pull request #14209 from bboreham/api-error-url
bboreham Jun 10, 2024
39902ba
[BUGFIX] FastRegexpMatcher: do Unicode normalization as part of case-…
Ranveer777 Jun 10, 2024
ea2b39a
Tune default GOGC
SuperQ Jun 10, 2024
b31aaa6
Merge pull request #14282 from parnavh/fix-broken-link
roidelapluie Jun 11, 2024
23cca90
Merge pull request #14277 from zenador/nhcb-review
krajorama Jun 11, 2024
7f0caf7
Merge pull request #14285 from prometheus/superq/tune_gogc
SuperQ Jun 11, 2024
0793a26
native histograms: only reduce resolution for exponential histograms
krajorama Jun 11, 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
64a9abb
Change LabelValuesFor() to accept index.Postings (#14280)
colega Jun 11, 2024
05380aa
agent db: make rejecting ooo samples configurable (#14094)
rabenhorst Jun 12, 2024
5a21870
tsdb: Extend compactor interface to allow compactions to create multi…
yeya24 Jun 12, 2024
03cf614
Fix Matcher.String() with empty label name
colega Jun 13, 2024
4c1e71f
Reduce the flakiness of TestAsyncRuleEvaluation (#14300)
colega Jun 14, 2024
e7db2e3
fix check context cancellation not incrementing count
yeya24 Jun 15, 2024
e121d07
Prepare release 2.53.0
krajorama Jun 16, 2024
0e6fca8
add unit test
yeya24 Jun 16, 2024
5efc8dd
Merge pull request #14302 from yeya24/fix-check-ctx-cancel-count
krajorama Jun 17, 2024
987fa5c
Convert range query test cases to test scripting language
charleskorn Jun 17, 2024
aeec30f
Convert `TestTimestampFunction_StepsMoreOftenThanSamples`
charleskorn Jun 17, 2024
0fbf4a2
Export remote.ToLabelMatchers()
pracucci Jun 17, 2024
6572b1f
Merge pull request #14306 from pracucci/export-tolabelmatchers
roidelapluie Jun 18, 2024
4f78cc8
Refactor `toNormalisedLower`: shorter and slightly faster. (#14299)
colega Jun 18, 2024
fd1a89b
Pass affected labels to `MemPostings.Delete()` (#14307)
colega Jun 18, 2024
29d3e48
Update CHANGELOG.md
krajorama Jun 18, 2024
1c3f322
docs: mention implicitly watched directories in documentation (#14019)
rgroothuijsen Jun 18, 2024
4c35b92
Merge pull request #14303 from prometheus/prepare-2.53.0-release
krajorama Jun 18, 2024
c309f50
Add comment to state intent of check
krajorama Jun 18, 2024
79020b1
Comment float histogram as well
krajorama Jun 18, 2024
d3318c2
Merge pull request #14287 from krajorama/nhcb-suggest-fix
krajorama Jun 18, 2024
d968408
Merge branch 'main' into charleskorn/convert-range-query-tests
beorn7 Jun 18, 2024
b6ef745
Merge pull request #14305 from charleskorn/charleskorn/convert-range-…
beorn7 Jun 18, 2024
be975bf
golangci-lint: Enable loggercheck linter
aknuds1 Jun 18, 2024
545d31f
docs: clarify backup requirements for storage (#14297)
anarcat Jun 19, 2024
94d28cd
chore(notifier): add a reproducer for https://github.com/prometheus/…
machine424 May 31, 2024
690de48
chore(notifier): Split 'Run()' into two goroutines: one to receive ta…
machine424 Jun 3, 2024
70beda0
fix(notifier): take alertmanagerSet.mtx before checking alertmanagerS…
machine424 Jun 10, 2024
fcabffb
Merge branch 'release-2.53' into merge-2.53-to-main
krajorama Jun 19, 2024
9a8b6c5
Merge pull request #14313 from prometheus/merge-2.53-to-main
krajorama Jun 19, 2024
5a1886d
Merge branch 'main' into arve/loggercheck
bboreham Jun 19, 2024
84602bb
Merge branch 'main' into fix-matcher-string-with-empty-label-name
bboreham Jun 19, 2024
f45b0fd
Merge pull request #14311 from aknuds1/arve/loggercheck
aknuds1 Jun 19, 2024
6685cbc
Merge branch 'main' into fix-matcher-string-with-empty-label-name
bboreham Jun 19, 2024
5c41768
Merge pull request #14296 from colega/fix-matcher-string-with-empty-l…
bboreham Jun 19, 2024
35564c0
Export remote.LabelsToLabelsProto() and remote.LabelProtosToLabels()
pracucci Jun 19, 2024
f9ca6c4
chore: add an alert based on the metric prometheus_sd_kubernetes_fail…
machine424 Jun 18, 2024
b6dc9c1
Merge branch 'main' into export-labelsToLabelsProto
pracucci Jun 20, 2024
c25d6d8
Merge pull request #14316 from pracucci/export-labelsToLabelsProto
krajorama Jun 20, 2024
2aaf99d
discovery: aws: expose Primary IPv6 addresses as label, partially fix…
akunszt Jun 20, 2024
a6d788b
update missed suggested change from code review
zenador Jun 20, 2024
fc9dc72
remove eval_with_nhcb
zenador Jun 20, 2024
dda5f48
Merge branch 'main' into nhcb-review-2
zenador Jun 20, 2024
a3d92dd
Merge pull request #14292 from zenador/nhcb-review-2
krajorama Jun 20, 2024
d5f6887
Pass limit param as hint to storage.Querier
harry671003 May 15, 2024
dbd29df
Fix @goyacc invocation (#14324)
prymitive Jun 20, 2024
d782533
queue_manager: add histogram info to error logs (#14326)
thampiotr Jun 20, 2024
2ced2f6
[PERF] Labels: faster varint for dedupelabels
bboreham May 12, 2024
0d25931
rebase main and adjust the configuration
DrAuYueng Jan 20, 2024
2ba7bc9
Labels: further optimisation for dedupelabels
bboreham Jun 5, 2024
7a82e4b
Labels benchmarks: remove artefact of small symbol-tables
bboreham Jun 21, 2024
00b110c
Fix data corruption in remote write if max_sample_age is applied (#14…
FUSAKLA Jun 21, 2024
f45709e
Update model/histogram/histogram_test.go
krajorama Jun 24, 2024
505ffd3
Fix lint error
krajorama Jun 24, 2024
b6aba4f
Merge pull request #14074 from bboreham/kahan-sum-sum
bboreham Jun 24, 2024
6030407
Merge branch 'main' into elide-queriers
bboreham Jun 24, 2024
d902116
Fix various linting errors
aknuds1 Jun 24, 2024
0395b04
golangci-lint: Upgrade to v1.59.1
aknuds1 Jun 24, 2024
2c5e887
Fix issue where pending OOO read can be left dangling if creating que…
charleskorn Jun 25, 2024
5585a3c
tsdb: expose hook to customize block querier (#14114)
yeya24 Jun 25, 2024
246b7c6
TSDB: Change block populator to accept postings index function (#14213)
yeya24 Jun 25, 2024
348f7f8
Merge pull request #14341 from charleskorn/charleskorn/cleanup-pendin…
bboreham Jun 25, 2024
9935544
remote write handler: reject samples with future timestamps (#14304)
jkroepke Jun 25, 2024
1b5f650
Bump go-retryablehttp to fix basic auth creds leak
danielmellado Jun 25, 2024
1abeeba
Merge pull request #14340 from aknuds1/arve/fix-lint
aknuds1 Jun 25, 2024
f24ce00
Merge pull request #13434 from bboreham/elide-queriers
bboreham Jun 25, 2024
2dd07fb
notifier: optionally drain queued notifications before shutting down …
charleskorn Jun 26, 2024
c5040c5
Merge pull request #10490 from DrAuYueng/fix-docker-sd-service-missing
bboreham Jun 26, 2024
cb73061
Merge pull request #14004 from liam-howe-maersk/implement-config-marshal
beorn7 Jun 27, 2024
3c9e3ee
parser: support underscores
rexagod Sep 9, 2023
7f5ae04
MAINTAINERS.md: Added Nico and Alex as remote/storage owners. (#14352)
bwplotka Jun 27, 2024
19da579
Merge pull request #12821 from rexagod/12769
beorn7 Jun 27, 2024
2e58d46
Merge pull request #13662 from prometheus/nhcb
beorn7 Jun 27, 2024
fd6bdf5
Fix issue where summation of +/- infinity returns NaN instead of infi…
charleskorn Jun 28, 2024
9290d13
fix(docs/querying): explain `ceil` behaviour more explicitly with exa…
RiRa12621 Jun 28, 2024
cd5a7b5
Make rules Manager Update method no-op after Close
rapphil Jun 28, 2024
e0c9b2e
Fix linting errors
rapphil Jun 28, 2024
4f2558d
Merge pull request #14366 from rapphil/rapphil-fix-panic-ruler
bwplotka Jun 29, 2024
675d02c
Merge pull request #14333 from bboreham/faster-dedupelabels
bboreham Jun 30, 2024
f4b1fcb
discovery: add support for gathering flavor name in Openstack discove…
paulojmdias Jun 30, 2024
ec31aca
FastRegexMatcher: small optimization for the literal prefix case
pracucci Jul 1, 2024
32f4bf5
Merge pull request #14368 from pracucci/optimize-literal-prefix-strin…
bboreham Jul 1, 2024
24b78be
otlp: Clean up exponential histogram code slightly
aknuds1 Jul 1, 2024
9595b17
otlp: Document regular and exponential histogram conversions
aknuds1 Jul 1, 2024
a39e7e2
Merge pull request #14371 from aknuds1/arve/cleanup-otlp-histograms
aknuds1 Jul 1, 2024
f090ab1
build(deps): bump sass from 1.77.4 to 1.77.6 in /web/ui
dependabot[bot] Jul 1, 2024
65f57ca
build(deps-dev): bump @types/node from 20.14.2 to 20.14.9 in /web/ui
dependabot[bot] Jul 1, 2024
512b490
build(deps): bump github/codeql-action from 3.25.8 to 3.25.11
dependabot[bot] Jul 1, 2024
35811ed
build(deps): bump bufbuild/buf-setup-action from 1.32.2 to 1.34.0
dependabot[bot] Jul 1, 2024
c53fdad
build(deps): bump github.com/prometheus/common
dependabot[bot] Jul 1, 2024
fb1b3d6
build(deps): bump actions/checkout from 4.1.6 to 4.1.7 in /scripts
dependabot[bot] Jul 1, 2024
9cf4b96
Merge pull request #14388 from prometheus/dependabot/go_modules/docum…
bwplotka Jul 2, 2024
726ed12
Replace `ListPostings.Seek`'s binary search call by the generic `slic…
colega Jul 2, 2024
3d54bcc
Merge pull request #14362 from charleskorn/charleskorn/sum-infinity
codesome Jul 3, 2024
134e8dc
TSDB: Simplify OOO Select by copying the head chunk (#14396)
bboreham Jul 3, 2024
60917f6
Add test utilities for testing different sample types.
carrieedwards Mar 3, 2024
45a32a2
Update tsdb tests to use test utils.
carrieedwards Mar 3, 2024
cb76884
Fix linting
carrieedwards Mar 4, 2024
0655088
Clean up of tests and test utils
carrieedwards Mar 7, 2024
55f5333
Use storage.ExpandSamples instead of samplesFromIterator
carrieedwards Jun 25, 2024
0049900
Testutil refactoring
carrieedwards Jul 3, 2024
ee909b3
Fix test
carrieedwards Jul 3, 2024
ba948e9
Merge pull request #13699 from prometheus/cedwards/tsdb-test-helpers
carrieedwards Jul 3, 2024
82a8c6a
[ENHANCEMENT] Optimize regexps with multiple prefixes (#13843)
bboreham Jul 3, 2024
c94c5b6
feat: add limitk() and limit_ratio() operators (#12503)
jjo Jul 3, 2024
c9bc1c2
Update histogram math (#13680)
Maniktherana Jul 4, 2024
9198952
[PRW 2.0] Merging `remote-write-2.0` feature branch to main (PRW 2.0 …
bwplotka Jul 4, 2024
10ecd76
writev2: Add basic support for nhcb.
bwplotka Jul 2, 2024
709c5d6
TSDB: Lock around access to labels in head under -tags dedupelabels (…
bboreham Jul 5, 2024
7ca31c6
Scraping: add metric for symbol table size
bboreham Apr 2, 2024
b42b5fb
Scraping: check symbol-table on sync
bboreham Apr 2, 2024
74b1f3d
Refactor: scraping: extract method restartLoops
bboreham Apr 9, 2024
e6356e6
Scraping: drop series cache when resizing symbol table
bboreham Apr 2, 2024
5281a6b
TSDB: rebuild labels symbol-table on each compaction
bboreham Apr 2, 2024
4d7532f
tsdb: reset symbol table for exemplars periodically
bboreham May 11, 2024
89608c6
Merge pull request #14328 from bboreham/more-dedupelabels
bboreham Jul 5, 2024
e410a21
Fix a couple of comments
aknuds1 Jul 5, 2024
480fefd
Split warnings and info annotations in API response (#14327)
zenador Jul 6, 2024
0f0b3d8
Document info-level annotations in query response
juliusv Jul 6, 2024
06f0f2e
Merge pull request #14429 from prometheus/document-info-annotations
beorn7 Jul 6, 2024
8849b7d
chore: remove console logs (#14430)
Maniktherana Jul 7, 2024
e5c6968
Fix web.cors.origin in command-line/prometheus.md
B1F030 Jul 8, 2024
5646c31
Merge pull request #14416 from prometheus/prw2.0-nhcb
bwplotka Jul 9, 2024
d002fad
Merge pull request #14424 from aknuds1/arve/fix-comments
beorn7 Jul 9, 2024
7083ae8
[release 2.53] Revert 13583 to stop dropping samples in remote-write …
bboreham Jul 10, 2024
7b595d6
2.54: Propose Bryan Boreham as release shepherd (#14453)
bboreham Jul 10, 2024
acb6c1a
Fix decoding buckets for native histograms in binops
fpetkovski Jul 10, 2024
14cfec3
Prepare release 2.53.1 (#14452)
bboreham Jul 10, 2024
646e1e8
Merge branch 'release-2.53' into merge-2.53.1
bboreham Jul 10, 2024
b1c106a
Merge pull request #14454 from fpetkovski/fix-binop-hist-stats
beorn7 Jul 10, 2024
398f42d
Add label-matcher support to Rules API (#10194)
saswatamcode Jul 10, 2024
8c8860d
Allow number literals as duration
darshanime Jan 30, 2024
cfad8ff
Deprecate duration token
darshanime Mar 4, 2024
bd4ea11
Allow durations for number rule
darshanime Mar 14, 2024
1a1b09f
Add a note about the new syntax
darshanime Apr 19, 2024
706e199
adjust version number in documentation
beorn7 Jul 10, 2024
9d744de
Merge pull request #14455 from bboreham/merge-2.53.1
bboreham Jul 10, 2024
dd48eab
build(deps): bump @codemirror/autocomplete in /web/ui
dependabot[bot] Jul 10, 2024
dca82e0
build(deps-dev): bump ts-jest from 29.1.4 to 29.2.1 in /web/ui
dependabot[bot] Jul 10, 2024
58963f7
Merge pull request #9138 from darshanime/duration_number_duality
beorn7 Jul 10, 2024
cb8b6d7
Allow built-in tests to be customized
fpetkovski Jul 11, 2024
caa71fb
chore(storage/remote): collect maxTimestamp when value is 0 as well.
machine424 Jul 8, 2024
ad03ede
fix markdown list
smd1121 Jul 10, 2024
bab098a
change all lists to bullets
smd1121 Jul 10, 2024
0c87643
[PRW 2.0] write_handler: Support for rc.2 spec & improved error handl…
bwplotka Jul 12, 2024
d116bf7
Merge pull request #14109 from harry671003/pass_limit_to_querier
bboreham Jul 12, 2024
5067294
golangci-lint: Don't use deprecated config params
aknuds1 Jul 14, 2024
f6e37c5
Merge pull request #14459 from prometheus/dependabot/npm_and_yarn/web…
aknuds1 Jul 14, 2024
42293c0
Merge pull request #14458 from prometheus/dependabot/npm_and_yarn/web…
aknuds1 Jul 14, 2024
c458cb7
build(deps-dev): bump ts-jest from 29.2.1 to 29.2.2 in /web/ui
dependabot[bot] Jul 14, 2024
64bfd2f
Merge pull request #14390 from prometheus/dependabot/github_actions/s…
aknuds1 Jul 14, 2024
3eda19a
Merge pull request #14386 from prometheus/dependabot/github_actions/b…
aknuds1 Jul 14, 2024
f23792f
Merge pull request #14468 from prometheus/dependabot/npm_and_yarn/web…
aknuds1 Jul 14, 2024
18a40e3
build(deps): bump the go-opentelemetry-io group across 1 directory wi…
dependabot[bot] Jul 1, 2024
a41a053
Merge pull request #14384 from prometheus/dependabot/go_modules/go-op…
aknuds1 Jul 14, 2024
5daf584
Merge pull request #14385 from prometheus/dependabot/github_actions/g…
aknuds1 Jul 14, 2024
9f9f929
Merge pull request #14375 from prometheus/dependabot/npm_and_yarn/web…
aknuds1 Jul 14, 2024
52a73ec
Merge pull request #14374 from prometheus/dependabot/npm_and_yarn/web…
aknuds1 Jul 14, 2024
4c74d35
Merge branch 'prometheus:main' into patch-1
B1F030 Jul 15, 2024
5c2590c
revert main.go
B1F030 Jul 15, 2024
15ac95d
change documentcli
B1F030 Jul 15, 2024
3648386
fix fmt
B1F030 Jul 15, 2024
2ca4d16
storage: add `AtT` method to `MemoizedSeriesIterator`
charleskorn Jul 15, 2024
c0f1b45
build(deps): bump @codemirror/view from 6.27.0 to 6.28.3 in /web/ui (…
dependabot[bot] Jul 15, 2024
efdd6fc
Merge pull request #14467 from aknuds1/arve/fix-golangcilint-deprecat…
bboreham Jul 15, 2024
bb241d7
Merge pull request #14463 from fpetkovski/customize-acceptance-tests
bboreham Jul 15, 2024
c6c240d
build(deps): bump @codemirror/lint from 6.8.0 to 6.8.1 in /web/ui (#1…
dependabot[bot] Jul 15, 2024
d7d06b4
Merge pull request #14420 from B1F030/patch-1
aknuds1 Jul 15, 2024
d878146
TSDB: shrink memSeries by moving bools together
bboreham Jul 15, 2024
f031fe1
Update storage.md to provide right-sizing advice on retention
SeanKilleen Jul 15, 2024
e892483
Merge pull request #14469 from charleskorn/memoizedseriesiterator-att
bboreham Jul 16, 2024
c39776c
promql: Add NHCB tests
beorn7 Jul 11, 2024
2e0e4e9
Add support for handling multiple chunks in OOO head
carrieedwards Jul 8, 2024
fb2ebe1
Fix linting
carrieedwards Jul 8, 2024
e0d7cef
Rename some variables in Commit()
carrieedwards Jul 9, 2024
7e020bb
Refactor
carrieedwards Jul 15, 2024
79b53bd
Refactor TestWBLReplay to use scenarios
carrieedwards Jul 15, 2024
02f05cb
Ensure lastMmapRef set to 0 if mmapRefs is empty
carrieedwards Jul 16, 2024
a28d197
Merge pull request #14438 from prometheus/cedwards/ooo-chunk-encoding
carrieedwards Jul 16, 2024
ca7062c
Merge pull request #14464 from prometheus/beorn7/histogram
beorn7 Jul 17, 2024
b75e635
Merge pull request #14476 from SeanKilleen/patch-2
bboreham Jul 17, 2024
a6fa8a4
docs: Correct and clarify histogram bucket and resolution limits
beorn7 Jul 18, 2024
bdfeae6
Merge pull request #14474 from bboreham/shrink-memseries
bboreham Jul 18, 2024
e9dec5f
Merge pull request #14483 from prometheus/beorn7/doc
beorn7 Jul 18, 2024
782af34
Merge branch 'master' into aliyun-ecs-sd
yusheng-guo Jul 22, 2024
0adec53
add unit test for aliyun service discovery
yusheng-guo Jul 25, 2024
8acf5e6
run golangci-lint to improve code
yusheng-guo Jul 26, 2024
6833d58
remove redundant content
yusheng-guo Jul 26, 2024
b39ff8e
translate into English
yusheng-guo Jul 26, 2024
c2e1353
add license header
yusheng-guo Jul 26, 2024
0d58333
coding style follows <Go Code Review Comments>
yusheng-guo Jul 29, 2024
0444240
add test cases
yusheng-guo Jul 29, 2024
0f00b17
fixed: yaml key error
yusheng-guo Jul 30, 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
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/web/ui @juliusv
/web/ui/module @juliusv @nexucis
/storage/remote @csmarchbanks @cstyan @bwplotka @tomwilkie
/storage/remote @cstyan @bwplotka @tomwilkie
/storage/remote/otlptranslator @aknuds1 @jesusvazquez
/discovery/kubernetes @brancz
/tsdb @codesome
/tsdb @jesusvazquez
/promql @roidelapluie
/cmd/promtool @dgl
/documentation/prometheus-mixin @metalmatze

8 changes: 5 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<!--
Please give your PR a title in the form "area: short description". For example "tsdb: reduce disk usage by 95%"

If your PR is to fix an issue, put "Fixes #issue-number" in the description.

Don't forget!

- Please sign CNCF's Developer Certificate of Origin and sign-off your commits by adding the -s / --sign-off flag to `git commit`. See https://github.com/apps/dco for more information.
- Please sign CNCF's Developer Certificate of Origin and sign-off your commits by adding the -s / --signoff flag to `git commit`. See https://github.com/apps/dco for more information.

- If the PR adds or changes a behaviour or fixes a bug of an exported API it would need a unit/e2e test.

- Where possible use only exported APIs for tests to simplify the review and make it as close as possible to an actual library usage.

- No tests are needed for internal implementation changes.

- Performance improvements would need a benchmark test to prove it.

- All exposed objects should have a comment.
Expand Down
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ updates:
directory: "/"
schedule:
interval: "monthly"
groups:
k8s.io:
patterns:
- "k8s.io/*"
go.opentelemetry.io:
patterns:
- "go.opentelemetry.io/*"
open-pull-requests-limit: 20
- package-ecosystem: "gomod"
directory: "/documentation/examples/remote_storage"
schedule:
Expand All @@ -12,10 +20,15 @@ updates:
directory: "/web/ui"
schedule:
interval: "monthly"
open-pull-requests-limit: 20
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/scripts"
schedule:
interval: "monthly"
- package-ecosystem: "docker"
directory: "/"
schedule:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/buf-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@ on:
paths:
- ".github/workflows/buf-lint.yml"
- "**.proto"
permissions:
contents: read

jobs:
buf:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.16.0
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
with:
input: 'prompb'
- uses: bufbuild/buf-breaking-action@v1
- uses: bufbuild/buf-breaking-action@c57b3d842a5c3f3b454756ef65305a50a587c5ba # v1.1.4
with:
input: 'prompb'
against: 'https://github.com/prometheus/prometheus.git#branch=main,ref=HEAD,subdir=prompb'
14 changes: 9 additions & 5 deletions .github/workflows/buf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,27 @@ on:
push:
branches:
- main
permissions:
contents: read

jobs:
buf:
name: lint and publish
runs-on: ubuntu-latest
if: github.repository_owner == 'prometheus'
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.16.0
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
with:
input: 'prompb'
- uses: bufbuild/buf-breaking-action@v1
- uses: bufbuild/buf-breaking-action@c57b3d842a5c3f3b454756ef65305a50a587c5ba # v1.1.4
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@a654ff18effe4641ebea4a4ce242c49800728459 # v1.1.1
with:
input: 'prompb'
buf_token: ${{ secrets.BUF_TOKEN }}
123 changes: 74 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,57 @@ jobs:
test_go:
name: Go tests
runs-on: ubuntu-latest
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
container:
image: quay.io/prometheus/golang-builder:1.20-base
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
image: quay.io/prometheus/golang-builder:1.22-base
steps:
- uses: actions/checkout@v3
- uses: prometheus/[email protected]
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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
- run: go test --tags=stringlabels ./...
- run: GOARCH=386 go test ./cmd/prometheus
- run: make GOOPTS=--tags=stringlabels GO_ONLY=1 SKIP_GOLANGCI_LINT=1
- run: go test --tags=stringlabels ./tsdb/ -test.tsdb-isolation=false
- run: make -C documentation/examples/remote_storage
- run: make -C documentation/examples

test_go_more:
name: More Go tests
runs-on: ubuntu-latest
container:
image: quay.io/prometheus/golang-builder:1.22-base
steps:
- 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 ./...
- run: GOARCH=386 go test ./cmd/prometheus
- uses: ./.github/promci/actions/check_proto
with:
version: "3.15.8"

test_go_oldest:
name: Go tests with previous Go version
runs-on: ubuntu-latest
container:
# 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@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=""

test_ui:
name: UI tests
runs-on: ubuntu-latest
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
container:
image: quay.io/prometheus/golang-builder:1.20-base
image: quay.io/prometheus/golang-builder:1.22-base

steps:
- uses: actions/checkout@v3
- uses: prometheus/[email protected]
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/setup_environment
with:
enable_go: false
Expand All @@ -52,36 +74,24 @@ jobs:
name: Go tests on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '>=1.20 <1.21'
go-version: 1.22.x
- run: |
$TestTargets = go list ./... | Where-Object { $_ -NotMatch "(github.com/prometheus/prometheus/discovery.*|github.com/prometheus/prometheus/config|github.com/prometheus/prometheus/web)"}
go test $TestTargets -vet=off -v
shell: powershell

test_golang_oldest:
name: Go tests with previous Go version
runs-on: ubuntu-latest
# The go verson in this image should be N-1 wrt test_go.
container:
image: quay.io/prometheus/golang-builder:1.18-base
steps:
- uses: actions/checkout@v3
- run: make build
- run: go test ./tsdb/...
- run: go test ./tsdb/ -test.tsdb-isolation=false

test_mixins:
name: Mixins tests
runs-on: ubuntu-latest
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
container:
image: quay.io/prometheus/golang-builder:1.19-base
image: quay.io/prometheus/golang-builder:1.22-base
steps:
- uses: actions/checkout@v3
- 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 @@ -104,8 +114,8 @@ jobs:
matrix:
thread: [ 0, 1, 2 ]
steps:
- uses: actions/checkout@v3
- uses: prometheus/[email protected]
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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,29 +137,44 @@ jobs:
# Whenever the Go version is updated here, .promu.yml
# should also be updated.
steps:
- uses: actions/checkout@v3
- uses: prometheus/[email protected]
- 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@v3
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: 1.20.x
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@v3.4.0
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
with:
version: v1.51.2
args: --verbose
# Make sure to sync this with Makefile.common and scripts/golangci-lint.yml.
version: v1.59.1
fuzzing:
uses: ./.github/workflows/fuzzing.yml
if: github.event_name == 'pull_request'
Expand All @@ -159,25 +184,25 @@ jobs:
publish_main:
name: Publish main branch artifacts
runs-on: ubuntu-latest
needs: [test_ui, test_go, test_windows, golangci, codeql, build_all]
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@v3
- uses: prometheus/[email protected]
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/publish_main
with:
docker_hub_login: ${{ secrets.docker_hub_login }}
docker_hub_password: ${{ secrets.docker_hub_password }}
quay_io_login: ${{ secrets.quay_io_login }}
quay_io_password: ${{ secrets.quay_io_password }}
publish_release:
name: Publish release arfefacts
name: Publish release artefacts
runs-on: ubuntu-latest
needs: [test_ui, test_go, test_windows, golangci, codeql, build_all]
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@v3
- uses: prometheus/[email protected]
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- uses: ./.github/promci/actions/publish_release
with:
docker_hub_login: ${{ secrets.docker_hub_login }}
Expand All @@ -191,14 +216,14 @@ jobs:
needs: [test_ui, codeql]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: prometheus/[email protected]
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0
- name: Install nodejs
uses: actions/setup-node@v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: "web/ui/.nvmrc"
registry-url: "https://registry.npmjs.org"
- uses: actions/cache@v3.3.1
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
schedule:
- cron: "26 14 * * 1"

permissions:
contents: read
security-events: write

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: topLevel 'security-events' permission set to 'write'
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help

jobs:
analyze:
name: Analyze
Expand All @@ -16,22 +20,19 @@
strategy:
fail-fast: false
matrix:
language: ["go", "javascript"]
language: ["javascript"]

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '>=1.20 <1.21'
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
Loading
Loading