prometheus/tsdb/index
Baskar Shanmugam 905a0bd63a
Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336)
* Added 'topN' query parameter support to /api/v1/status/tsdb endpoint

Signed-off-by: Baskar Shanmugam <baskar.shanmugam.career@gmail.com>

* Updated query parameter for tsdb status to 'limit'

Signed-off-by: Baskar Shanmugam <baskar.shanmugam.career@gmail.com>

* Corrected Stats() parameter name from topN to limit

Signed-off-by: Baskar Shanmugam <baskar.shanmugam.career@gmail.com>

* Fixed p.Stats CI failure

Signed-off-by: Baskar Shanmugam <baskar.shanmugam.career@gmail.com>

---------

Signed-off-by: Baskar Shanmugam <baskar.shanmugam.career@gmail.com>
2023-05-22 14:37:07 +02:00
..
index.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00
index_test.go Simplify IndexReader.Series interface 2022-12-19 15:22:09 +00:00
postings.go Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336) 2023-05-22 14:37:07 +02:00
postings_test.go Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336) 2023-05-22 14:37:07 +02:00
postingsstats.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00
postingsstats_test.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00