Linux
SUSE Observability
Last updated
SUSE Observability
Last updated
Here is the setup we'll be creating, for an application that needs to be monitored:
The monitored application / workload running on a Linux host
The Open Telemetry collector running on the same Linux host
SUSE Observability or SUSE Cloud Observability
First we'll install the collector. We configure it to:
Receive data from, potentially many, instrumented applications
Enrich collected data with host attributes
Generate metrics for traces
Forward the data to SUSE Observability, including authentication using the API key
Next to that it will also retry sending data when there are a connection problems.
Finally restart the collector:
To see the logs of the collector use:
The common way to collect telemetry data is to instrument your application using the Open Telemetry SDK's. We've documented some quick start guides for a few languages, but there are many more:
No additional configuration is needed for the SDKs, they export to localhost via OTLP or OTLP over HTTP (depending on the supported protocols) by default.
Go to SUSE Observability and make sure the Open Telemetry Stackpack is installed (via the main menu -> Stackpacks).
The collector provides packages (apk, deb and rpm) for most Linux versions and architectures and it uses systemd
for automatic service configuration. To install it find the and update the URL in the example to use the latest version:
For other installation options use the .
After installation modify the collector configuration by editing /etc/otelcol-contrib/config.yaml
. Change the file such that it looks like the config.yaml
example here, replace <otlp-suse-observability-endpoint>
with your OTLP endpoint (see for your endpoint) and insert your receiver api key for <receiver-api-key>
(see where to find it):
For other languages follow the documentation on .
After a short while and if your application is processing some traffic you should be able to find it under its service name in the Open Telemetry -> services and service instances overviews. Traces will appear in the and in the for the service and service instance components. Span metrics and language specific metrics (if available) will become available in the for the components.
You can add new charts to components, for example the service or service instance, for your application, by following . It is also possible to create using the metrics and setup to get notified when your application is not available or having performance issues.