Package tensorflow.serving
Interface MonitoringConfigOuterClass.PrometheusConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MonitoringConfigOuterClass.PrometheusConfig,MonitoringConfigOuterClass.PrometheusConfig.Builder
- Enclosing class:
MonitoringConfigOuterClass
public static interface MonitoringConfigOuterClass.PrometheusConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to expose Prometheus metrics.getPath()The endpoint to expose Prometheus metrics.com.google.protobuf.ByteStringThe endpoint to expose Prometheus metrics.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnable
boolean getEnable()Whether to expose Prometheus metrics.
bool enable = 1;- Returns:
- The enable.
-
getPath
String getPath()The endpoint to expose Prometheus metrics. If not specified, PrometheusExporter::kPrometheusPath value is used.
string path = 2;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()The endpoint to expose Prometheus metrics. If not specified, PrometheusExporter::kPrometheusPath value is used.
string path = 2;- Returns:
- The bytes for path.
-