Skip to content

Conversation

@jordanconway
Copy link
Contributor

@jordanconway jordanconway commented Aug 27, 2025

Use triple bracket escape to show the raw JSON in Slack Integration.

Signed-off-by: Jordan Conway <jconway@linuxfoundation.org>
@github-actions
Copy link

github-actions bot commented Aug 27, 2025

OpenTofu plan for prod

Plan: 0 to add, 7 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~  update in-place

OpenTofu will perform the following actions:

  # datadog_integration_aws_account.pytorch will be updated in-place
!~  resource "datadog_integration_aws_account" "pytorch" {
!~      account_tags   = [] -> (known after apply)
        id             = "642fb894-35d6-4b44-b644-e8759853b02d"
#        (2 unchanged attributes hidden)

!~      metrics_config {
!~          collect_cloudwatch_alarms = true -> false
!~          collect_custom_metrics    = true -> false
#            (2 unchanged attributes hidden)

!~          namespace_filters {
!~              exclude_only = [
+                   "AWS/SQS",
+                   "AWS/ElasticMapReduce",
                ]
            }
        }

!~      resources_config {
!~          cloud_security_posture_management_collection = true -> false
#            (1 unchanged attribute hidden)
        }

#        (4 unchanged blocks hidden)
    }

  # datadog_synthetics_test.pytorch-gha-runners-queue-check-amd will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-gha-runners-queue-check-amd" {
        id               = "yt8-7zy-xpj"
!~      message          = <<-EOT
            Detected GitHub Runner Queue - AMD Runners has jobs waiting
            unusually long for runners.
            
          - {{synthetics.attributes.result.failure.message}}
          + {{{synthetics.attributes.result.failure.message}}}
            
            Check https://hud.pytorch.org/metrics for more details.
            
            @slack-pytorch-infra-alerts
        EOT
        name             = "GHA Runner Queue Check - AMD Runners"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:gha-runners",
        ]
#        (9 unchanged attributes hidden)

#        (3 unchanged blocks hidden)
    }

  # datadog_synthetics_test.pytorch-gha-runners-queue-check-ibm will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-gha-runners-queue-check-ibm" {
        id               = "sc6-zip-2n9"
!~      message          = <<-EOT
            Detected GitHub Runner Queue - IBM Runners has jobs waiting
            unusually long for runners.
            
          - {{synthetics.attributes.result.failure.message}}
          + {{{synthetics.attributes.result.failure.message}}}
            
            Check https://hud.pytorch.org/metrics for more details.
            
            @slack-pytorch-infra-alerts
        EOT
        name             = "GHA Runner Queue Check - IBM Runners"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:gha-runners",
        ]
#        (9 unchanged attributes hidden)

#        (3 unchanged blocks hidden)
    }

  # datadog_synthetics_test.pytorch-gha-runners-queue-check-lf will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-gha-runners-queue-check-lf" {
        id               = "p69-6vj-54b"
!~      message          = <<-EOT
            Detected GitHub Runner Queue - Linux Foundation Runners has jobs waiting
            unusually long for runners.
            
          - {{synthetics.attributes.result.failure.message}}
          + {{{synthetics.attributes.result.failure.message}}}
            
            Check https://hud.pytorch.org/metrics for more details.
            
            @slack-pytorch-infra-alerts
        EOT
        name             = "GHA Runner Queue Check - Linux Foundation Runners"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:gha-runners",
        ]
#        (9 unchanged attributes hidden)

#        (3 unchanged blocks hidden)
    }

  # datadog_synthetics_test.pytorch-gha-runners-queue-check-meta will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-gha-runners-queue-check-meta" {
        id               = "nnz-icu-8qk"
!~      message          = <<-EOT
            Detected GitHub Runner Queue - Meta Runners has jobs waiting
            unusually long for runners.
            
          - {{synthetics.attributes.result.failure.message}}
          + {{{synthetics.attributes.result.failure.message}}}
            
            Check https://hud.pytorch.org/metrics for more details.
            
            @slack-pytorch-infra-alerts
        EOT
        name             = "GHA Runner Queue Check - Meta Runners"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:gha-runners",
        ]
#        (9 unchanged attributes hidden)

#        (3 unchanged blocks hidden)
    }

  # datadog_synthetics_test.pytorch-gha-runners-queue-check-meta-h100 will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-gha-runners-queue-check-meta-h100" {
        id               = "hpi-psi-z8i"
!~      message          = <<-EOT
            Detected GitHub Runner Queue - Meta Runners - AWS H100 has jobs waiting
            unusually long for runners.
            
          - {{synthetics.attributes.result.failure.message}}
          + {{{synthetics.attributes.result.failure.message}}}
            
            Check https://hud.pytorch.org/metrics for more details.
            
            @slack-pytorch-infra-alerts
        EOT
        name             = "GHA Runner Queue Check - Meta Runners - AWS H100"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:gha-runners",
        ]
#        (9 unchanged attributes hidden)

#        (3 unchanged blocks hidden)
    }

  # datadog_synthetics_test.pytorch-gha-runners-queue-check-nvidia will be updated in-place
!~  resource "datadog_synthetics_test" "pytorch-gha-runners-queue-check-nvidia" {
        id               = "sxd-d72-36u"
!~      message          = <<-EOT
            Detected GitHub Runner Queue - Nvidia Runners has jobs waiting
            unusually long for runners.
            
          - {{synthetics.attributes.result.failure.message}}
          + {{{synthetics.attributes.result.failure.message}}}
            
            Check https://hud.pytorch.org/metrics for more details.
            
            @slack-pytorch-infra-alerts
        EOT
        name             = "GHA Runner Queue Check - Nvidia Runners"
        tags             = [
            "env:project",
            "project:pytorch",
            "service:gha-runners",
        ]
#        (9 unchanged attributes hidden)

#        (3 unchanged blocks hidden)
    }

Plan: 0 to add, 7 to change, 0 to destroy.

✅ Plan applied in Tofu Apply #30

@zxiiro zxiiro changed the title Tripple bracket message to show raw json in slack integration Triple bracket message to show raw json in slack integration Aug 27, 2025
@zxiiro zxiiro changed the title Triple bracket message to show raw json in slack integration Show raw json in slack integration Aug 27, 2025
@zxiiro zxiiro merged commit 895976a into main Aug 27, 2025
2 checks passed
@zxiiro zxiiro deleted the fix_quote branch August 27, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants