Mojito.Telemetry (mojito v0.7.12) View Source
Mojito's Telemetry integration.
All time measurements are emitted in :millisecond units by
default. A different
Erlang time unit
can be chosen by setting a config parameter like so:
config :mojito, Mojito.Telemetry, time_unit: :microsecondMojito emits the following Telemetry events:
[:mojito, :pool, :start]before launching a pool- Measurements:
:system_time - Metadata:
:host,:port
- Measurements:
[:mojito, :pool, :stop]after launching a pool- Measurements:
:system_time,:duration - Metadata:
:host,:port
- Measurements:
[:mojito, :connect, :start]before connecting to a host- Measurements:
:system_time - Metadata:
:host,:port
- Measurements:
[:mojito, :connect, :stop]after connecting to a host- Measurements:
:system_time,:duration - Metadata:
:host,:port
- Measurements:
[:mojito, :request, :start]before making a request- Measurements:
:system_time - Metadata:
:host,:port,:path,:method
- Measurements:
[:mojito, :request, :stop]after making a request- Measurements:
:system_time,:duration - Metadata:
:host,:port,:path,:method
- Measurements: