Improve Argus metrics data retention policy (#401)

* update argus instance examples

* Set update metrics to default when not provided

* address PR comments
This commit is contained in:
Diogo Ferrão 2024-06-12 16:28:46 +01:00 committed by GitHub
parent 205763c8c2
commit 33e4417e61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 59 additions and 115 deletions

View file

@ -3,7 +3,7 @@ resource "stackit_argus_instance" "example" {
name = "example-instance"
plan_name = "Monitoring-Medium-EU01"
acl = ["1.1.1.1/32", "2.2.2.2/32"]
metrics_retention_days = 7
metrics_retention_days_5m_downsampling = 30
metrics_retention_days_1h_downsampling = 365
metrics_retention_days = 365
metrics_retention_days_5m_downsampling = 60
metrics_retention_days_1h_downsampling = 10
}