pub struct GetPlatformMetricsServiceHistoricalParams {
pub service_id: String,
pub granularity: String,
pub from: Option<String>,
pub to: Option<String>,
pub metric: Option<String>,
pub metric_set: Option<String>,
pub group_by: Option<String>,
pub region: Option<String>,
pub datacenter: Option<String>,
pub cursor: Option<String>,
pub limit: Option<String>,
}Expand description
struct for passing parameters to the method get_platform_metrics_service_historical
Fields§
§service_id: StringAlphanumeric string identifying the service.
granularity: StringDuration of sample windows.
from: Option<String>A valid RFC-8339-formatted date and time indicating the inclusive start of the query time range. If not provided, a default is chosen based on the provided granularity value.
to: Option<String>A valid RFC-8339-formatted date and time indicating the exclusive end of the query time range. If not provided, a default is chosen based on the provided granularity value.
metric: Option<String>The metric(s) to retrieve. Multiple values should be comma-separated.
metric_set: Option<String>The metric set(s) to retrieve. Multiple values should be comma-separated.
group_by: Option<String>Field to group_by in the query. For example, group_by=region will return entries for grouped by timestamp and region.
region: Option<String>Limit query to one or more specific geographic regions. Values should be comma-separated.
datacenter: Option<String>Limit query to one or more specific POPs. Values should be comma-separated.
cursor: Option<String>Cursor value from the next_cursor field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
limit: Option<String>Number of results per page. The maximum is 10000.
Trait Implementations§
Source§impl Clone for GetPlatformMetricsServiceHistoricalParams
impl Clone for GetPlatformMetricsServiceHistoricalParams
Source§fn clone(&self) -> GetPlatformMetricsServiceHistoricalParams
fn clone(&self) -> GetPlatformMetricsServiceHistoricalParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more