From cebb1a3dab8d76d9e1462b04d888c4c3b16ab71d Mon Sep 17 00:00:00 2001 From: Simon Kent Date: Thu, 20 Oct 2022 10:21:39 -0700 Subject: [PATCH] Fix typo in prober alerts. Signed-off-by: Simon Kent --- terraform/gcp/modules/monitoring/prober/variables.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/gcp/modules/monitoring/prober/variables.tf b/terraform/gcp/modules/monitoring/prober/variables.tf index aaab8bfa..1541c997 100644 --- a/terraform/gcp/modules/monitoring/prober/variables.tf +++ b/terraform/gcp/modules/monitoring/prober/variables.tf @@ -67,9 +67,9 @@ variable "fulcio_probed_endpoints" { locals { notification_channels = toset([for nc in var.notification_channel_ids : format("projects/%v/notificationChannels/%v", var.project_id, nc)]) - fulcio_endpoint_filter = format("method.labels.endpoint = oneof(\"%s\")", join("\", \"", var.fulcio_probed_endpoints)) - rekor_endpoint_filter = format("method.labels.endpoint = oneof(\"%s\")", join("\", \"", var.rekor_probed_endpoints)) - all_endpoints_filter = format("method.labels.endpoint = oneof(\"%s\")", join("\", \"", distinct(concat(var.rekor_probed_endpoints, var.fulcio_probed_endpoints)))) + fulcio_endpoint_filter = format("metric.labels.endpoint = oneof(\"%s\")", join("\", \"", var.fulcio_probed_endpoints)) + rekor_endpoint_filter = format("metric.labels.endpoint = oneof(\"%s\")", join("\", \"", var.rekor_probed_endpoints)) + all_endpoints_filter = format("metric.labels.endpoint = oneof(\"%s\")", join("\", \"", distinct(concat(var.rekor_probed_endpoints, var.fulcio_probed_endpoints)))) hosts = [{ host = var.fulcio_url endpoint_filter = local.fulcio_endpoint_filter