Interface: LocalMetricConfig
Defined in: src/types/metrics.types.ts:120 Configuration for a local metric that is computed client-side. This interface defines metrics that are evaluated on the client rather than server-side. Local metrics are useful for custom scoring logic that needs to run in the client environment.Properties
aggregatableTypes?
aggregatorFn()?
Parameters
scores
MetricValueType
[]
Returns
MetricValueType
name
scorableTypes?
scorerFn()
Parameters
traceOrSpan
any
Returns
MetricValueType