Using OpenTelemetry as the metrics backend
Lightbend Telemetry can report metrics using OpenTelemetry using a backend plugin integrated with the OpenTelemetry JVM client
.
The following is the core Cinnamon OpenTelemetry dependency that you will need to add to your build tool configuration, together with the gRPC exporter :
After you have made that alteration, enable the gRPC exporter using the following configuration:
src/main/resources/telemetry.conf
cinnamon.opentelemetry.metrics {
exporters += "grpc-exporter"
}
hocon
Cinnamon will start to push metrics from an OpenTelemetry collector . For an extended example how configure this setup, please have a look at our Cinnamon OpenTelemetry sandbox
.
See the Full Telemetry documentation for details and references regarding OpenTelemetry backend configuration.