Adot health monitoring (#212)

* Added adot health metric collection

* corrected alignment related error in Opentelemetry config

* reverted the links

* pre-commit

* Update dashboards.tf

split adothealth dashboard

* split dashboards

* changed dashboard link

* corrected flux_kustomization_path

* Pre-commit
This commit is contained in:
Reshma Mathews
2023-08-17 15:50:34 +01:00
committed by GitHub
parent 36751a42f4
commit 6ca939d923
7 changed files with 94 additions and 0 deletions
+24
View File
@@ -507,3 +507,27 @@ variable "target_secret_namespace" {
type = string
default = "grafana-operator"
}
variable "enable_adotcollector_metrics" {
description = "Enables collection of ADOT collector metrics"
type = bool
default = true
}
variable "adothealth_monitoring_config" {
description = "Config object for API server monitoring"
type = object({
flux_gitrepository_name = string
flux_gitrepository_url = string
flux_gitrepository_branch = string
flux_kustomization_name = string
flux_kustomization_path = string
dashboards = object({
grafana_adothealth_dashboard_url = string
})
})
# defaults are pre-computed in locals.tf, provide a full definition to override
default = null
}