Internal Metrics
Internal Metrics
ESB3024 Router collects a large number of metrics that can give insight into
it’s condition at runtime. Those metrics are available in
Prometheus’ text-based exposition format
at endpoint :5001/m1/v1/metrics.
Below is the description of these metrics along with their labels.
client_response_statusNumber of responses sent back to incoming requests.
lua_num_errorsNumber of errors encountered when evaluating Lua rules.
counterlua_num_evaluatorsNumber of Lua rules evaluators (active interpreters).
lua_time_spentTime spent by running Lua evaluators, in microseconds.
counternum_configuration_changesNumber of times configuration has been changed since the router has started.
counternum_endpoint_requestsNumber of requests redirected per CDN endpoint.
counterendpoint - CDN endpoint address.selector - whether the request was counted during initial or instream selection.num_invalid_http_requestsNumber of client requests that either use wrong method or wrong URL path. Also number of all requests that cannot be parsed as HTTP.
countersource - name of internal filter function that classified request
as invalid. Probably not of much use outside debugging.type - whether the request was HTTP (Unencrypted) or HTTPS (SSL).num_log_errors_totalNumber of logged errors since the router has started.
counternum_log_warnings_totalNumber of logged warnings since the router has started.
counternum_managed_redirectsNumber of redirects to the router itself, which allows session management.
counternum_manifestsNumber of cached manifests.
gaugecount - state of manifest in cache, can be either lru, evicted or total.num_qoe_lossesNumber of “lost” QoE decisions per CDN.
countercdn_id - ID of CDN that loose QoE battle.cdn_name - name of CDN that loose QoE battle.selector - whether the decision was taken during initial or instream selection.num_qoe_winsNumber of “won” QoE decisions per CDN.
countercdn_id - ID of CDN that won QoE battle.cdn_name - name of CDN that won QoE battle.selector - whether the decision was taken during initial or instream selection.num_rejected_requestsDeprecated, should always be at 0.
counterselector - whether the request was counted during initial or instream selection.num_requestsTotal number of requests received by the router.
counterselector - whether the request was counted during initial or instream selection.num_sessionsNumber of sessions opened on router.
gaugestate - either active or inactive.type - one of: initial, instream, qoe_on, qoe_off, qoe_agent or sp_agent.num_ssl_errors_totalNumber of all errors logged during TLS connections, both incoming and outgoing.
counternum_ssl_warnings_totalNumber of all warnings logged during TLS connections, both incoming and outgoing.
countercategory - which kind of TLS connection triggered the warning.
Can be one of: cdn, content, generic, repeated_session or empty.num_unhandled_requestsNumber of requests for which no CDN could be found.
counterselector - whether the request was counted during initial or instream selection.num_unmanaged_redirectsNumber of redirects to “outside” the router - usually to CDN.
countercdn_id - ID of CDN picked for redirection.cdn_name - name of CDN picked for redirection.selector - whether the redirect was result of initial or instream selection.num_valid_http_requestsNumber of received requests that were not deemed invalid, see
num_invalid_http_requests.
countersource - name of internal filter function that classified request
as invalid. Probably not of much use outside debugging.type - whether the request was HTTP (Unencrypted) or HTTPS (SSL).orc_latency_bucketTotal number of responses sorted into “latency buckets” - labels denoting latency interval.
counterle - latency bucket that given response falls into.orc_status_code - HTTP status code of given response.orc_latency_countTotal number of responses.
countertls - whether the response was sent via SSL/TLS connection or not.orc_status_code - HTTP status code of given response.ssl_certificate_days_remainingNumber of days until a SSL certificate expires.
gaugedomain - the common name of the domain that the certificate authenticates.not_valid_after - the expiry time of the certificate.not_valid_before - when the certificate starts being valid.usable - if the certificate is usable to the router, see the
ssl_certificate_usable_count metric for an explanation.ssl_certificate_usable_countNumber of usable SSL certificates. A certificate is usable if it is valid and authenticates a domain name that points to the router.
gaugeInternal Metrics