AlertHistoryMessages [v1]

/v1/alerthistories/{name}/messages

getGet alert history messages

Retrieve a list of alert history messages based on specified filters.

Parameters

  • name(in path): stringrequired

    The name of the alert history

  • start(in query): integerrequired

    The start time for querying alert history (timestamp)

  • end(in query): integerrequired

    The end time for querying alert history (timestamp)

  • page(in query): integer

    The page number to retrieve

  • pageSize(in query): integer

    The number of items per page

  • orderBy(in query): string

    The field to order the results by

Response

  • 200object: Successful response with list of alert history messages.
    Properties:
    • next: string

      URL for the next page of results.

    • previous: string

      URL for the previous page of results.

    • page_size: integer

      Number of items per page.

    • num_pages: integer

      Total number of pages.

    • count: integer

      Total number of results.

    • results: []AlertHistoryMessage

AlertHistoryMessage

AlertHistoryMessageMetadata

  • creationTimestamp: string
  • name: string
  • namespace: string

AlertHistoryMessageSpec

AlertHistoryMessageSpecBody

AlertHistoryMessageSpecBodyAnnotations

  • alert_current_value: string
  • alert_notifications: string

AlertHistoryMessageSpecBodyLabels

  • alert_cluster: string
  • alert_for: string
  • alert_indicator: string
  • alert_indicator_aggregate_range: string
  • alert_indicator_comparison: string
  • alert_indicator_threshold: string
  • alert_involved_object_kind: string
  • alert_involved_object_name: string
  • alert_involved_object_namespace: string
  • alert_kind: string
  • alert_name: string
  • alert_namespace: string
  • alert_project: string
  • alert_resource: string
  • alert_source: string
  • alertgroup: string
  • alertname: string
  • severity: string

AlertHistoryMessageSpecNotification

  • name: string

AlertHistoryMessageStatus

AlertHistoryMessageStatusCondition

  • lastTransitionTime: string
  • message: string
  • reason: string
  • status: string
  • type: string