public class SbcResourceMetrics extends ReadOnlyMessage
message ResourceMetrics { opentelemetry.proto.resource.v1.sbc.Resource resource = 1; repeated ScopeMetrics scope_metrics = 2; string schema_url = 3; } message Resource { repeated opentelemetry.proto.common.v1.sbc.KeyValue attributes = 1; uint32 dropped_attributes_count = 2; } message KeyValue { string key = 1; AnyValue value = 2; } message AnyValue { oneof value { string string_value = 1; bool bool_value = 2; int64 int_value = 3; double double_value = 4; ArrayValue array_value = 5; KeyValueList kvlist_value = 6; bytes bytes_value = 7; } }
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_BROKER_ID |
static io.confluent.cruisecontrol.metricsreporter.opentelemetry.ProtoResourceMetricsParser |
PARSER |
Constructor and Description |
---|
SbcResourceMetrics(List<io.opentelemetry.proto.metrics.v1.ScopeMetrics> scopeMetrics,
String brokerId) |
Modifier and Type | Method and Description |
---|---|
String |
brokerId()
The broker id for which the scope metrics are associated to.
|
com.google.protobuf.MessageLite |
getDefaultInstanceForType()
This method provides the default instance for the object.
|
com.google.protobuf.Parser<? extends com.google.protobuf.MessageLite> |
getParserForType()
This is coming from protobuf's message life format.
|
boolean |
isInitialized()
As the name of the method suggests, it says if the object is fully initialised.
|
com.google.protobuf.MessageLite.Builder |
newBuilderForType()
This is coming from protobuf's message life format.
|
List<io.opentelemetry.proto.metrics.v1.ScopeMetrics> |
scopeMetrics()
The scope metrics.
|
getSerializedSize, toBuilder, toByteArray, toByteString, writeDelimitedTo, writeTo, writeTo
public static final String DEFAULT_BROKER_ID
public static final io.confluent.cruisecontrol.metricsreporter.opentelemetry.ProtoResourceMetricsParser PARSER
public String brokerId()
public List<io.opentelemetry.proto.metrics.v1.ScopeMetrics> scopeMetrics()
public com.google.protobuf.Parser<? extends com.google.protobuf.MessageLite> getParserForType()
public com.google.protobuf.MessageLite.Builder newBuilderForType()
public com.google.protobuf.MessageLite getDefaultInstanceForType()
public boolean isInitialized()