Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions docs/content/en/docs/documentation/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,17 @@ Metrics metrics = MicrometerMetricsV2.newBuilder(registry)
All meters use `controller.name` as their primary tag. Counters optionally carry a `namespace` tag when
`withNamespaceAsTag()` is enabled.

| Meter name (Micrometer) | Type | Tags | Description |
|--------------------------------------|---------|---------------------------------------------------|------------------------------------------------------------------|
| `reconciliations.active` | gauge | `controller.name` | Number of reconciler executions currently executing |
| `reconciliations.queue` | gauge | `controller.name` | Number of resources currently queued for reconciliation |
| `custom_resources` | gauge | `controller.name` | Number of custom resources tracked by the controller |
| `reconciliations.execution.duration` | timer | `controller.name` | Reconciliation execution duration with explicit bucket histogram |
| `reconciliations.started.total` | counter | `controller.name`, `namespace`* | Number of reconciliations started (including retries) |
| `reconciliations.success.total` | counter | `controller.name`, `namespace`* | Number of successfully finished reconciliations |
| `reconciliations.failure.total` | counter | `controller.name`, `namespace`* | Number of failed reconciliations |
| `reconciliations.retries.total` | counter | `controller.name`, `namespace`* | Number of reconciliation retries |
| `events.received` | counter | `controller.name`, `event`, `action`, `namespace` | Number of Kubernetes events received by the controller |
| Meter name (Micrometer) | Type | Tags | Description |
|--------------------------------------|---------|----------------------------------------------------|------------------------------------------------------------------|
| `reconciliations.active` | gauge | `controller.name` | Number of reconciler executions currently executing |
| `reconciliations.queue` | gauge | `controller.name` | Number of resources currently queued for reconciliation |
| `custom_resources` | gauge | `controller.name` | Number of custom resources tracked by the controller |
| `reconciliations.execution.duration` | timer | `controller.name` | Reconciliation execution duration with explicit bucket histogram |
| `reconciliations.started.total` | counter | `controller.name`, `namespace`* | Number of reconciliations started (including retries) |
| `reconciliations.success.total` | counter | `controller.name`, `namespace`* | Number of successfully finished reconciliations |
| `reconciliations.failure.total` | counter | `controller.name`, `namespace`* | Number of failed reconciliations |
| `reconciliations.retries.total` | counter | `controller.name`, `namespace`* | Number of reconciliation retries |
| `events.received` | counter | `controller.name`, `event`, `action`, `namespace`* | Number of events received by the controller |

\* `namespace` tag is only included when `withNamespaceAsTag()` is enabled.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ private void assertMetricPresent(
log.info("{}: {}", query, result);
assertThat(result).contains("\"status\":\"success\"");
for (String expected : expectedSubstrings) {
log.info("Checking if result: {} contains expected: {}", result, expected);
assertThat(result).contains(expected);
}
});
Expand Down
Loading