Class PrometheusTracingConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.PrometheusTracingConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PrometheusTracingConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrometheusTracingConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<PrometheusTracingConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrometheusTracingConfig()No args constructor for use in serializationPrometheusTracingConfig(String clientType, String compression, String endpoint, Map<String,String> headers, Boolean insecure, io.fabric8.kubernetes.api.model.Quantity samplingFraction, String timeout, TLSConfig tlsConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusTracingConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClientType()Client used to export the traces.StringgetCompression()Compression key for supported compression types.StringgetEndpoint()Endpoint to send the traces to.Map<String,String>getHeaders()Key-value pairs to be used as headers associated with gRPC or HTTP requests.BooleangetInsecure()If disabled, the client will use a secure connection.io.fabric8.kubernetes.api.model.QuantitygetSamplingFraction()StringgetTimeout()Maximum time the exporter will wait for each batch export.TLSConfiggetTlsConfig()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClientType(String clientType)Client used to export the traces.voidsetCompression(String compression)Compression key for supported compression types.voidsetEndpoint(String endpoint)Endpoint to send the traces to.voidsetHeaders(Map<String,String> headers)Key-value pairs to be used as headers associated with gRPC or HTTP requests.voidsetInsecure(Boolean insecure)If disabled, the client will use a secure connection.voidsetSamplingFraction(io.fabric8.kubernetes.api.model.Quantity samplingFraction)voidsetTimeout(String timeout)Maximum time the exporter will wait for each batch export.voidsetTlsConfig(TLSConfig tlsConfig)PrometheusTracingConfigBuildertoBuilder()
-
-
-
Method Detail
-
getClientType
public String getClientType()
Client used to export the traces. Supported values are `http` or `grpc`.
-
setClientType
public void setClientType(String clientType)
Client used to export the traces. Supported values are `http` or `grpc`.
-
getCompression
public String getCompression()
Compression key for supported compression types. The only supported value is `gzip`.
-
setCompression
public void setCompression(String compression)
Compression key for supported compression types. The only supported value is `gzip`.
-
getEndpoint
public String getEndpoint()
Endpoint to send the traces to. Should be provided in format <host>:<port>.
-
setEndpoint
public void setEndpoint(String endpoint)
Endpoint to send the traces to. Should be provided in format <host>:<port>.
-
getHeaders
public Map<String,String> getHeaders()
Key-value pairs to be used as headers associated with gRPC or HTTP requests.
-
setHeaders
public void setHeaders(Map<String,String> headers)
Key-value pairs to be used as headers associated with gRPC or HTTP requests.
-
getInsecure
public Boolean getInsecure()
If disabled, the client will use a secure connection.
-
setInsecure
public void setInsecure(Boolean insecure)
If disabled, the client will use a secure connection.
-
getSamplingFraction
public io.fabric8.kubernetes.api.model.Quantity getSamplingFraction()
-
setSamplingFraction
public void setSamplingFraction(io.fabric8.kubernetes.api.model.Quantity samplingFraction)
-
getTimeout
public String getTimeout()
Maximum time the exporter will wait for each batch export.
-
setTimeout
public void setTimeout(String timeout)
Maximum time the exporter will wait for each batch export.
-
getTlsConfig
public TLSConfig getTlsConfig()
-
setTlsConfig
public void setTlsConfig(TLSConfig tlsConfig)
-
edit
public PrometheusTracingConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PrometheusTracingConfigBuilder>
-
toBuilder
public PrometheusTracingConfigBuilder toBuilder()
-
-