name
-
broker name
namespace_name
-
broker namespace
event_type
-
event type
response_code
-
HTTP response code returned by the broker
response_code_class
-
HTTP response code class returned by the broker: 2xx, 3xx, 4xx, 5xx
Cluster administrators can view the following metrics for Knative Eventing components.
By aggregating the metrics from HTTP code, events can be separated into two categories; successful events (2xx) and failed events (5xx).
You can use the following metrics to debug the broker ingress, see how it is performing, and see which events are being dispatched by the ingress component.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events received by a broker. |
Counter |
|
Integer (no units) |
|
The time taken to dispatch an event to a channel. |
Histogram |
|
Milliseconds |
You can use the following metrics to debug broker filters, see how they are performing, and see which events are being dispatched by the filters. You can also measure the latency of the filtering action on an event.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events received by a broker. |
Counter |
|
Integer (no units) |
|
The time taken to dispatch an event to a channel. |
Histogram |
|
Milliseconds |
|
The time it takes to process an event before it is dispatched to a trigger subscriber. |
Histogram |
|
Milliseconds |
You can use the following metrics to debug InMemoryChannel
channels, see how they are performing, and see which events are being dispatched by the channels.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events dispatched by |
Counter |
|
Integer (no units) |
|
The time taken to dispatch an event from an |
Histogram |
|
Milliseconds |
You can use the following metrics to verify that events have been delivered from the event source to the connected event sink.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events sent by the event source. |
Counter |
|
Integer (no units) |
|
Number of retried events sent by the event source after initially failing to be delivered. |
Counter |
|
Integer (no units) |
You can use the following metrics to debug and visualize the performance of Kafka broker.
Metric name | Description | Type | Tags | Unit | ||
---|---|---|---|---|---|---|
|
Number of events received by a broker |
Counter |
|
Dimensionless |
||
|
The time spent dispatching an event to a Kafka cluster |
Histogram |
|
Milliseconds |
||
|
Number of expected replicas for a given Kafka consumer group resource |
Gauge |
|
Dimensionless |
||
|
Number of ready replicas for a given Kafka consumer group resource |
Gauge |
|
Dimensionless |
You can use the following metrics to debug and visualize the performance of Kafka triggers.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events dispatched by a trigger to a subscriber |
Counter |
|
Dimensionless |
|
The time spent dispatching an event to a subscriber |
Histogram |
|
Milliseconds |
|
The time spent processing and filtering an event |
Histogram |
|
Milliseconds |
You can use the following metrics to debug and visualize the performance of Kafka channel.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events received by a Kafka channel |
Counter |
|
Dimensionless |
|
The time spent dispatching an event to a Kafka cluster |
Histogram |
|
Milliseconds |
You can use the following metrics to debug and visualize the performance of subscriptions associated with the Kafka channel.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events dispatched by a subscription to a subscriber |
Counter |
|
Dimensionless |
|
The time spent dispatching an event to a subscriber |
Histogram |
|
Milliseconds |
|
The time spent processing an event |
Histogram |
|
Dimensionless |
You can use the following metrics to debug and visualize the performance of Kafka sources.
Metric name | Description | Type | Tags | Unit | ||
---|---|---|---|---|---|---|
|
Number of events dispatched by a Kafka source |
Counter |
|
Dimensionless |
||
|
The time spent dispatching an event to a sink |
Histogram |
|
Milliseconds |
||
|
The time spent processing an event |
Histogram |
|
Milliseconds |
||
|
Number of expected replicas for a given Kafka consumer group resource |
Gauge |
|
Dimensionless |
||
|
Number of ready replicas for a given Kafka consumer group resource |
Gauge |
|
Dimensionless |
You can use the following metrics to debug and visualize the performance of Kafka sinks.
Metric name | Description | Type | Tags | Unit |
---|---|---|---|---|
|
Number of events received by a broker |
Counter |
|
Dimensionless |
|
The time spent dispatching an event to a Kafka cluster |
Histogram |
|
Milliseconds |