add
fun add(partitionKey: PartitionKey, streamDescriptor: DestinationStream.Descriptor, metric: StateAdditionalStatsStore.ObservabilityMetrics, value: Double)
Adds a value to the histogram associated with the given partition and stream descriptor for the specified metric.
Parameters
partitionKey
The key representing the partition for which the histogram is maintained.
streamDescriptor
The descriptor identifying the specific destination stream.
metric
The metric whose value is to be incremented in the histogram.
value
The value to increment for the specified metric.