Class TracingConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.TracingConfig
-
- All Implemented Interfaces:
Editable<TracingConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TracingConfig extends Object implements Editable<TracingConfigBuilder>, KubernetesResource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TracingConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClientType()clientType defines the client used to export the traces.StringgetCompression()compression key for supported compression types.StringgetEndpoint()endpoint to send the traces to.Map<String,String>getHeaders()headers defines the key-value pairs to be used as headers associated with gRPC or HTTP requests.BooleangetInsecure()insecure if disabled, the client will use a secure connection.QuantitygetSamplingFraction()StringgetTimeout()timeout defines the maximum time the exporter will wait for each batch export.TLSConfiggetTlsConfig()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClientType(String clientType)clientType defines the 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)headers defines the key-value pairs to be used as headers associated with gRPC or HTTP requests.voidsetInsecure(Boolean insecure)insecure if disabled, the client will use a secure connection.voidsetSamplingFraction(Quantity samplingFraction)voidsetTimeout(String timeout)timeout defines the maximum time the exporter will wait for each batch export.voidsetTlsConfig(TLSConfig tlsConfig)TracingConfigBuildertoBuilder()
-
-
-
Method Detail
-
getClientType
public String getClientType()
clientType defines the client used to export the traces. Supported values are `HTTP` and `GRPC`.
-
setClientType
public void setClientType(String clientType)
clientType defines the client used to export the traces. Supported values are `HTTP` and `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()
headers defines the key-value pairs to be used as headers associated with gRPC or HTTP requests.
-
setHeaders
public void setHeaders(Map<String,String> headers)
headers defines the key-value pairs to be used as headers associated with gRPC or HTTP requests.
-
getInsecure
public Boolean getInsecure()
insecure if disabled, the client will use a secure connection.
-
setInsecure
public void setInsecure(Boolean insecure)
insecure if disabled, the client will use a secure connection.
-
getSamplingFraction
public Quantity getSamplingFraction()
-
setSamplingFraction
public void setSamplingFraction(Quantity samplingFraction)
-
getTimeout
public String getTimeout()
timeout defines the maximum time the exporter will wait for each batch export.
-
setTimeout
public void setTimeout(String timeout)
timeout defines the maximum time the exporter will wait for each batch export.
-
getTlsConfig
public TLSConfig getTlsConfig()
-
setTlsConfig
public void setTlsConfig(TLSConfig tlsConfig)
-
edit
public TracingConfigBuilder edit()
- Specified by:
editin interfaceEditable<TracingConfigBuilder>
-
toBuilder
public TracingConfigBuilder toBuilder()
-
-