pub struct HotTablet {
pub end_key: Option<String>,
pub end_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub node_cpu_usage_percent: Option<f32>,
pub start_key: Option<String>,
pub start_time: Option<DateTime<Utc>>,
pub table_name: Option<String>,
}Expand description
A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_key: Option<String>Tablet End Key (inclusive).
end_time: Option<DateTime<Utc>>Output only. The end time of the hot tablet.
name: Option<String>The unique name of the hot tablet. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*.
node_cpu_usage_percent: Option<f32>Output only. The average CPU usage spent by a node on this tablet over the start_time to end_time time range. The percentage is the amount of CPU used by the node to serve the tablet, from 0% (tablet was not interacted with) to 100% (the node spent all cycles serving the hot tablet).
start_key: Option<String>Tablet Start Key (inclusive).
start_time: Option<DateTime<Utc>>Output only. The start time of the hot tablet.
table_name: Option<String>Name of the table that contains the tablet. Values are of the form projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HotTablet
impl<'de> Deserialize<'de> for HotTablet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for HotTablet
Auto Trait Implementations§
impl Freeze for HotTablet
impl RefUnwindSafe for HotTablet
impl Send for HotTablet
impl Sync for HotTablet
impl Unpin for HotTablet
impl UnwindSafe for HotTablet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more