View Source EtcdEx.Telemetry (EtcdEx v1.2.0)
EtcdEx telemetry integration.
All time measurements are in :native
units.
EtcdEx executes following events:
request-start
Request start
[:etcdex, :request, :start]
- Executed when sending a request to Etcd cluster.
Measurements
system_time
- The system time.
Metadata
request
- Type of the request.args
- Arguments of the request.
request-stop
Request stop
[:etcdex, :request, :stop]
- Executed after receiving a response from Etcd cluster.
Measurements
duration
- Time taken from the request start event.
Metadata
request
- Type of the request.args
- Arguments of the request.result
- The result of the operation.
connect-start
Connect start
[:etcdex, :connect, :start]
- Executed before establishing connection to Etcd cluster.
Measurements
system_time
- The system time.
Metadata
scheme
- The scheme used in the connection.address
- The host address of the Etcd cluster.port
- The port of the Etcd cluster.
connect-stop
Connect stop
[:etcdex, :connect, :stop]
- Executed when finished establishing connection (either successfully or not).
Measurements
duration
- Time take from the connect start event.
Metadata
scheme
- The scheme used in the connection.address
- The host address of the Etcd cluster.port
- The port of the Etcd cluster.error
- Error message received when trying to establish the connection, set only on unsuccessful attempts.
disconnect
Disconnect
[:etcdex, :disconnect]
- Executed when disconnected from Etcd cluster.
Measurements
system_time
- The system time.
Metadata
scheme
- The scheme used in the connection.address
- The host address of the Etcd cluster.port
- The port of the Etcd cluster.reason
- The disconnect reason.