diff --git a/collector-dashboards/otel-collector-squid-dashboard/main.tf b/collector-dashboards/otel-collector-squid-dashboard/main.tf new file mode 100644 index 0000000..462967d --- /dev/null +++ b/collector-dashboards/otel-collector-squid-dashboard/main.tf @@ -0,0 +1,129 @@ +terraform { + required_providers { + lightstep = { + source = "lightstep/lightstep" + version = "~> 1.70.10" + } + } + required_version = ">= v1.0.11" +} + +resource "lightstep_dashboard" "otel_collector_squid_dashboard" { + project_name = var.lightstep_project + dashboard_name = "Squid - Overview" + dashboard_description = "A squid overview dashboard displays real-time metrics including bytes hit rate, cache hit rate, error rate, client requests, and client traffic, providing insights into the performance and usage of the proxy server." + + chart { + name = "Bytes Hit Rate" + rank = "0" + type = "timeseries" + + query { + query_name = "(a/b)" + display = "big_number" + hidden = false + query_string = <