{
  "display_name": "Uptime check on flowmanager.${domain_name} is green",
  "combiner": "OR",
  "conditions": [
    {
      "condition_threshold": {
        "filter": "metric.type=\"monitoring.googleapis.com/uptime_check/check_passed\" AND resource.label.host=\"flowmanager.${domain_name}\" AND resource.type=\"uptime_url\"",
        "comparison": "COMPARISON_GT",
        "threshold_value": 1.0,
        "duration": {
          "seconds": 300,
          "nanos": 0
        },
        "trigger": {
          "count": 0,
          "percent": 0.0
        },
        "aggregations": [
          {
            "alignment_period": {
              "seconds": 1200,
              "nanos": 0
            },
            "per_series_aligner": "ALIGN_NEXT_OLDER",
            "cross_series_reducer": "REDUCE_COUNT_FALSE",
            "group_by_fields": [
              "resource.label.*"
            ]
          }
        ],
        "denominator_filter": "",
        "denominator_aggregations": []
      },
      "display_name": "Uptime Check on flowmanager.${domain_name} is failing"
    }
  ],
  "notification_channels": [],
  "user_labels": {},
  "enabled": {
    "value": true
  }
}

{
  "display_name": "Uptime check on `flowmanager.${domain_name}` is green",
  "combiner": "OR",
  "conditions": [
    {
      "condition_threshold": {
        "filter": "metric.type=\"monitoring.googleapis.com/uptime_check/check_passed\" AND resource.label.host=\"flowmanager.${domain_name}\" AND resource.type=\"uptime_url\"",
        "comparison": "COMPARISON_GT",
        "threshold_value": 1.0,
        "duration": {
          "seconds": 300,
          "nanos": 0
        },
        "trigger": {
          "count": 0,
          "percent": 0.0
        },
        "aggregations": [
          {
            "alignment_period": {
              "seconds": 1200,
              "nanos": 0
            },
            "per_series_aligner": "ALIGN_NEXT_OLDER",
            "cross_series_reducer": "REDUCE_COUNT_FALSE",
            "group_by_fields": [
              "resource.label.*"
            ]
          }
        ],
        "denominator_filter": "",
        "denominator_aggregations": []
      },
      "display_name": "Uptime Check on flowmanager.${domain_name} is failing"
    }
  ],
  "notification_channels": [],
  "user_labels": {},
  "enabled": {
    "value": true
  }
}

Add quotes around domain name
Add quotes around domain name
