Skip to content

Commit

Permalink
Set prometheus scrape port for workers
Browse files Browse the repository at this point in the history
  • Loading branch information
RMcVelia committed Jul 10, 2024
1 parent d74e687 commit e5c12f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aks/application/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ locals {
prometheus_scrape_annotations = var.enable_prometheus_monitoring ? {
"prometheus.io/scrape" = "true"
"prometheus.io/path" = "/metrics"
"prometheus.io/port" = var.web_port
"prometheus.io/port" = var.is_web ? var.web_port : 9394
} : {}

logit_annotations = var.enable_logit ? {
Expand Down

0 comments on commit e5c12f2

Please sign in to comment.