Struct rusoto_pi::DimensionGroup
source · [−]pub struct DimensionGroup {
pub dimensions: Option<Vec<String>>,
pub group: String,
pub limit: Option<i64>,
}
Expand description
A logical grouping of Performance Insights metrics for a related subject area. For example, the db.sql
dimension group consists of the following dimensions: db.sql.id
, db.sql.dbid
, db.sql.statement
, and db.sql.tokenizedid
.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
Fields
dimensions: Option<Vec<String>>
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested, or are present in the response.
Valid values for elements in the Dimensions
array are:
-
db.application.name
- The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL) -
db.host.id
- The host ID of the connected client (all engines) -
db.host.name
- The host name of the connected client (all engines) -
db.name
- The name of the database to which the client is connected (only Aurora PostgreSQL, RDS PostgreSQL, Aurora MySQL, RDS MySQL, and MariaDB) -
db.sessiontype.name
- The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL) -
db.sql.id
- The SQL ID generated by Performance Insights (all engines) -
db.sql.dbid
- The SQL ID generated by the database (all engines) -
db.sql.statement
- The SQL text that is being executed (all engines) -
db.sql.tokenizedid
-
db.sqltokenized.id
- The SQL digest ID generated by Performance Insights (all engines) -
db.sqltokenized.dbid
- SQL digest ID generated by the database (all engines) -
db.sqltokenized.statement
- The SQL digest text (all engines) -
db.user.id
- The ID of the user logged in to the database (all engines) -
db.user.name
- The name of the user logged in to the database (all engines) -
db.waitevent.name
- The event for which the backend is waiting (all engines) -
db.waitevent.type
- The type of event for which the backend is waiting (all engines) -
db.waitevent_type.name
- The name of the event type for which the backend is waiting (all engines)
group: String
The name of the dimension group. Valid values are:
-
db
- The name of the database to which the client is connected (only Aurora PostgreSQL, RDS PostgreSQL, Aurora MySQL, RDS MySQL, and MariaDB) -
db.application
- The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL) -
db.host
- The host name of the connected client (all engines) -
db.sessiontype
- The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL) -
db.sql
- The SQL that is currently executing (all engines) -
db.sqltokenized
- The SQL digest (all engines) -
db.waitevent
- The event for which the database backend is waiting (all engines) -
db.waitevent_type
- The type of event for which the database backend is waiting (all engines) -
db.user
- The user logged in to the database (all engines)
limit: Option<i64>
The maximum number of items to fetch for this dimension group.
Trait Implementations
sourceimpl Clone for DimensionGroup
impl Clone for DimensionGroup
sourcefn clone(&self) -> DimensionGroup
fn clone(&self) -> DimensionGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DimensionGroup
impl Debug for DimensionGroup
sourceimpl Default for DimensionGroup
impl Default for DimensionGroup
sourcefn default() -> DimensionGroup
fn default() -> DimensionGroup
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DimensionGroup> for DimensionGroup
impl PartialEq<DimensionGroup> for DimensionGroup
sourcefn eq(&self, other: &DimensionGroup) -> bool
fn eq(&self, other: &DimensionGroup) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DimensionGroup) -> bool
fn ne(&self, other: &DimensionGroup) -> bool
This method tests for !=
.
sourceimpl Serialize for DimensionGroup
impl Serialize for DimensionGroup
impl StructuralPartialEq for DimensionGroup
Auto Trait Implementations
impl RefUnwindSafe for DimensionGroup
impl Send for DimensionGroup
impl Sync for DimensionGroup
impl Unpin for DimensionGroup
impl UnwindSafe for DimensionGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more