Cloud Bigtable Admin V2 API - Class Google::Cloud::Bigtable::Admin::V2::HotTablet (v0.27.0)

Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::HotTablet.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#end_key

def end_key() -> ::String
Returns
  • (::String) — Tablet End Key (inclusive).

#end_key=

def end_key=(value) -> ::String
Parameter
  • value (::String) — Tablet End Key (inclusive).
Returns
  • (::String) — Tablet End Key (inclusive).

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#name

def name() -> ::String
Returns
  • (::String) — The unique name of the hot tablet. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The unique name of the hot tablet. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*.
Returns
  • (::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

def node_cpu_usage_percent() -> ::Float
Returns
  • (::Float) — 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

def start_key() -> ::String
Returns
  • (::String) — Tablet Start Key (inclusive).

#start_key=

def start_key=(value) -> ::String
Parameter
  • value (::String) — Tablet Start Key (inclusive).
Returns
  • (::String) — Tablet Start Key (inclusive).

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#table_name

def table_name() -> ::String
Returns
  • (::String) — Name of the table that contains the tablet. Values are of the form projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*.

#table_name=

def table_name=(value) -> ::String
Parameter
  • value (::String) — Name of the table that contains the tablet. Values are of the form projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*.
Returns
  • (::String) — Name of the table that contains the tablet. Values are of the form projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*.