[−][src]Struct rusoto_pi::MetricQuery
A single query to be processed. You must provide the metric to query. If no other parameters are specified, Performance Insights returns all of the data points for that metric. You can optionally request that the data points be aggregated by dimension group ( GroupBy
), and return only those data points that match your criteria (Filter
).
Fields
filter: Option<HashMap<String, String>>
One or more filters to apply in the request. Restrictions:
-
Any number of filters by the same dimension, as specified in the
GroupBy
parameter. -
A single filter for any other dimension in this dimension group.
group_by: Option<DimensionGroup>
A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights will return all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.
metric: String
The name of a Performance Insights metric to be measured.
Valid values for Metric
are:
-
db.load.avg
- a scaled representation of the number of active sessions for the database engine. -
db.sampledload.avg
- the raw number of active sessions for the database engine.
Trait Implementations
impl Clone for MetricQuery
[src]
fn clone(&self) -> MetricQuery
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for MetricQuery
[src]
fn default() -> MetricQuery
[src]
impl PartialEq<MetricQuery> for MetricQuery
[src]
fn eq(&self, other: &MetricQuery) -> bool
[src]
fn ne(&self, other: &MetricQuery) -> bool
[src]
impl Debug for MetricQuery
[src]
impl Serialize for MetricQuery
[src]
Auto Trait Implementations
impl Send for MetricQuery
impl Sync for MetricQuery
impl Unpin for MetricQuery
impl UnwindSafe for MetricQuery
impl RefUnwindSafe for MetricQuery
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self