2장. Installing end-to-end observability
The end-to-end observability stack is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
The ObservabilityInstaller custom resource definition (CRD) can be used to install the end-to-end observability stack.
2.1. Distributed tracing 링크 복사링크가 클립보드에 복사되었습니다!
The distributed tracing capability installs the OpenTelemetry Collector, Tempo and the distributed tracing UI plugin.
Procedure
Install distributed tracing by using the
ObservabilityInstallerresource.apiVersion: observability.openshift.io/v1alpha1 kind: ObservabilityInstaller metadata: name: tracing namespace: observability1 spec: capabilities: tracing: enabled: true2 operators: install: true3 storage: objectStorage:4 ...- 1
- Namespace where the
ObservabilityInstallerCR is created. The namespace should contain the secrets referenced in the object storage configuration. - 2
- Enables the tracing capability. This installs the OpenTelemetry Collector, Tempo and all necessary configuration.
- 3
- Installs the operators required by the tracing capability. The default is
true. - 4
- Required object storage configuration for the tracing capability. This is used to store traces in an object storage service.
Configure S3 object storage
storage: objectStorage: s3: bucket: <bucket_name>1 endpoint: <s3_endpoint>2 accessKeyID: <access_key_id>3 accessKeySecret:4 name: s3-access-secret key: access_key_secret region: us-east-15 Use the following command to create the secret containing the access key:
$ oc create secret generic s3-access-secret \ --from-literal=access_key_secret="secret"