flower-observability
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.flowerjvm</groupId>
<artifactId>flower-observability</artifactId>
<version>0.1.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.github.flowerjvm</groupId>
<artifactId>flower-parent</artifactId>
<version>0.1.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>flower-observability</artifactId>
<packaging>jar</packaging>
<name>Flower Observability</name>
<description>
Optional observability bindings for Flower: SLF4J logging listener,
Micrometer metrics listener, OpenTelemetry tracing listener, and JSON renderer for EngineDump.
Java 8 compatible. Each third-party binding is declared optional;
users opt in by adding the matching binding dependency.
</description>
<dependencies>
<dependency>
<groupId>io.github.flowerjvm</groupId>
<artifactId>flower-core</artifactId>
</dependency>
<!-- Logging binding. Optional: only required if users register the
LoggingFlowerListener / use StepLogger. -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<optional>true</optional>
</dependency>
<!-- Metrics binding. Optional: only required if users register the
MicrometerFlowerListener. -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
<optional>true</optional>
</dependency>
<!-- Tracing binding. Optional: only required if users register the
OpenTelemetryFlowerListener. -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
<optional>true</optional>
</dependency>
<!-- Test dependencies. logback-classic is used instead of slf4j-simple
because slf4j-simple ships a NOPMDCAdapter, which makes MDC
assertions in our tests impossible to verify. -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk-testing</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>