observability-kit-agent-it
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.vaadin</groupId> <artifactId>observability-kit-agent-it</artifactId> <version>2.0.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.vaadin</groupId> <artifactId>observability-kit-test</artifactId> <version>2.0.0</version> </parent> <groupId>com.vaadin</groupId> <artifactId>observability-kit-agent-it</artifactId> <version>2.0.0</version> <packaging>war</packaging> <licenses> <license> <name>Vaadin Commercial License and Service Terms</name> <url>https://vaadin.com/commercial-license-and-service-terms</url> </license> </licenses> <properties> <otel.exporter>otlp</otel.exporter> <otel.debug>false</otel.debug> <failOnMissingWebXml>false</failOnMissingWebXml> </properties> <dependencies> <dependency> <groupId>com.vaadin</groupId> <artifactId>flow-server</artifactId> <version>24.0.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.vaadin</groupId> <artifactId>flow-client</artifactId> <version>24.0.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.vaadin</groupId> <artifactId>flow-html-components</artifactId> <version>24.0.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>2.0.6</version> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.vaadin</groupId> <artifactId>flow-maven-plugin</artifactId> <executions> <execution> <goals> <goal>prepare-frontend</goal> <goal>build-frontend</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> <configuration> <deployMode>FORK</deployMode> <jvmArgs>-javaagent:${basedir}/../../observability-kit-agent/target/observability-kit-agent-${project.version}.jar</jvmArgs> <env> <OTEL_EXPORTER_OTLP_PROTOCOL>http/protobuf</OTEL_EXPORTER_OTLP_PROTOCOL> <OTEL_METRIC_EXPORT_INTERVAL>5000</OTEL_METRIC_EXPORT_INTERVAL> <OTEL_METRICS_EXPORTER>${otel.exporter}</OTEL_METRICS_EXPORTER> <OTEL_TRACES_EXPORTER>${otel.exporter}</OTEL_TRACES_EXPORTER> <OTEL_LOGS_EXPORTER>${otel.exporter}</OTEL_LOGS_EXPORTER> <OTEL_JAVAAGENT_DEBUG>${otel.debug}</OTEL_JAVAAGENT_DEBUG> </env> </configuration> </execution> <execution> <id>stop-jetty</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> <configuration> <stopPort>8081</stopPort> <stopWait>5</stopWait> <stopKey>${project.artifactId}</stopKey> </configuration> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> <configuration> <trimStackTrace>false</trimStackTrace> <enableAssertions>true</enableAssertions> </configuration> </plugin> </plugins> </build> </project>