OtelQueryObserver
Observes every query a gateway runs: a span query <context>.<aggregate> with its query type, the child of the span the query is asked in, and its time in the WowMetrics.QUERY_DURATION timer of meters, tagged with how it ended: ok, cached, error or cancelled. A query of a dataset is tagged with the dataset (WowMetrics.DATASET) instead of an aggregate type, and timed in WowMetrics.DATASET_QUERY_DURATION.
Constructors
Functions
Link copied to clipboard
open override fun start(aggregateType: AggregateType, queryType: QueryType, model: QueryModel): Observation