Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
chore(readme): enhance metrics table readability
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid committed Nov 10, 2020
1 parent beff894 commit 9c26896
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,10 +614,10 @@ The secrets will persist even if the helm installation is removed, although they

kubernetes-external-secrets exposes the following metrics over a prometheus endpoint:

| Metric | Type | Description | Example |
| -------------------------------------------------- | ------- | ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `kubernetes_external_secrets_sync_calls_count` | Counter | Number of sync operations by backend, secret name and status | `kubernetes_external_secrets_sync_calls_count{name="foo",namespace="example",backend="foo",status="success"} 1` |
| `kubernetes_external_secrets_last_sync_call_state` | Gauge | State of last sync call of external secert, where -1 means the last sync_call was an error and 1 means the last sync_call was a success | `kubernetes_external_secrets_last_sync_call_state{name="foo",namespace="example",backend="foo"} 1` |
| Metric | Type | <div style="width:30em">Description</div> | Example |
| ------ | ---- | ---------------------------------------- | ------- |
| <div style="width:17em">`kubernetes_external_secrets_sync_calls_count`</div> | Counter | Number of sync operations by backend, secret name and status | <div style="width:17em">`kubernetes_external_secrets_sync_calls_count{name="foo",namespace="example",backend="foo",status="success"} 1`</div> |
| <div style="width:17em">`kubernetes_external_secrets_last_sync_call_state`</div> | Gauge | State of last sync call of external secert, where -1 means the last sync_call was an error and 1 means the last sync_call was a success | <div style="width:17em">`kubernetes_external_secrets_last_sync_call_state{name="foo",namespace="example",backend="foo"} 1`</div> |


## Development
Expand Down

0 comments on commit 9c26896

Please sign in to comment.