mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
Extend configuration for customMetrics (#202)
This commit is contained in:
+8
-5
@@ -170,11 +170,14 @@ In the module `module "workloads_infra" {` add the following config (make sure t
|
||||
enable_custom_metrics = true
|
||||
|
||||
custom_metrics_config = {
|
||||
# list of applications ports (example)
|
||||
ports = [8000, 8080]
|
||||
|
||||
# list of series prefixes you want to discard from ingestion
|
||||
dropped_series_prefixes = ["go_gcc"]
|
||||
custom_app_1 = {
|
||||
enableBasicAuth = true
|
||||
path = "/metrics"
|
||||
basicAuthUsername = "username"
|
||||
basicAuthPassword = "password"
|
||||
ports = ".*:(8080)$"
|
||||
droppedSeriesPrefixes = "(unspecified.*)$"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user