Quarkus Opentelemetry Exporter for Sentry
This exporter sends data to sentry.
General configuration
Add the Sentry exporter extension to your build file.
For Maven:
<dependency>
<groupId>io.quarkiverse.opentelemetry.exporter</groupId>
<artifactId>quarkus-opentelemetry-exporter-sentry</artifactId>
<version>3.16.2.0</version>
</dependency>
You also need a sentry project to receive the telemetry data. Go to the sentry portal, search for your project or create a new one. On the overview page of your project, you will find a DSN in the top right corner.
You can then set the dsn in your project configuration:
-
With the
application.properties
file
quarkus.otel.sentry.dsn=your_dsn
-
With the
QUARKUS_OTEL_SENTRY_DSN=your_dsn
environment variable
Read this page to learn more configuration options.
Enable more instrumentation
-
Read this documentation to enable the JDBC instrumentation
-
Read this documentation to enable additional instrumentations