-
Bug
-
Resolution: Done
-
Major
-
COO 1.4.0
-
None
-
None
-
None
-
False
-
-
1
-
None
-
None
-
None
-
Sprint 285
-
None
-
None
-
None
Problem:
- Perses Global Datasources are not working on clusters ocp4.19+, in this case 4.21
- The same config is working on ocp4.18 (release-coo-0.4)
Steps:
- Install OBO1.4.0:
quay.io/rh-ee-emurasak/observability-operator-bundle:1.4.0-main-0302
- Installation of Loki from Operator Hub
- Installation of Logging from Operator Hub
- https://github.com/zhuje/development-tools/blob/main/logging/components/start.sh
- https://github.com/zhuje/development-tools/tree/main/korrel8r-manifests/openshift
- run `make resources`
- Install Tempo and OTEL operators thru:
- Openshift-tracing with tenancy: platform and user
- Chainsaw-multitenancy with tenancy: dev
- Install Monitoring UIPlugin
- Install Tracing UIplugin and Logging UIPlugin
apiVersion: perses.dev/v1alpha2 kind: PersesGlobalDatasource metadata: name: tempo-platform spec: config: display: name: "Tempo Datasource" default: true plugin: kind: "TempoDatasource" spec: proxy: kind: HTTPProxy spec: url: https://tempo-platform-gateway.openshift-tracing.svc.cluster.local:8080/api/traces/v1/platform/tempo headers: X-Scope-OrgID: platform secret: tempo-platform-secret client: tls: enable: true caCert: type: file certPath: /ca/service-ca.crt
apiVersion: perses.dev/v1alpha2 kind: PersesGlobalDatasource metadata: name: loki-datasource spec: config: display: name: "Loki Datasource (Application Logs)" default: true plugin: kind: "LokiDatasource" spec: proxy: kind: HTTPProxy spec: # URL structure for LokiStack with openshift-logging tenancy: # https://{gateway-svc}.{ns}.svc:8080/api/logs/v1/{tenant} # Perses will append /loki/api/v1/... for queries url: https://logging-loki-gateway-http.openshift-logging.svc.cluster.local:8080/api/logs/v1/application headers: X-Scope-OrgID: application # IMPORTANT: Must reference secret for TLS config secret: loki-datasource-secret client: tls: enable: true caCert: type: file certPath: /ca/service-ca.crt
- Import this dashboard in a namespace we do not have any tempo / loki datasources https://github.com/observability-ui/development-tools/blob/main/perses/dashboards/import/mix.json