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):stringrequiredThe name of the cluster.
expr(in query):stringThe query expression to fetch variable values.
regex(in query):stringThe regular expression to extract variable values.
start(in query):integerStart time as a 10-digit timestamp
end(in query):integerEnd time as a 10-digit timestamp
Response
200Option: Successful response with variable candidates.400Status: Invalid expr503Status: Monitoring plugin unavailable
Option
options:[]string
Status
kind:stringapiVersion:stringmetadata:objectstatus:stringmessage:stringreason:stringcode: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):stringrequiredThe name of the project.
expr(in query):stringThe query expression to fetch variable values.
regex(in query):stringThe regular expression to extract variable values.
start(in query):integerStart time as a 10-digit timestamp
end(in query):integerEnd time as a 10-digit timestamp
Response
200Option: Successful response with variable candidates.400Status: Invalid expr503Status: Monitoring plugin unavailable
Option
options:[]string
Status
kind:stringapiVersion:stringmetadata:objectstatus:stringmessage:stringreason:stringcode: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):stringrequiredThe name of the project.
cluster(in path):stringrequiredThe name of the cluster.
namespace(in path):stringrequiredThe name of the namespace.
expr(in query):stringThe query expression to fetch variable values.
regex(in query):stringThe regular expression to extract variable values.
start(in query):integerStart time as a 10-digit timestamp
end(in query):integerEnd time as a 10-digit timestamp
Response
200Option: Successful response with variable candidates.400Status: Invalid expr503Status: Monitoring plugin unavailable
Option
options:[]string
Status
kind:stringapiVersion:stringmetadata:objectstatus:stringmessage:stringreason:stringcode:integer