Add auth exporter module: implement Prometheus scrape configuration, exporter logic, and Grafana dashboard
This commit is contained in:
@@ -143,3 +143,8 @@ module "fail2ban_exporter" {
|
||||
module "node_exporter" {
|
||||
source = "../../modules/utils/node-exporter"
|
||||
}
|
||||
|
||||
module "auth_exporter" {
|
||||
source = "../../modules/utils/auth-exporter"
|
||||
persistent_folder = "${local.persistent_folder}/monitoring"
|
||||
}
|
||||
|
||||
@@ -44,3 +44,8 @@ scrape_configs:
|
||||
scrape_interval: 60s
|
||||
static_configs:
|
||||
- targets: ["fail2ban-exporter.kube-system.svc.cluster.local:9100"]
|
||||
- job_name: auth-exporter
|
||||
scrape_interval: 10s
|
||||
static_configs:
|
||||
- targets:
|
||||
- "auth-exporter.kube-system.svc.cluster.local:9100"
|
||||
|
||||
Reference in New Issue
Block a user