PrometheusUpstream
(interface)LabelValuesRequest
(message)ListMetricMetadataRequest
(message)QueryExemplarsRequest
(message)QueryInstantRequest
(message)QueryLabelsRequest
(message)QueryRangeRequest
(message)QuerySeriesRequest
(message)A service that exposes selected endpoints of the HTTP v1 API of the open source Prometheus monitoring system (https://prometheus.io).
The service and its associated types are suffixed with Upstream to later allow for a native protobuf API under the name Prometheus. Since this API only makes sense to expose over JSON over HTTP, end users are never exposed to the service name.
LabelValues rpc LabelValues(
LabelValuesRequest
) returns (HttpBody
)
Lists possible values for a given label name.
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.
rpc QueryExemplars(
QueryExemplarsRequest
) returns (HttpBody
)
Lists exemplars relevant to a given PromQL query,
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.
rpc QueryInstant(
QueryInstantRequest
) returns (HttpBody
)
Evaluate a PromQL query at a single point in time.
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.
rpc QueryLabels(
QueryLabelsRequest
) returns (HttpBody
)
Lists labels for metrics.
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.
rpc QueryRange(
QueryRangeRequest
) returns (HttpBody
)
Evaluate a PromQL query with [start, end] time range.
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.
rpc QuerySeries(
QuerySeriesRequest
) returns (HttpBody
)
Lists metadata for metrics.
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.
LabelValuesRequests holds all parameters of the Prometheus upstream API for querying label values plus GCM-specific parameters.
Fieldsname
string
Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/[PROJECT_ID_OR_NUMBER].
location
string
Location of the resource information. Has to be "global" now.
label
string
The label name for which values are queried.
start
string
The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
end
string
The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
match
string
A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.
ListMetadataRequest holds all parameters of the Prometheus upstream API for querying metric metadata plus GCM-specific parameters.
QueryExemplarsRequestQueryExemplarsRequest holds all parameters of the Prometheus upstream API for querying exemplars.
Fieldsname
string
Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/[PROJECT_ID_OR_NUMBER]. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
query
string
A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.
start
string
The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
end
string
The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
location
string
Location of the resource information. Has to be "global" now.
QueryInstantRequestQueryInstantRequest holds all parameters of the Prometheus upstream instant query API plus GCM specific parameters.
Fieldsname
string
Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/[PROJECT_ID_OR_NUMBER]. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
query
string
A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.
time
string
The single point in time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
timeout
string
An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.
location
string
Location of the resource information. Has to be "global" now.
QueryLabelsRequestQueryLabelsRequest holds all parameters of the Prometheus upstream API for returning a list of label names.
Fieldsname
string
Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/[PROJECT_ID_OR_NUMBER].
location
string
Location of the resource information. Has to be "global" now.
start
string
The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
end
string
The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
match
string
A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.
QueryRangeRequestQueryRangeRequest holds all parameters of the Prometheus upstream range query API plus GCM specific parameters.
Fieldsname
string
Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/[PROJECT_ID_OR_NUMBER]. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
query
string
A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.
start
string
The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
end
string
The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
step
string
The resolution of query result. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.
timeout
string
An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.
location
string
Location of the resource information. Has to be "global" now.
QuerySeriesRequestQuerySeries holds all parameters of the Prometheus upstream API for querying series.
Fieldsname
string
Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/[PROJECT_ID_OR_NUMBER].
location
string
Location of the resource information. Has to be "global" for now.
start
string
The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
end
string
The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4