Class OpenTelemetryManagerHolder
- java.lang.Object
-
- org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.OpenTelemetryManagerHolder
-
public class OpenTelemetryManagerHolder extends Object
Holds the OpenTelemetry Manager, and configurations related to it.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenTelemetryManager
getOpenTelemetryManager()
static boolean
isCollectingPayloads()
static boolean
isCollectingProperties()
static void
loadTracerConfigurations()
Loads Tracing configurations by creating an instance of the given type required for the OpenTelemetryManager.static void
setCollectingFlags(boolean collectPayloads, boolean collectProperties)
Sets flags that denote whether to collect payloads and properties.
-
-
-
Method Detail
-
loadTracerConfigurations
public static void loadTracerConfigurations()
Loads Tracing configurations by creating an instance of the given type required for the OpenTelemetryManager.
-
setCollectingFlags
public static void setCollectingFlags(boolean collectPayloads, boolean collectProperties)
Sets flags that denote whether to collect payloads and properties.- Parameters:
collectPayloads
- Whether to collect payloadscollectProperties
- Whether to collect properties
-
isCollectingPayloads
public static boolean isCollectingPayloads()
-
isCollectingProperties
public static boolean isCollectingProperties()
-
getOpenTelemetryManager
public static OpenTelemetryManager getOpenTelemetryManager()
-
-