HCM

Happy Coding Monkey

Prometheus Usage

2023-07-02


Prometheus Basic

Prometheus Admin API

curl -G 'http://localhost:9090/api/v1/series' --data-urlencode 'match[]={uri=~".+"}'

# -G, --get
#    When used, this option will make all data specified with -d, --data, --data-binary or --data-urlencode to be used in an HTTP GET request instead of the POST request that otherwise would be used.
curl http://localhost:9090/api/v1/label/uri/values