Introduction
If you want to profile the CoreOne Suite you can simply activate the appropriate tracing in the configuration. F
Step 1 - Make your infrastructure ready
You will need an Open Telementry Collector and a data visualization tool such as ELK-stack and APM.
Step 2 - Application configuration
Frontends
Each of the frontends has an application configuration files. In that file, you can add the following settings:
"UseOpenTelemetry": true, "OpenTelemetryCollectorEndpoint": "https://otlp-gateway-prod-eu-west-2.grafana.net/otlp/v1/traces", "OpenTelemetryCollectorMetricsEndpoint": "https://otlp-gateway-prod-eu-west-2.grafana.net/otlp/v1/metrics", "OpenTelemetryCollectorHeaders": "Authorization=Basic NjkyODA0...2prd01EUTVPSDA9", "OpenTelemetryCollectorProtocol": "HttpProtobuf"
Simple enable OpenTelemetry and configure the appropriate endpoints, headers and the protocol.
Backend
For the backend, the settings are stored in the database.
"UseOpenTelemetry": false, "OpenTelemetryCollectorEndpoint": "https://otlp-gateway-prod-eu-west-2.grafana.net/otlp/v1/traces", "OpenTelemetryCollectorMetricsEndpoint": "https://otlp-gateway-prod-eu-west-2.grafana.net/otlp/v1/metrics", "OpenTelemetryCollectorHeaders": "Authorization=Basic NjkyODA0OmV5SnJJam9pWXpGbFl6QTFOMlV3TkRBM1l6WTJZamMwT1RBNVpUSm1ZelV3TjJVMFpURmhPVGsxWVdVMVppSXNJbTRpT2lKRVpYWk5aWFJ5YVdOelVIVmliR2x6YUdWeUlpd2lhV1FpT2prd01EUTVPSDA9", "OpenTelemetryCollectorProtocol": "HttpProtobuf"
Step 3 - Restart
After you have applied the settings, you will need to restart the appropriate parts.