Exograph.ShardTelemetry (exograph v0.9.4)

Copy Markdown View Source

Emits telemetry for work performed by a single shard in sharded searches.

The event name is [:exograph, :shard, :query, :stop]. Measurements include :duration_ms and :returned; metadata includes the fanout function, shard identity, status, and error reason when available.

Summary

Functions

Records one completed shard query.

Functions

record(function, shard, duration_ms, result)

Records one completed shard query.