prometheus/cmd/prometheus
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
..
testdata End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336) 2023-05-22 14:37:07 +02:00
main_test.go Use a random port in cmd/prometheus tests 2023-04-03 11:21:50 +01:00
main_unix_test.go style: Replace else if cascades with switch 2023-04-19 17:22:31 +02:00
query_log_test.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00