Variables [monitoring.alauda.io/v1beta1]

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

getGet 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): stringrequired

    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

  • 200Option: Successful response with variable candidates.
  • 400Status: Invalid expr
  • 503Status: 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

getGet 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): stringrequired

    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

  • 200Option: Successful response with variable candidates.
  • 400Status: Invalid expr
  • 503Status: 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

getGet 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): stringrequired

    The name of the project.

  • cluster(in path): stringrequired

    The name of the cluster.

  • namespace(in path): stringrequired

    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

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

Option

  • options: []string

Status

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