Skip to content

Commit

Permalink
Add metrics retention documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vipin-dfe committed Jan 20, 2025
1 parent d0bdd80 commit 96cde84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions documentation/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ Unfortunately we can't alert which kubernetes service is using aa high number of

[Troubleshoot SNAT port exhaustion on Azure Kubernetes Service nodes](https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/connectivity/snat-port-exhaustion?tabs=for-a-linux-pod)

## Metrics Retention
## Querying metrics

### Metrics Retention

Metrics retention is based on sampling
- Raw data(actual data captured) is retained for 30 days. This is data as it is captured by prometheus.
Expand All @@ -168,7 +170,6 @@ Metrics retention is based on sampling
More information on down sampling is available on this [link](https://thanos.io/v0.8/components/compact/#downsampling-resolution-and-retention)

Down sample allows for reduced storage costs as all the raw data does not need to stored for longer duration charting.
## Querying metrics

### Thanos UI
Metrics can be queried/charted by using thanos UI. While charting metrics in thanos the following should be noted
Expand Down

0 comments on commit 96cde84

Please sign in to comment.