Class ObservabilityConfig
java.lang.Object
io.vertx.core.http.ObservabilityConfig
Generic client/server observability config.
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetMetricsName(String metricsName) Set the metrics name identifying the reported metrics, useful for naming the server metrics.setTracingPolicy(TracingPolicy tracingPolicy) Set the tracing policy for the server behavior when Vert.x has tracing enabled.
-
Constructor Details
-
ObservabilityConfig
public ObservabilityConfig() -
ObservabilityConfig
-
-
Method Details
-
getMetricsName
- Returns:
- the metrics name identifying the reported metrics.
-
setMetricsName
Set the metrics name identifying the reported metrics, useful for naming the server metrics.- Parameters:
metricsName- the metrics name- Returns:
- a reference to this, so the API can be used fluently
-
getTracingPolicy
- Returns:
- the tracing policy
-
setTracingPolicy
Set the tracing policy for the server behavior when Vert.x has tracing enabled.- Parameters:
tracingPolicy- the tracing policy- Returns:
- a reference to this, so the API can be used fluently
-