Commit Graph

397 Commits (601fd8a8f0e2cf09d1b4649707e1cfde4641a965)

Author SHA1 Message Date
Charles Korn deba5120ea
Address PR feeedback: reduce log level.
2 years ago
Fish-pro 43d77f7c41 Use http constants instead of string
2 years ago
Charles Korn 857b23873f
Expose QueryData so that implementations of Codec.CanEncode() can perform a type assertion against Response.Data.
2 years ago
Charles Korn a0dd1468be
Move custom jsoniter code into json_codec.go.
2 years ago
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
3 years ago
Peter Štibraný 5bd761fbfc
Merge pull request #10857 from pstibrany/fix-errors-handling
3 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 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)
5 years ago
Marco Pracucci 153f859b74
Fixed returned API status code on error (#7435)
5 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
Julien Pivotto 209d4bb8a1
Defer finalizer (#7129)
5 years ago
gotjosh 24af5049bb
API: Allow `TargetRetriever` to receive a Context (#7125)
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005)
5 years ago
Bartlomiej Plotka c4eefd1b3a storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Boyko 84b00564f4
API_V1: Extract time param parsing logic (#6860)
5 years ago
Bartlomiej Plotka c4e74e241f
Merge pull request #6744 from slrtbtfs/split_parser
5 years ago
Tobias Guggenmos 4835bbf376
Merge branch 'master' into split_parser
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
Harkishen Singh 489a9aa7b9
Adds normalization of localhost urls in targets page react (#6794)
5 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes
5 years ago
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus
5 years ago
Julien Pivotto 135cc30063
rules: Make deleted rule series as stale after a reload (#6745)
5 years ago
Julien Pivotto 0e912faf4f
rules: Cleanup unused function alert.Duration (#6734)
5 years ago
Thor 17d8c49919
made stripe size configurable (#6644)
5 years ago
gotjosh 8b49c9285d
scrape: Add metrics to track bytes and entries in the metadata cache (#6675)
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Brian Brazil 38d32e0686 Don't sort postings if we only have one block.
5 years ago
Harkishen Singh c1e49d50c5 Adds support for rules screen in react-ui (#6503)
5 years ago
Julien Pivotto e7f7b6a06f Query Log: Add source IP from console queries (#6593)
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory.
5 years ago
gotjosh e1f2da74a3 api: provide metadata for a single metric
5 years ago
gotjosh 4a13c844b7 Add periods to comments on tests.
5 years ago
gotjosh 0a0a228db3 api: provide per metric metadata (#6420)
5 years ago
Boyko 1c66aea992 React UI: Implement alerts page (#6402)
5 years ago
gotjosh 7bb73a9abd fix: flaky test for api/v1/targets/metadata. (#6436)
5 years ago
gotjosh 428089f83f api: tests for /target/metadata API endpoint
5 years ago
gotjosh 4bf9c6bb82 Allow targets to be injected as arguments when creating a testTargetRetriever
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Tobias Guggenmos be2bcc50a2 Fix target metadata API for empty match_targets (#6303)
5 years ago
Sharad Gaur a85e7aac0e Adding TSDB Stats Page in React UI (#6281)
5 years ago
Dustin Hooten ca60bf298c React UI: Implement /targets page (#6276)
5 years ago
Boyko cb7cbad5f9 WIP: status page - API and UI (#6243)
5 years ago
Yao Zengzeng 8744afdd1e cleanup redundant code of `TestEndpoints` (#6022)
5 years ago
Goutham Veeramachaneni 4c648eddf4
vendor: Update json-iterator (#6030)
5 years ago
Yao Zengzeng 21c9789083 multiple queries test for StreamRead (#5969)
5 years ago
Bartek Płotka 48b2c9c8ea
remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703)
5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
@aifsair 0f00737308 Fix log config setup (#5807)
5 years ago
Thomas Jackson fef150f1b5 Add tests to ensure we can marshal and unmarshal our min/max times (#5734)
5 years ago
Thomas Jackson 91d7175eaa Add storage.Warnings to LabelValues and LabelNames (#5673)
6 years ago