INTERFACE

ObservabilityAlert

Observability Alert to trigger Alerts on metrics/logs

link GraphQL Schema definition

  • interface ObservabilityAlert {
  • # unique policy identifier
  • policyId: String!
  • # Type of the Observability Alert
  • alertType: ObservabilityAlertType!
  • # CSP user who created hub policy
  • createdBy: User!
  • # Timestamp at which hub policy is created. Expressed in UTC ISO-8601 format
  • creationTime: DateTime!
  • # CSP project id associated with policy
  • cspProjects: [Entity!]
  • # Policy description
  • description: LocalizedString
  • # schedule is enabled for this policy
  • enabled: Boolean!
  • # ID of entity on which observability alert is triggered
  • entityId: String @deprecated( reason: "Use `entityInfo` instead" )
  • # Entity from which the observation alert is triggered
  • entityInfo: Entity!
  • # Type of entity on which observability alert is triggered
  • entityType: String! @deprecated( reason: "Use `entityInfo` instead" )
  • # Opaque identifier for a policy, to be used to identify a policy uniquely in hub
  • # graph
  • id: ID!
  • # Timestamp at which hub policy is updated. Expressed in UTC ISO-8601 format
  • lastUpdateTime: DateTime
  • # Opaque version string for this graph node instance
  • nodeVersion: ID!
  • # Notification Rule
  • notificationRule: ObservabilityAlertNotificationRule
  • # Policy name
  • policyName: LocalizedString!
  • # provider name for this policy
  • policyProvider: String!
  • # Template ID of the observability alert runbook
  • runbookTemplateId: String
  • # Source for alerts
  • source: String!
  • # CSP user who updated hub policy
  • updatedBy: User
  • }