On this page
Run sample PromQL queries
Review sample PromQL queries that you can run in the Prometheus expression browser.
Open the expression browser
Port-forward the Prometheus pod in your cluster.
Access the Prometheus expression browser.
Cilium-specific queries
Metric | PromQL query |
---|---|
Successful network packet rate for a given service | rate(hubble_flows_processed_total{destination_workload_id="<workload_ID>"}[5m]) |
Successful network packet rate between source and destination workload | rate(hubble_flows_processed_total{source="<source_workload_ID>", destination_workload_id="<destination_workload_id>"}[5m]) |
Rate of dropped network packets to a destination workload | rate(hubble_drop_total{destination_workload_id="<workload_ID>"}[5m]) |
Number of new processed network packets within a certain timeframe | sum(increase(hubble_flows_processed_total{}[5m])) by (workload_id, destination_workload_id) |