Kibana Gateway Metrics
This feature was introduced in Hydrolix version 6.6.
The cluster's Prometheus collects metrics from Kibana Gateway, which serves them on port 27182. Clusters that set prometheus_operator_installed also get a ServiceMonitor for them.
The metrics need Kibana Gateway v2.3.0 or later, the default version. A cluster that sets kibana_gateway_config.version to an earlier version exposes no metrics, and Prometheus reports the target as down.
| Metric | Type | Components | Description | Labels |
|---|---|---|---|---|
kgw_http_requests_total |
Counter | Kibana Gateway | Total HTTP requests Kibana Gateway received, by response status. | status |
kgw_http_request_duration_seconds |
Histogram | Kibana Gateway | Time in seconds from accepting an HTTP request to writing the response, by response status. | status |
kgw_http_active_requests |
Gauge | Kibana Gateway | HTTP requests Kibana Gateway is handling now. | |
kgw_operation_requests_total |
Counter | Kibana Gateway | Total operations Kibana Gateway ran, such as a search or a count, by operation and outcome. | operation status |
kgw_operation_request_duration_seconds |
Histogram | Kibana Gateway | Time in seconds to run an operation, by operation. | operation |
kgw_downstream_calls_total |
Counter | Kibana Gateway | Total calls from Kibana Gateway to Hydrolix or Elasticsearch, by destination and outcome. | downstream status |
kgw_downstream_call_duration_seconds |
Histogram | Kibana Gateway | Time in seconds for a call to Hydrolix or Elasticsearch, by destination. | downstream |
kgw_esql_rejections_total |
Counter | Kibana Gateway | Total ES|QL queries Kibana Gateway refused to run, by rejection kind and the construct that caused it. | kind construct |
Label values⚓︎
The labels take these values:
statuson the HTTP and operation metrics:successfor HTTP status codes 200 to 399,client_errorfor 400 to 499, andserver_errorfor 500 and higher.statusonkgw_downstream_calls_total:successorerror.operation: the API route the request matched. A request that matches no route counts asunmatched.kind:parse_error,unsupported_construct,verification_error,planning_rule, orinternal.
The downstream label names where Kibana Gateway sent the call:
| Value | Call |
|---|---|
clickhouse_query |
A query to Hydrolix |
elastic_read, elastic_write |
A read or write sent to Elasticsearch |
elastic_bypassed_read, elastic_bypassed_write |
A management request passed straight to Elasticsearch |
The duration histograms share buckets from 0.05 to 30 seconds, the same boundaries other Hydrolix services use.