diff --git a/azure/cache_redis/dashboards/overview/main.tf b/azure/cache_redis/dashboards/overview/main.tf index 48c641a..7cb86c8 100644 --- a/azure/cache_redis/dashboards/overview/main.tf +++ b/azure/cache_redis/dashboards/overview/main.tf @@ -8,20 +8,20 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { +variable "lightstep_project" { description = "Cloud Observability Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Cache Redis Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project + project_name = var.lightstep_project dashboard_name = "Cache Redis Metrics" - dashboard_description = "Monitor Cache Redis with this metrics overview dashboard." + dashboard_description = "[Beta] Monitor Cache Redis with this metrics overview dashboard." chart { name = "All Operations per Second" diff --git a/azure/cdn_cdnwebapplicationfirewallpolicies/dashboards/overview/main.tf b/azure/cdn_cdnwebapplicationfirewallpolicies/dashboards/overview/main.tf index d06afb2..4a8e8a2 100644 --- a/azure/cdn_cdnwebapplicationfirewallpolicies/dashboards/overview/main.tf +++ b/azure/cdn_cdnwebapplicationfirewallpolicies/dashboards/overview/main.tf @@ -8,20 +8,20 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { +variable "lightstep_project" { description = "Cloud Observability Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector CDN Web Application Firewall Policies Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project + project_name = var.lightstep_project dashboard_name = "CDN Web Application Firewall Policies Metrics" - dashboard_description = "Monitor CDN Web Application Firewall Policies with this metrics overview dashboard." + dashboard_description = "[Beta] Monitor CDN Web Application Firewall Policies with this metrics overview dashboard." chart { name = "Web Application Firewall Requests" diff --git a/azure/cdn_profiles/dashboards/overview/main.tf b/azure/cdn_profiles/dashboards/overview/main.tf index be8f29e..edd0121 100644 --- a/azure/cdn_profiles/dashboards/overview/main.tf +++ b/azure/cdn_profiles/dashboards/overview/main.tf @@ -8,20 +8,20 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { +variable "lightstep_project" { description = "Cloud Observability Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector CDN Profiles Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project + project_name = var.lightstep_project dashboard_name = "CDN Profiles Metrics" - dashboard_description = "Monitor CDN Profiles with this metrics overview dashboard." + dashboard_description = "[Beta] Monitor CDN Profiles with this metrics overview dashboard." chart { name = "Requests" diff --git a/azure/cognitiveservices_accounts/dashboards/overview/main.tf b/azure/cognitiveservices_accounts/dashboards/overview/main.tf index 6913d6a..7f01264 100644 --- a/azure/cognitiveservices_accounts/dashboards/overview/main.tf +++ b/azure/cognitiveservices_accounts/dashboards/overview/main.tf @@ -8,20 +8,20 @@ terraform { required_version = ">= v1.0.11" } -variable "cloud_observability_project" { +variable "lightstep_project" { description = "Cloud Observability Project Name" type = string } output "dashboard_url" { - value = "https://app.lightstep.com/${var.cloud_observability_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" description = "OpenTelemetry Collector Cognitive Services Accounts Dashboard URL" } resource "lightstep_dashboard" "otel_collector_dashboard" { - project_name = var.cloud_observability_project + project_name = var.lightstep_project dashboard_name = "Cognitive Services Accounts Metrics" - dashboard_description = "Monitor Cognitive Services Accounts with this metrics overview dashboard." + dashboard_description = "[Beta] Monitor Cognitive Services Accounts with this metrics overview dashboard." chart { name = "Success Rate" diff --git a/azure/compute_cloudservices/dashboards/overview/main.tf b/azure/compute_cloudservices/dashboards/overview/main.tf new file mode 100644 index 0000000..5911bdc --- /dev/null +++ b/azure/compute_cloudservices/dashboards/overview/main.tf @@ -0,0 +1,181 @@ +terraform { + required_providers { + lightstep = { + source = "lightstep/lightstep" + version = "~> 1.76.0" + } + } + required_version = ">= v1.0.11" +} + +variable "lightstep_project" { + description = "Cloud Observability Project Name" + type = string +} + +output "dashboard_url" { + value = "https://app.lightstep.com/${var.lightstep_project}/dashboard/${lightstep_dashboard.otel_collector_dashboard.id}" + description = "OpenTelemetry Collector Compute Cloud Services Dashboard URL" +} + +resource "lightstep_dashboard" "otel_collector_dashboard" { + project_name = var.lightstep_project + dashboard_name = "Compute Cloud Services Metrics" + dashboard_description = "[Beta] Monitor Compute Cloud Services with this metrics overview dashboard." + + chart { + name = "Percentage CPU" + rank = "0" + type = "timeseries" + + query { + query_name = "a" + display = "line" + hidden = false + query_string = <