# Functions
InitOtelTracing initializes the OpenTelemetry tracing and returns an exporter.
InitTracer initializes the global tracer.
RecordMetrics function is a helper to encapsulate metrics storage across function calls.
SerializeObject serializes an object to a JSON string for logging or processing.
StartFunctionSpan creates a tracing span using the calling function's name.
TraceFunctionData handles tracing for success, error, or subfunction calls.
UnaryServerInterceptorWithParams function tries to get the parameters being input into the grpc function.
# Variables
ControllerCreateVolumeDuration tracks the duration of create volume calls.
ControllerCreateVolumeTotal counts the total number of create volume calls.
ControllerDeleteVolumeDuration tracks the duration of delete volume calls.
ControllerDeleteVolumeTotal counts the total number of delete volume calls.
ControllerPublishVolumeDuration tracks the duration of publish volume calls.
ControllerPublishVolumeTotal counts the total number of publish volume calls.
ControllerUnpublishVolumeDuration tracks the duration of unpublish volume calls.
ControllerUnpublishVolumeTotal counts the total number of unpublish volume calls.
NodeExpandDuration tracks the duration of NodeExpandVolume calls.
NodeExpandTotal counts the total number of NodeExpandVolume calls.
NodePublishDuration tracks the duration of NodePublishVolume calls.
NodePublishTotal counts the total number of NodePublishVolume calls.
NodeStageVolumeDuration tracks the duration of NodeStageVolume calls.
NodeStageVolumeTotal counts the total number of NodeStageVolume calls.
NodeUnpublishDuration tracks the duration of NodeUnpublishVolume calls.
NodeUnpublishTotal counts the total number of NodeUnpublishVolume calls.
NodeUnstageVolumeDuration tracks the duration of NodeUnstageVolume calls.
NodeUnstageVolumeTotal counts the total number of NodeUnstageVolume calls.
Global tracing variables.
Global tracing variables.
Global tracing variables.