|
|
|
@ -107,6 +107,8 @@ service MetricService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Creates a new metric descriptor. |
|
|
|
|
// The creation is executed asynchronously and callers may check the returned |
|
|
|
|
// operation to track its progress. |
|
|
|
|
// User-created metric descriptors define |
|
|
|
|
// [custom metrics](https://cloud.google.com/monitoring/custom-metrics). |
|
|
|
|
rpc CreateMetricDescriptor(CreateMetricDescriptorRequest) returns (google.api.MetricDescriptor) { |
|
|
|
@ -152,6 +154,23 @@ service MetricService { |
|
|
|
|
}; |
|
|
|
|
option (google.api.method_signature) = "name,time_series"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Creates or adds data to one or more service time series. A service time |
|
|
|
|
// series is a time series for a metric from a Google Cloud service. The |
|
|
|
|
// response is empty if all time series in the request were written. If any |
|
|
|
|
// time series could not be written, a corresponding failure message is |
|
|
|
|
// included in the error response. This endpoint rejects writes to |
|
|
|
|
// user-defined metrics. |
|
|
|
|
// This method is only for use by Google Cloud services. Use |
|
|
|
|
// [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries] |
|
|
|
|
// instead. |
|
|
|
|
rpc CreateServiceTimeSeries(CreateTimeSeriesRequest) returns (google.protobuf.Empty) { |
|
|
|
|
option (google.api.http) = { |
|
|
|
|
post: "/v3/{name=projects/*}/timeSeries:createService" |
|
|
|
|
body: "*" |
|
|
|
|
}; |
|
|
|
|
option (google.api.method_signature) = "name,time_series"; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// The `ListMonitoredResourceDescriptors` request. |
|
|
|
|