Skip to content

Commit

Permalink
Fix typo in prober alerts. (#432)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Kent <simek@google.com>

Signed-off-by: Simon Kent <simek@google.com>
  • Loading branch information
Simon Kent authored Oct 20, 2022
1 parent 846b655 commit 3099716
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/gcp/modules/monitoring/prober/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3099716

Please sign in to comment.