slo

borgified/slo/datadog

Terraform Module HCL DATADOG
Install
module "slo" {
source = "borgified/slo/datadog"
version = "0.3.3"
}
plain text: /constructs/tfmod-borgified-slo-datadog/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (7)
NameTypeDescriptionDefault
app_keystring(Required) datadog app key required
namestring(Required) Name of Datadog service level objective. required
loadbalancer_typestringif set to "application" will use aws.applicationelb.* metrics, otherwise will us required
filter_tagsstring(Required) Tags to select specific metrics. required
api_keystring(Required) datadog api key required
descriptionstring(Optional) A description of this service level objective."generated via Terraform"
tagslist(Optional) A list of tags to associate with your service level objective.[ "team:tbd" ]
Outputs (3)
availability_url — availability slo
latency_url — latency slo
slo_dashboard_url — slo dashboard
Resources (3)
datadog_dashboarddatadog_monitordatadog_service_level_objective
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.3
Cloud DATADOG
★ Stars4
Forks1
Total downloads1.3k
Inputs7
Outputs3
Resources3
LicenseApache-2.0
Namespaceborgified
Updated