Skip to content

PROMETHEUS monitoring software used to gather data to the OpenGate Admin Dashboard

License

Notifications You must be signed in to change notification settings

SpaceRouter/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PROMETHEUS dashboard

PROMETHEUS monitoring software used to gather data to the OpenGate Admin Dashboard

Run:

docker-compose up

Query sample :

CPU Usage over 5 minutes

#Average
100 - (avg by (instance) (irate(node_cpu_seconds_total{job="nodeexporter",mode="idle"}[5m])) * 100)

#Minimum
100 - (max by (instance) (irate(node_cpu_seconds_total{job="nodeexporter",mode="idle"}[5m])) * 100)

#Maximum
100 - (min by (instance) (irate(node_cpu_seconds_total{job="nodeexporter",mode="idle"}[5m])) * 100)

Memory Usage over 5 minutes

#Average:
100 * (1 - ((avg_over_time(node_memory_MemFree_bytes{job="nodeexporter"}[5m]) + avg_over_time(node_memory_Cached_bytes{job="nodeexporter"}[5m]) + avg_over_time(node_memory_Buffers_bytes{job="nodeexporter"}[5m])) / avg_over_time(node_memory_MemTotal_bytes{job="nodeexporter"}[5m])))

#Minimum
100 * (1 - ((max_over_time(node_memory_MemFree_bytes{job="nodeexporter"}[5m]) + max_over_time(node_memory_Cached_bytes{job="nodeexporter"}[5m]) + max_over_time(node_memory_Buffers_bytes{job="nodeexporter"}[5m])) / max_over_time(node_memory_MemTotal_bytes{job="nodeexporter"}[5m])))

#Maximum:
100 * (1 - ((min_over_time(node_memory_MemFree_bytes{job="nodeexporter"}[5m]) + min_over_time(node_memory_Cached_bytes{job="nodeexporter"}[5m]) + min_over_time(node_memory_Buffers_bytes{job="nodeexporter"}[5m])) / min_over_time(node_memory_MemTotal_bytes{job="nodeexporter"}[5m])))

About

PROMETHEUS monitoring software used to gather data to the OpenGate Admin Dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published