Commit Graph

434 Commits (7eaefcf379e1b27c3551c6b698a3b1d6bf24d500)

Author SHA1 Message Date
Charles Korn 3e94dd8c8f
Add extension point for returning different content types from API endpoints
2 years ago
Marco Pracucci 3db77b4491
API: change HTTP status code tracked in metrics form 503/422 to 499 if a request is canceled
2 years ago
Julien Pivotto 2c408289f8 Add stabilizing to UI
2 years ago
Julien Pivotto ce55e5074d Add 'keep_firing_for' field to alerting rules
2 years ago
Łukasz Mierzwa e1b7082008
Show individual scrape pools on /targets page (#11142)
2 years ago
Bryan Boreham fd57569683 Update package web tests for new labels.Labels type
2 years ago
Ganesh Vernekar e3719d670b
Merge remote-tracking branch 'upstream/main' into sparsehistogram
2 years ago
Alan Protasio 5ac12ac351
api: Wrapped promQL based API errors with `returnAPIError` function (#11356)
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Ganesh Vernekar f024d769e7
Add API test for histogram
2 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318)
2 years ago
Miguel Ángel Ortuño e4b87a7a2a
api: export point marshaling functions (#11323)
2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 years ago
Alan Protasio f1a3dbbb6b
GetSeries should Select sorted results only if more than one matcher is requested (#11313)
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Julius Volz b57deb6eb0
Add /api/v1/format_query API endpoint for formatting queries (#11036)
2 years ago
beorn7 095b6c93dd Merge branch 'main' into sparsehistogram
2 years ago
Peter Štibraný 5bd761fbfc
Merge pull request #10857 from pstibrany/fix-errors-handling
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 years ago
Filip Petkovski a56731126d
Export TSDB status structs (#10783)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
beorn7 d16b314b72 Histogram: Do not render empty buckets in JSON output
3 years ago
beorn7 61d6d1df18 Histogram: Remove obsolete work-around code
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
beorn7 37bbc07118 Histogram: Add jsoniter marshaling
3 years ago
beorn7 99894f6afa Histogram: Implement inefficient JSON rendering
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
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
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Björn Rabenstein 933f50bcda
Merge pull request #10121 from prometheus/beorn7/promql
3 years ago
Abhishek 2f4289a3bf
add limit to the rules api (#10152)
3 years ago
beorn7 b39f2739e5 PromQL: Always enable negative offset and @ modifier
3 years ago
Oleg Zaytsev 3c400d443d
Accept promql.Engine interface in v1.NewAPI() (#10050)
3 years ago
beorn7 6f33ab2b35 Merge branch 'main' into sparsehistogram
3 years ago
Matheus Alcantara c965a7555b
web: use t.TempDir instead of ioutil.TempDir on tests (#9981)
3 years ago
beorn7 e4e24453fa Merge branch 'main' into beorn7/merge2
3 years ago
Ganesh Vernekar 0eac720468
Export rules related structs in web/api/v1 (#9831)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Robert Fratto bc72a718c4
Initial draft of prometheus-agent (#8785)
3 years ago
beorn7 a9008f5423 Merge branch 'main' into sparsehistogram
3 years ago
Paweł Szulik 4414351576
web api: Delete unnecessary conversion. (#9517)
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
beorn7 fd5ea4e0b5 Merge branch 'main' into sparsehistogram
3 years ago
Levi Harrison 70f597b033
Configure Scrape Interval and Timeout Via Relabeling (#8911)
3 years ago
Ganesh Vernekar 1315d8ecb6
Remove query hacks in the API and fix metrics (#9275)
3 years ago
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
Oleg Zaytsev b1ed4a0a66
LabelNames API with matchers (#9083)
3 years ago
Ganesh Vernekar 4cb4fe44f2
Hardcode rate() for sparse histograms
3 years ago
Ganesh Vernekar 4c01ff5194
Bunch of fixes for sparse histograms (#9043)
3 years ago
Ganesh Vernekar 78d68d5972
Make query_range serve histograms (#9036)
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
Levi Harrison 7b18018012
Fixed tests
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
Julien Pivotto ad5ed416ba
Merge pull request #8487 from pschou/dev_neg_offset
4 years ago
Tom Wilkie ce97cdd477
Move remote read handler to remote package. (#8536)
4 years ago
schou 22cd48868a adding feature flag, promql-negative-offset
4 years ago
Peter Štibraný a2e5ad6174 Split queryable and appendable arguments in api_v1.NewAPI.
4 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400)
4 years ago
Ganesh Vernekar 86c71856e8
Add start() and end() pre-processors for @ modifier (#8425)
4 years ago
Dustin Hooten b9f0baf6ff
Combine NewHead() args into a HeadOptions struct (#8452)
4 years ago
Tom Wilkie d479151f1f Various enhancements and refactorings for remote write receiver:
4 years ago
fuling 72475b8a0c [ENHANCEMENT] remote storage:Add default api implementation of remote write
4 years ago
Julien Pivotto 06e53b7ecf
API: Fix global URL when external address has no port (#8359)
4 years ago
Nguyen Le Vu Long cd1dafc2fd
tsdb: Expose total number of label pairs in head in TSDB stats page (#8343)
4 years ago
Bartlomiej Plotka 70c69aaa6c
Small cleanup of API code. (#8258)
4 years ago
Ben Ye caa173d2aa
Support matchers for Labels API (#8301)
4 years ago
Julien Pivotto 8dc53c2218
Api: Verify that at every matcher in api/v1/series is not empty (#8288)
4 years ago
gotjosh 4eca4dffb8
Allow metric metadata to be propagated via Remote Write. (#6815)
4 years ago
Marco Pracucci db19e05d93
Add option to customise head chunks write buffer size (#8201)
4 years ago
Julien Pivotto 7558e9d3c3
API: Make snapshot length always the same size (#8138)
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
Goutham Veeramachaneni 1cc02930b6
Implement series API query hint to not hit chunks (#8050)
4 years ago
Dustin Hooten 916dbd4c8a
React UI: Implement missing TSDB head stats section (#7876)
4 years ago
Julien Pivotto e208afcc95
web: Remove APIv2 (#7935)
4 years ago
Julien Pivotto a6ee1f8517
Merge pull request #7913 from prometheus/release-2.21
4 years ago
showuon dfdc358a5b
Fix the duplicated results issue from /api/v1/series (#7862)
4 years ago
johncming a14245b4b1
web/api/v1: rename http status code. (#7864)
4 years ago
johncming 2f2a51a43a
web/api/v1: make names consistent. (#7841)
4 years ago
Li Zhijian 6f6ef1451e
Cleanup tempfiles (#7696)
4 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069)
4 years ago
Bartlomiej Plotka b788986717
storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059)
4 years ago
Marco Pracucci 153f859b74
Fixed returned API status code on error (#7435)
4 years ago
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251)
5 years ago
Jess G fdc49fae5b
Added time range parameters to labelNames API (#7288)
5 years ago
Ganesh Vernekar 1c99adb9fd
Callbacks for lifecycle of series in TSDB (#7159)
5 years ago
gotjosh bfcd9282a8
API: Allow AlertmanagerRetriever and RulesRetriever to receive a Context (#7256)
5 years ago
Ganesh Vernekar d4b9fe801f
M-map full chunks of Head from disk (#6679)
5 years ago
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
Julien Pivotto fc3fb3265a
Merge pull request #7145 from prometheus/release-2.17
5 years ago
Julien Pivotto 9072cf7203
Merge pull request #7137 from roidelapluie/cherrypicks
5 years ago
beorn7 69ac27e1b4 Make `series` method return a finalizer, too
5 years ago
Julien Pivotto a2fcdeb1ef Defer finalizer (#7129)
5 years ago
beorn7 f9f423ec0a Ensure queries are closed in API calls
5 years ago