Skip to content

Commit

Permalink
cleanup: remove monitors referencing removed clusters cik8s, eks-publ…
Browse files Browse the repository at this point in the history
…ic, doks and doks-public and their hosted services as per https://github.com/jenkins-infra/helpdesk/issues/3954\#issuecomment-2119858778

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
  • Loading branch information
dduportal committed May 21, 2024
1 parent 90b44b4 commit 045287b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion datadog-monitors.tf
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ resource "datadog_monitor" "weird_response_time" {
{{^is_warning}}@pagerduty{{/is_warning}}
EOT

query = "avg(last_5m):exclude_null(max:network.http.response_time{!cluster_name:prodpublick8s,!url:https://rating.jenkins.io,production} by {url,cluster_name}) > 5"
query = "avg(last_5m):exclude_null(max:network.http.response_time{cluster_name:publick8s,!url:https://rating.jenkins.io,production} by {url,cluster_name}) > 5"

notify_audit = false
timeout_h = 0
Expand Down
2 changes: 1 addition & 1 deletion synthetics_incrementals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "datadog_synthetics_test" "incrementalsjenkinsio" {
request_definition {
method = "GET"
# https://github.com/jenkins-infra/incrementals-publisher/blob/a754f43d44be5f6b09e2ac3f9e5600e04175936b/index.js#L62
url = "https://incrementals.jenkins.io/readiness"
url = "https://incrementals.jenkins.io/readiness"
}
assertion {
type = "statusCode"
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ variable "datadog_jenkinsuser_password" {}
variable "artifact_caching_proxy_providers" {
description = "Available artifact-caching-proxy providers"
type = list(string)
default = ["aws", "azure", "do"]
default = ["azure"]
}

0 comments on commit 045287b

Please sign in to comment.