Skip to content

Commit afbb0c4

Browse files
committed
RFC Observability
Signed-off-by: R-Lawton <rlawton@redhat.com>
1 parent 3b91376 commit afbb0c4

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

rfcs/0000-observability-api.md

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ The different aspects a user might want to modify could be the following:
2525

2626
| Observability piece | Kuadrant component | Options |
2727
|-----------------------|-----------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
28-
| Logging | Kuadrant operator, Authorino operator, Limitador Operator | **component** (string), **logLevel**: (string) **logMode**: (string) |
29-
| Tracing | Authorino operator, Limitador operator | **component** (string), **endpoint** (string), **tags** (map[string]string) , **insecure**(bool), **strageyRules** ([]String) |
30-
| Metrics | Kuadrant operator, Authorino, Limitador, DNS Operator | **component** (string), **enableService** (bool), **port** (int32), **deep** (bool) |
31-
| Alerts * | Kuadrant operator, Authorino, Limitador | **namespace** (string), **component**(string), **enable** bool |
32-
| Dashboards * | Kuadrant operator, Authorino, Limitador | **namespace** (string), **component**(string), **enable** bool |
28+
| Logging | Kuadrant operator, Authorino operator, Limitador Operator | **component** **logLevel**: **logMode**: |
29+
| Tracing | Authorino operator, Limitador operator | **component** , **endpoint** , **tags** , **insecure**, **strageyRules** |
30+
| Metrics | Kuadrant operator, Authorino, Limitador, DNS Operator | **component** , **enableService** , **port** , **deep** |
31+
| Alerts * | Kuadrant operator, Authorino, Limitador | **namespace** , **component**, **enable** |
32+
| Dashboards * | Kuadrant operator, Authorino, Limitador | **namespace** , **component**, **enable** |
3333
| Other 3rd Party * | e.g Kiali | **enable** bool |
3434

3535
###### **Note**: Observability pieces with a * denotes these are post v1 milestone
@@ -99,6 +99,7 @@ spec:
9999

100100
alerts:
101101
namespace: my-amazing-namespace
102+
component:
102103
authorino:
103104
operator-level: true
104105
component-level: true
@@ -112,6 +113,7 @@ spec:
112113

113114
dashboards:
114115
namespace: my-amazing-namespace
116+
component:
115117
authorino:
116118
operator-level: true
117119
component-level: true
@@ -124,24 +126,31 @@ spec:
124126

125127
```
126128
### Sample use case
127-
A use case a user might have would be they desire setting up tracing in the Limitador operator implementing the required endpoints and optional tag. The user also wants metrics setup with custom ports and requires service and serviceMonitors to be created for Kuadrant-operator and Authorino-operator as well as have the limitador have a log level of Debug but just for Authorino.
129+
A use case a user might have would be they desire setting up tracing in the Limitador operator implementing the required endpoints and optional tag. The user also wants metrics setup with custom ports and requires service and serviceMonitors to be created for Kuadrant-operator and Authorino-operator as well as have the Authorino have a log level of Debug.
128130

129131
```yaml
130132

131133
apiVersion: kuadrant.io/v1alpha1
132134
kind: Observability
133135
spec:
134-
logging:
135-
authorino: debug
136136
tracing:
137-
limitador:
138-
endpoint: rpc://tempo.tempo.svc.cluster.local:4317
139-
tags: tag1, tag2
137+
component:
138+
limitador:
139+
endpoint: rpc://tempo.tempo.svc.cluster.local:4317
140+
tags: tag1, tag2
140141
metrics:
141-
authorino:
142-
enableService: true
143-
port: 8084
144-
deep: true
142+
component:
143+
authorino:
144+
enableService: true
145+
port: 8084
146+
deep: true
147+
kuadrant:
148+
enableService: true
149+
port: 8084
150+
logging:
151+
component:
152+
authorino:
153+
logLevel: debug
145154
```
146155
### Status
147156
The status of the Observability CR will not be the observability stack is in a "healthy" state i.e Prometheus and Grafana is up and running. It should be the status of only the things that we contribute for example is new Logging and Tracing now in place or is the console plugin responding. We will not be taking responsibility for aspects we don't have control over.

0 commit comments

Comments
 (0)