groups:
- name: vpcendpoint.rules
  rules:
  - alert: CloudInfraO11yVpcEndpointCreatingTooLong
    annotations:
      message: "VpcEndpoint {{ $labels.name }} hang in creating state for more than 30 minutes."
    expr: |
      infra_exporter_vpcendpoint{status="Creating",vpcndpoint_type="Interface",name=~".*promethues.*"} ==1
    for: 30m
    labels:
      component: o11y
      oncall_team: o11y
      severity: critical
      response_class: page
