The knative-operator deployment already exposes metrics here, however charm is not using this and do not provide metrics-endpoint and grafana-dashboard endpoints.
We need to add relation using prometheus_scrape and grafana_dashboard interfaces.
Note: Only maintained alert rule or Grafana dashboard should be selected, others should be avoided.
What needs to get done
Expose port for metrics as ServicePort
Implement metrics-endpoint endpoint
Implement grafana-dashboard endpoint
[Optional] Find and add alert rules for metrics from upstream
[Optional] Find and add Grafana dashboards for metrics from upstream
Definition of Done
knative-operator has metrics-endpoint and grafana-dashboard endpoints
Context
The knative-operator deployment already exposes metrics here, however charm is not using this and do not provide
metrics-endpoint
andgrafana-dashboard
endpoints.We need to add relation using
prometheus_scrape
andgrafana_dashboard
interfaces.Note: Only maintained alert rule or Grafana dashboard should be selected, others should be avoided.
What needs to get done
Definition of Done
metrics-endpoint
andgrafana-dashboard
endpoints