Add prometheus
Course: Prometheus and Grafana - chapter 4
Lets try putting this data inside prometheus next.
Types of metrics in Prometheus
Section titled “Types of metrics in Prometheus”Counter
Section titled “Counter”- A counter is a cumulative metric that only increases.
- Example: Counting the number of HTTP requests.
- A gauge is a metric that can go up and down. It can be used to measure values that fluctuate, such as the current number of active users or the current memory usage.
- Example: Measuring the current memory usage
Histogram
Section titled “Histogram”- A histogram samples observations (usually things like request durations or response sizes) and counts them in configurable buckets. It also provides a sum of all observed values.
- Example: Measuring the duration of HTTP requests.