-
Task
-
Resolution: Can't Do
-
Major
-
None
-
2.10 GA
-
None
-
3
-
False
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Yes
-
Undefined
Our documentation about integrating Prometheus does not reflect with the fact that starting from OpenShift 4.6, the Prometheus/grafana operator is out-of-the-box installed. So our documentation about integrating an OOTB Prometheus needs to be adjusted to reflect this change.
When I follow the link to enable monitoring for 3scale,
apiVersion: apps.3scale.net/v1alpha1
kind: APIManager
metadata:
name: apimanager1
spec:
wildcardDomain: example.com
monitoring:
enabled: true
The APIManager CR will throw below error:
[root@bastion ~]# oc get events LAST SEEN TYPE REASON OBJECT MESSAGE 4m56s Warning ReconcileError apimanager/example-apimanager Error creating grafana dashboard object 'backend'. Install grafana-operator in your cluster to create grafana dashboard objects 4m56s Warning ReconcileError apimanager/example-apimanager Error creating grafana dashboard object 'system'. Install grafana-operator in your cluster to create grafana dashboard objects 4m56s Warning ReconcileError apimanager/example-apimanager Error creating grafana dashboard object 'zync'. Install grafana-operator in your cluster to create grafana dashboard objects 4m56s Warning ReconcileError apimanager/example-apimanager Error creating grafana dashboard object 'apicast-mainapp'. Install grafana-operator in your cluster to create grafana dashboard objects 4m56s Warning ReconcileError apimanager/example-apimanager Error creating grafana dashboard object 'apicast-services'. Install grafana-operator in your cluster to create grafana dashboard objects 4m56s Warning ReconcileError apimanager/example-apimanager Error creating grafana dashboard object 'kubernetes-resources-by-namespace'. Install grafana-operator in your cluster to create grafana dashboard objects 4m56s Warning ReconcileError apimanager/example-apimanager Error creating grafana dashboard object 'kubernetes-resources-by-pod'. Install grafana-operator in your cluster to create grafana dashboard objects
It looks like the APIManager cannot find the OOTB grafana operator but still looking for a new grafana operator. But the Grafana operator is already installed with OpenShift 4.6, so we need to adjust the documentation to describe how we should handle this scenario. It is very common that customer using the OOTB Prometheus components to monitor 3scale.
- relates to
-
THREESCALE-7101 monitoring without the need of grafana operator
- Closed