Prometheus

 Prometheus:

Exporters:


Node Exporter(To get Linux machine metrics):



Similarly we gave wmi exporter, to collect metrics of windows machines(not officialy supported)
See different exporters: here


PromQL:

PromQL, short for Prometheus Querying Language, is the main way to query metrics within Prometheus

data types


Selector and matchers
Binary operators












Update prometheous config file without restarting

1. SIGHUP

Get the process id of the prometheus and exnter command kill -HUP  <processid>

ps ax | grep prometheus

2. Post request to reload handler 

curl -X 'POST' http://localhost:9090/-reload

Note: This will work only if you start prometheus using --web-enable-lifecycle

Ex: ./prometheus --web-enable-lifecycle







Comments

Popular posts from this blog

Docker Imp points

Docker volumes backup and restore & Docker networks