Types of Metrics - Examples

Table 1. Types of Metrics - Examples
Types of Metrics Description
Counter
 ```yaml
   TotalRequests:
     help: "Total number of requests received"
     type: "Counter"
   ``` 
Gauge
```yaml
   ServerTemperature:
     help: "Current temperature of the server"
     type: "Gauge"
     labelNames: "serverId"
   ```
Histogram
```yaml
   RequestDuration:
     help: "Duration of HTTP requests in milliseconds"
     type: "Histogram"
     buckets: [0.1, 0.5, 1, 5, 10]
   ```
Summary
```yaml
   ResponseSizes:
     help: "Sizes of HTTP responses"
     type: "Summary"
     percentiles: [0.5, 0.9, 0.99]
   ```
MovingAvgGauge
```yaml
   AverageLoad:
     help: "Average system load over a period"
     type: "MovingAvgGauge"
     avgWindowSize: 5
     rateOfChange: false
   ```
​ For more information about standard metrics see the online [documentation](https://github.com/siimon/prom-client).