Prometheus
·1007 words·5 mins
Prometheus # Type of logs # Transaction logs Request logs Application logs Debug logs Using Expression browser # Metrics:
up Gauges: process_resident_memory - metric type gauges . For a gauge, its current absolute value is important from a monitoring point of view Counters: prometheus_tsdb_head_samples_appended_total metric type - counter. Number of samples prometheus has ingested Rate: rate(prometheus_tsdb_head_samples_appended_total[1m]) to compute rate per minute. The rate function automatically handles counters resetting due to processes restarting and samples not being exactly aligned. This can lead to rates on integers returning noninteger results, but the results are correct on average. Debug logs Running the Node Exporter # Exposes kernal and machine level metrics on Unix systems. Provides all standard metrics such as CPU, memory, sick space, disk IP, network bandwidth.