public static interface TopologyMaster.MetricRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentName()
required string component_name = 1; |
com.google.protobuf.ByteString |
getComponentNameBytes()
required string component_name = 1; |
TopologyMaster.MetricInterval |
getExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
TopologyMaster.MetricIntervalOrBuilder |
getExplicitIntervalOrBuilder()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
java.lang.String |
getInstanceId(int index)
repeated string instance_id = 2; |
com.google.protobuf.ByteString |
getInstanceIdBytes(int index)
repeated string instance_id = 2; |
int |
getInstanceIdCount()
repeated string instance_id = 2; |
java.util.List<java.lang.String> |
getInstanceIdList()
repeated string instance_id = 2; |
long |
getInterval()
optional int64 interval = 4; |
java.lang.String |
getMetric(int index)
repeated string metric = 3; |
com.google.protobuf.ByteString |
getMetricBytes(int index)
repeated string metric = 3; |
int |
getMetricCount()
repeated string metric = 3; |
java.util.List<java.lang.String> |
getMetricList()
repeated string metric = 3; |
boolean |
getMinutely()
optional bool minutely = 6 [default = false]; |
boolean |
hasComponentName()
required string component_name = 1; |
boolean |
hasExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
boolean |
hasInterval()
optional int64 interval = 4; |
boolean |
hasMinutely()
optional bool minutely = 6 [default = false]; |
boolean hasComponentName()
required string component_name = 1;
java.lang.String getComponentName()
required string component_name = 1;
com.google.protobuf.ByteString getComponentNameBytes()
required string component_name = 1;
java.util.List<java.lang.String> getInstanceIdList()
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
int getInstanceIdCount()
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
java.lang.String getInstanceId(int index)
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
com.google.protobuf.ByteString getInstanceIdBytes(int index)
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
java.util.List<java.lang.String> getMetricList()
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
int getMetricCount()
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
java.lang.String getMetric(int index)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
com.google.protobuf.ByteString getMetricBytes(int index)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
boolean hasInterval()
optional int64 interval = 4;
what timeframe data in seconds -1/0 means everything What is the time interval that you want the metrics for Clients can specify one in many ways. 1. interval. Essentially seconds worth of metrics before the current time 2. explicit_interval. An explicit interval
long getInterval()
optional int64 interval = 4;
what timeframe data in seconds -1/0 means everything What is the time interval that you want the metrics for Clients can specify one in many ways. 1. interval. Essentially seconds worth of metrics before the current time 2. explicit_interval. An explicit interval
boolean hasExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
TopologyMaster.MetricInterval getExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
TopologyMaster.MetricIntervalOrBuilder getExplicitIntervalOrBuilder()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
boolean hasMinutely()
optional bool minutely = 6 [default = false];
Do you want metrics broken down on a per minute basis?
boolean getMinutely()
optional bool minutely = 6 [default = false];
Do you want metrics broken down on a per minute basis?