Categories:
Aura Groot metrics
List of metrics available in Aura Groot
http_request_duration_seconds
This metric is intended to store the information related to all the incoming HTTP requests received by aura-groot.
It is stored as a Summary in Prometheus. So every sample, besides the defined labels, also includes its duration.
It measures the duration since the request lands in aura-groot until its HTTP response is returned, indicating to the client that Aura is processing the request to obtain a proper answer for the Direct Line or aura-bridge.
The metric allows measuring the behavior of the requests from any given endpoint:
- The number of requests during a time
- The average/min/max duration of these requests
Labels:
method: HTTP method used by the request being stored (GET,POST,PUT,DELETE, etc.)host: host and domain where the request is being sentpath: specific endpoint of the requeststatus_code: HTTP status code returned in the response
outgoing_request_duration_seconds
This metric is intended to store the processing time related to all the outgoing HTTP requests made by aura-groot.
It is stored as a Summary in Prometheus so every sample, besides the defined labels, also includes its duration.
This metric allows measuring the behavior of the requests to any given endpoint:
- The number of requests during a time
- The average/min/max duration of these requests
Labels:
method: HTTP method used by the request being stored (GET,POST,PUT,DELETE, etc.)host: host and domain where the request is being sentpath: specific endpoint of the requeststatus: HTTP status code returned in the response
outgoing_message_duration_seconds
This metric is intended to store the processing time of Direct Line or aura-bridge requests arriving to aura-groot.
It is stored as a Summary in Prometheus, so every sample, besides the defined labels, also includes its duration.
As aura-goot is an asynchronous server, the processing of a request does not end when the HTTP response is returned, but when the proper answer for the user is sent back to the client callback. This metric measures the duration since the request lands in aura-groot until the last message of its answer is sent to the client callback.
Labels:
path: specific endpoint of the request.httpStatus: HTTP status code returned in the response.originStatus: status sent by Direct Line in the body of the response in the happening of an error.origin: specific host of the request (Direct Line or aura-bridge).channel: channel of the request.
incoming_message_duration_seconds
This metric is intended to store the processing time of Direct Line, aura-bridge or skills requests arriving to aura-groot.
It is stored as a Summary in Prometheus, so every sample, besides the defined labels, also includes its duration.
As aura-goot is an asynchronous server, the processing of a request does not end when the HTTP response is returned, but when the proper answer for the channel or skill is sent back to the client callback. This metric measures the duration from when the request arrives at aura-groot until it is processed to send to the channel/bridge or skill.
Labels:
path: specific endpoint of the request.httpStatus: HTTP status code returned in the response.originStatus: status sent by Direct Line in the body of the response in the happening of an error.origin: specific host of the request (Direct Line, aura-bridge or skill name). Iforiginis missing, the content ofpathlabel will be added.channel: channel of the request.
aura_component_version
This metric is intended to store the number of aura-groot instances (pods) running each version of the code. It is stored as a Gauge in Prometheus.
Labels:
version: version field in thepackage.jsonfile included in the running docker container.component: name of the component that is writing the metric.
aura_server_unhandled_error
This metric is intended to store the number of unhandled errors happening in aura-groot.
It is stored as a Counter in Prometheus.
Labels:
error: exception message that forced the unhandled error.
skill_access_error
This metric is intended to store the number of times a skill has been misconfigured in aura-groot.
It is stored as a Counter in Prometheus.
Labels:
skill: skill name.code:noRespondornoFoundchannel: channel of the request.
skill_request_status
This metric is intended to store the number of times we have obtained a response status per skill in aura-groot.
It is stored as a Counter in Prometheus.
Labels:
skill: skill name.code: status code of the request.channel: channel of the request.
skill_response_error
This metric is intended to store the number of times a skill has been blocked in aura-groot.
It is stored as a Counter in Prometheus.
Labels:
skill: skill namecode:blockedchannel: channel of the request.
services_status
This metric is intended to store the number of success or errored checks of modules of the server. It is stored as a Counter in Prometheus.
Labels:
moduleId: Id of the module.status: OK or ERROR