Aura Context metrics

List of metrics available in Aura Context

These metrics are stored since Heroes (7.0.0.) release

http_request_duration_seconds

This Prometheus metric is modelled as a summary where its value is the spent time until the remote host responds to an HTTP request.

Note that the value is a float number rounded to its third decimal. It is stored as a Summary in Prometheus.

This metric is intended to store the duration of outgoing requests in seconds.

Labels:

All label values are strings.

  • method: HTTP method used by the request being stored (GET, POST, PUT, DELETE, etc.).
  • path: HTTP path of the incoming request.
  • status_code: the responded HTTP status code (as a string).

Value:

  • Request duration in seconds.

database_request_duration_seconds

This metric is intended to store the duration of database requests in seconds.

It is stored as a Summary in Prometheus.

Labels:

All label values are strings.

  • database: database name (Redis or Mongo).
  • operation: database operation (i.e., update, create, get_by_date, get_last_n, get_by_corr).

Value:

  • Request duration in seconds.