Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions collector/httpcheck/dashboards/overview/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
terraform {
required_providers {
lightstep = {
source = "lightstep/lightstep"
version = "~> 1.70.10"
}
}
required_version = ">= v1.0.11"
}


resource "lightstep_dashboard" "collector_httpcheck_overview" {
project_name = var.lightstep_project
dashboard_name = "OpenTelemetry HTTPCheck Dashboard"
dashboard_description = "Monitor the HTTPCheck of your OpenTelemetry Collector instances"

chart {
name = "HTTPCheck Duration"
rank = "0"
type = "timeseries"

query {
query_name = "a"
display = "line"
hidden = false
query_string = "metric httpcheck.duration | rate | group_by [], sum"
}

}

chart {
name = "HTTPCheck Status Code"
rank = "1"
type = "timeseries"

query {
query_name = "a"
display = "line"
hidden = false
query_string = "metric httpcheck.status | rate | group_by [], sum"
}

}

}