Hi.
Im currently having some problems with the HTTP API for labels and label values. E.g. GET /api/v1/labels
and GET /api/v1/label/<label_name>/values
If I run a GET request like :
http://localhost:9009/prometheus/api/v1/label/__name__/values?match[]={__name__=~“.random.”}
to try and select series names which exist which contain the word random, I get all series names back.
If I do this on the /series end point it works fine, but it returns a massive amount of data.
Will the the 2 APIs above not do what I want?
Thanks