slo
borgified/slo/datadog
terraform module for datadog slo dashboard To use this terraform module add the following to your terraform code: `` module "slo_dashboard" { source = "borgified/slo/datadog" version = "0.3.3" api_key = "xxxxxxxxxxxxxx" app_key = "xxxxxxxxxxxxxx" loadbalancer_type = "application" name = "my service name" filter_tags = "name:my-load-balancer,environment:production" tags = [ "team:myteam", "service:myservice" ] } ` If you want direct links to the dashboards/monitors add the following: ` output "availability_url" { description = "availability slo" value = "https://app.datadoghq.com/slo?slo_id=${datadog_service_level_objective.availability.id}" } output "latency_url" { description = "latency slo" value = "https://app.datadoghq.com/slo?slo_id=${datadog_service_level_objective.latency.id}" } out
| Name | Type | Description | Default |
|---|---|---|---|
| app_key | string | (Required) datadog app key | required |
| name | string | (Required) Name of Datadog service level objective. | required |
| loadbalancer_type | string | if set to "application" will use aws.applicationelb.* metrics, otherwise will us | required |
| filter_tags | string | (Required) Tags to select specific metrics. | required |
| api_key | string | (Required) datadog api key | required |
| description | string | (Optional) A description of this service level objective. | "generated via Terraform" |
| tags | list | (Optional) A list of tags to associate with your service level objective. | [
"team:tbd"
] |
availability_url — availability slolatency_url — latency sloslo_dashboard_url — slo dashboard