Commit Graph

389 Commits (8d61a3e325d424efaec2a051553f2ff8a9b1430d)

Author SHA1 Message Date
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
Arve Knudsen 156222cc50
Add context argument to LabelQuerier.LabelValues (#12665)
1 year ago
Arve Knudsen a964349e97
Add context argument to LabelQuerier.LabelNames (#12666)
1 year ago
Arve Knudsen 6ef9ed0bc3
Add context argument to DB.Delete (#12834)
1 year ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050)
1 year ago
Bryan Boreham 1e3fef6ab0
scraping: limit detail on dropped targets, to save memory (#12647)
1 year ago
Bryan Boreham 87cbd26f6b
Merge pull request #12598 from bboreham/labels-json
1 year ago
Goutham Veeramachaneni ad4f514e66
Add OTLP Ingestion endpoint (#12571)
1 year ago
Bryan Boreham dcadb32eb1 web/api: use stream encoder for embedded labels
1 year ago
Bryan Boreham bb528d4a55 Add jsoniter encoder for Labels
1 year ago
Bryan Boreham 54e1046616 web/api: extend BenchmarkRespond with more types of data
1 year ago
Julien Pivotto c572d9d6d9
Merge pull request #11905 from charleskorn/api-response-format-extension-point
1 year ago
Marco Pracucci 7cc4292328
Export MinTime and MaxTime
1 year ago
Julien Pivotto 0186ec7873
Merge pull request #12516 from vinted/convert_queryopts_to_interface
1 year ago
Julien Pivotto 986fde06b2
Merge pull request #11688 from damnever/fix/datamodelvalidation-remotewriteapi
1 year ago
Charles Korn 097faf33c6
Merge branch 'main' into api-response-format-extension-point
1 year ago
Giedrius Statkevičius 3f230fc9f8 promql: convert QueryOpts to interface
1 year ago
Julien Pivotto e043b273a6
Merge pull request #12439 from prometheus/release-2.45
1 year ago
Arthur Silva Sens 1ea477f4bc
Add feature flag to squash metadata from /api/v1/metadata (#12391)
1 year ago
Jesus Vazquez bfa466d00f
Create release candidate 2.45.0-rc.0 (#12435)
2 years ago
Baskar Shanmugam 905a0bd63a
Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336)
2 years ago
Vladimir Varankin d281ebb178 web: display GOMEMLIMIT in runtime info
2 years ago
Julien Pivotto 8f1dc4a70f
Merge pull request #12248 from yeya24/consistent-response
2 years ago
Julien Pivotto e2512078e5
Merge pull request #12241 from mmorel-35/linter/nilerr
2 years ago
gotjosh 2f22c8b7f8
Merge pull request #12270 from prometheus/gotjosh/allow-filtering-of-rules-by-name-api
2 years ago
gotjosh e78be38cc0
don't show empty groups
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
gotjosh 96b6463f25
review comments
2 years ago
gotjosh f3394bf7a1
Rules API: Allow filtering by rule name
2 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Ben Ye fb67d368a2 use consistent error for instant and range query 400
2 years ago
Xiaochao Dong (@damnever) 2b7202c4cc Validate the metric names and labels in the remote write handler
2 years ago
pbudner 46683eadf7 fix: advertise correct flag to enable remote write receiver
2 years ago
Charles Korn 38c1930f48
Merge branch 'main' into api-response-format-extension-point
2 years ago
Charles Korn 46a28899a0
Implement fully-featured content negotiation for API requests, and allow overriding the default API codec.
2 years ago
Julien Pivotto db2d759b81 Add support for lookbackdelta per query via the API
2 years ago
Charles Korn eaad7c0fc8
Merge branch 'main' into api-response-format-extension-point
2 years ago
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
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