Commit Graph

251 Commits (9126bbbed0f136d5a2a48ba59cb9799456ceca40)

Author SHA1 Message Date
Julius Volz 191c24a0ed Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning (#12982)
1 year ago
Jeanette Tan 0cbf0c1c68 Revise according to code review
1 year ago
Jeanette Tan feaa93da77 Add warning when monotonicity is forced in the input to histogram_quantile
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
Julien Pivotto fd5b01afdc promtool docs: write flags between backtits in help
1 year ago
Bryan Boreham ce153e3fff Replace sort.Sort with faster slices.SortFunc
1 year ago
Julien Pivotto 771f512757
Merge pull request #12299 from fgouteroux/promtool_push_metrics_cmd
1 year ago
François Gouteroux 58d38c4c56 fix: apply suggested changes
1 year ago
Julien Pivotto d19fa62476 Revert "Improving Performance on the API Gzip Handler (#12363)"
1 year ago
François Gouteroux 3eaa7eb538 fix: apply suggested changes
1 year ago
François Gouteroux 6ae4a46845 feat: enhance stdin check and add tests parsing error
2 years ago
François Gouteroux ca6580828a feat: support histogram and summary metric types
2 years ago
Alan Protasio dfae954dc1
Improving Performance on the API Gzip Handler (#12363)
2 years ago
Julien Pivotto 7f29458e69
Merge pull request #12231 from Loongson-Cloud-Community/main
2 years ago
François Gouteroux 934c5ddb8d feat: make push metrics labels generic and repeatable
2 years ago
François Gouteroux 3524a16aa0 feat: add suggested changes, tests, and stdin support
2 years ago
Julien Pivotto 637235f0a6 Revert type casting removal
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 817a2396cb Name float values as "floats", not as "values"
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
znley 0c75f76193 fix: RLIM_INFINITY type is uint64 on loong64
2 years ago
Oleg Zaytsev 6e2905a4d4
Use zeropool.Pool to workaround SA6002 (#12189)
2 years ago
Julien Pivotto 1922db0586 Document command line tools
2 years ago
Nick Moore c05ebef306
Implement SanitizeLabelName and Full variant
2 years ago
Nick Moore 758914e1fb
Fix SanitizeLabelName for certain invalid labels
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Miguel Ángel Ortuño e4b87a7a2a
api: export point marshaling functions (#11323)
2 years ago
Ganesh Vernekar d354f20c2a
Add a feature flag to control native histogram ingestion (#11253)
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
Tobias Klauser 7ef6f287cf
util/runtime: use ByteSliceToString from golang.org/x/sys/unix in Uname (#11070)
2 years ago
Matthieu MOREL 6375417324
refactor (util): move from github.com/pkg/errors to 'errors' and 'fmt' (#10877)
2 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Alan Protasio ce6a643ee8
Changing TotalQueryableSamples from int to int64 (#10549)
3 years ago
Andrew Bloomgarden 20dbb128d9 Switch per-step stats to serialize ints
3 years ago
Andrew Bloomgarden a64b9fe323 Report PeakSamples in query statistics
3 years ago
Andrew Bloomgarden ed091a1fb9 Allow replacing the stats struct before rendering JSON
3 years ago
Alan Protasio 606ef33d91 Track and report Samples Queried per query
3 years ago
Jan Fajerski 2c3d45c88a
Replace vfsgen with embed for static web assets (#10220)
3 years ago
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Matej Gera 2c61d29b2a
Tracing: Migrate to OpenTelemetry library (#9724)
3 years ago
David Leadbeater a961062c37
Disable time based retention in tests (#8818)
3 years ago
Julius Volz 2c49860f69 Add license notice for code adapted from Go
3 years ago
Julien Pivotto b48a1e9e9b
Revert "Replace vfsgen with embed for static web assets (#9719)" (#9870)
3 years ago
Jan Fajerski ddaddc2a7a
Replace vfsgen with embed for static web assets (#9719)
3 years ago
Mateusz Gozdek 5e002dec68 util/testutil: add RandomUnprivilegedPort function
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
austin ce 5bdfba1d20
Extract and export GetFQDN()
3 years ago
Martin Disibio 1bcd13d6b5
Exemplar resize (#8974)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 7bc11dcb06
React UI: Add Starting Screen (#8662)
4 years ago
Julien Pivotto 29c65de359
Ignore k8s' updateUnfinishedWorkLoop go routine in goleak tests (#8598)
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
Julien Pivotto 120a84da5d zookeeper: change upstream to github.com/go-zookeeper/zk
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652)
4 years ago
Guangwen Feng f50786bcd1
Add unit test case to improve test coverage for quote.go (#7482)
4 years ago
Hongcai Ren c7e82274c6
replace github.com/prometheus/prometheus/testutil/promlint by github.com/prometheus/client_golang/prometheus/testutil/promlint from our codebase (#7209)
5 years ago
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Bartlomiej Plotka 104a1313d4
testutil: Enriched Equals with diff on error. (#7053)
5 years ago
Björn Rabenstein bc703b6456
Use `struct{}` as underlying type for context keys (#6965)
5 years ago
Peter Štibraný a7d3a456d6 Updated code based on Juliens comments (via Slack).
5 years ago
Peter Štibraný fe3fe5740e Updated comment.
5 years ago
Peter Štibraný baa6f60384 Changed var name.
5 years ago
Peter Štibraný 318cd413fc Don't return error in ContextFromRequest function.
5 years ago
Bartlomiej Plotka cfba92a133 Addressed comments.
5 years ago
Bartlomiej Plotka fb79f515fc Fixed second bug.
5 years ago
Bartlomiej Plotka aadffd1360 Finally found a fix for the bug I was chasing for 2h...
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Julien Pivotto e7f7b6a06f Query Log: Add source IP from console queries (#6593)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Julien Pivotto 31700a05df Improve testutil.ErrorEqual (#6471)
5 years ago
Simon Pasquier b15dda9e07
util/promlint: simplify sorting function (#6448)
5 years ago
RainbowMango f9de671cdd Fix promlint order algorithm not work issue.
5 years ago
Dipack P Panjabi ce7bab04dd Compute WAL size and use it during retention size checks (#5886)
5 years ago
陈谭军 0f022aa42b fix unreasonable goimports (#6115)
5 years ago
Krasi Georgiev 29c190df73
remove missing substitution in the Equal test util. (#6039)
5 years ago
zhulongcheng 970ef41bb6 Fix exported function comments (#6002)
5 years ago
David Ellis dbfd493265 More promlint rules (#5515)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
Ye Ji 2c715d22cf Fix zk connection leak (#5675)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Hrishikesh Barman 9c4e258651 corrected regex string check for anyorigin(*) (#5117)
6 years ago
Hrishikesh Barman a1f34bec2e Added CORS Origin flag (#5011)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Tariq Ibrahim a188693015 Adding unit tests for the util package (#4534)
6 years ago