• Русский
  • Variables [monitoring.alauda.io/v1beta1]

    /platform/monitoring.alauda.io/v1beta1/clusters/{cluster}/variables

    get Get variable candidates for monitoring panels in a cluster

    Fetches the variable candidates for monitoring panels in the specified cluster. The API permissions are the same as for metrics.

    Parameters

    • cluster (in path): string required

      The name of the cluster.

    • expr (in query): string

      The query expression to fetch variable values.

    • regex (in query): string

      The regular expression to extract variable values.

    • start (in query): integer

      Start time as a 10-digit timestamp

    • end (in query): integer

      End time as a 10-digit timestamp

    Response

    • 200 Option: Successful response with variable candidates.
    • 400 Status: Invalid expr
    • 503 Status: Monitoring plugin unavailable

    Option

    • options: []string

    Status

    • kind: string
    • apiVersion: string
    • metadata: object
    • status: string
    • message: string
    • reason: string
    • code: integer

    /platform/monitoring.alauda.io/v1beta1/projects/{project}/variables

    get Get variable candidates for monitoring panels in a project

    Fetches the variable candidates for monitoring panels in the specified cluster. The API permissions are the same as for metrics.

    Parameters

    • project (in path): string required

      The name of the project.

    • expr (in query): string

      The query expression to fetch variable values.

    • regex (in query): string

      The regular expression to extract variable values.

    • start (in query): integer

      Start time as a 10-digit timestamp

    • end (in query): integer

      End time as a 10-digit timestamp

    Response

    • 200 Option: Successful response with variable candidates.
    • 400 Status: Invalid expr
    • 503 Status: Monitoring plugin unavailable

    Option

    • options: []string

    Status

    • kind: string
    • apiVersion: string
    • metadata: object
    • status: string
    • message: string
    • reason: string
    • code: integer

    /platform/monitoring.alauda.io/v1beta1/projects/{project}/clusters/{cluster}/namespaces/{namespace}/variables

    get Get variable candidates for monitoring panels in a namespace

    Fetches the variable candidates for monitoring panels in the specified cluster. The API permissions are the same as for metrics.

    Parameters

    • project (in path): string required

      The name of the project.

    • cluster (in path): string required

      The name of the cluster.

    • namespace (in path): string required

      The name of the namespace.

    • expr (in query): string

      The query expression to fetch variable values.

    • regex (in query): string

      The regular expression to extract variable values.

    • start (in query): integer

      Start time as a 10-digit timestamp

    • end (in query): integer

      End time as a 10-digit timestamp

    Response

    • 200 Option: Successful response with variable candidates.
    • 400 Status: Invalid expr
    • 503 Status: Monitoring plugin unavailable

    Option

    • options: []string

    Status

    • kind: string
    • apiVersion: string
    • metadata: object
    • status: string
    • message: string
    • reason: string
    • code: integer