Commit Graph

502 Commits (2a7520a3236e98378b10e12b7d3d1a6dced640df)

Author SHA1 Message Date
Kartikay 8736772053
web/api: add limit param on series, labels, label-values (#13396)
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham d2817e9c91
Merge pull request #12304 from bboreham/labels-symboltable
9 months ago
Bryan Boreham 9ba13de220 scraping: pass a Builder to get Target labels
9 months ago
ismail simsek 2507469291
Fix: metadata API using wrong field names (#13633)
9 months ago
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id"
9 months ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp
10 months ago
Bryan Boreham 16e68c01e4 tests: remove err from message when testify prints it already
10 months ago
Paweł Szulik 6e9cca8158 Refactor web tests to use testify.
10 months ago
Leegin 19efd0a675
api: Serialize discovered labels into JSON directly in dropped targets (#13484)
10 months ago
Leegin e3040bfabc
api: Serialize discovered and target labels into JSON directly (#13469)
10 months ago
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296)
11 months ago
Bryan Boreham 8065bef172 Move metric type definitions to common/model
11 months ago
Bryan Boreham 99c17b4319
Merge pull request #13177 from bboreham/less-madness
11 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Bryan Boreham 34676a240e scrape: consistent function names for metadata
1 year ago
Bryan Boreham 41758972e4
web/api: optimize labelnames/values with 1 set of matchers (#12888)
1 year ago
Matthieu MOREL 05fba53e57 web : use Go standard package
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
Anand Rajagopal 2ade8adf9e Adding a query parameter to filter out active alerts
1 year ago
Arve Knudsen b43358fd43
API: Add tests for query timeout parameter (#12927)
1 year ago
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)
1 year 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