dlmarion edited a comment on pull request #2259: URL: https://github.com/apache/accumulo/pull/2259#issuecomment-965571339
Confirmed that tracing still works using the instructions [here](https://github.com/apache/accumulo/pull/2259#issuecomment-931518384), [here](https://github.com/apache/accumulo/pull/2259#issuecomment-932394590), and [here](https://github.com/apache/accumulo/pull/2259#issuecomment-932399981). The only difference is that the version is no longer 1.6.0, it's 1.7.1. The java agent jar for 1.7.1 can be downloaded with: `wget https://search.maven.org/remotecontent?filepath=io/opentelemetry/javaagent/opentelemetry-javaagent/1.7.1/opentelemetry-javaagent-1.7.1.jar` The updated maven pom.xml file to create the autoconfigured shaded jar is: ```xml <?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> <groupId>org.apache.accumulo.tracing</groupId> <artifactId>opentelemetry-autoconf-deps</artifactId> <version>1.0.0-SNAPSHOT</version> <packaging>pom</packaging> <properties> <version.opentelemetry>1.6.0</version.opentelemetry> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-bom</artifactId> <version>1.7.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-netty-shaded</artifactId> <version>1.41.0</version> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-exporter-jaeger</artifactId> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-exporter-logging</artifactId> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-exporter-otlp</artifactId> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-exporter-otlp-common</artifactId> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-exporter-otlp-trace</artifactId> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-exporter-prometheus</artifactId> <version>1.7.1-alpha</version> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-exporter-zipkin</artifactId> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-sdk-extension-autoconfigure</artifactId> <version>1.7.1-alpha</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.2.4</version> <dependencies> <dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast-build-utils</artifactId> <version>4.2.2</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>shade</goal> </goals> <phase>package</phase> <configuration> <artifactSet> <includes> <include>*.*</include> </includes> </artifactSet> <createSourcesJar>true</createSourcesJar> <dependencyReducedPomLocation>${project.build.directory}/.</dependencyReducedPomLocation> <outputFile>${project.build.directory}/opentelemetry-autoconf-deps-${project.version}-shaded.jar</outputFile> <shadedArtifactAttached>true</shadedArtifactAttached> <shadeSourcesContent>true</shadeSourcesContent> <transformers> <transformer implementation="com.hazelcast.buildutils.HazelcastManifestTransformer"> <!-- the tag below is required due to a missing null-check it seems --> <overrideInstructions /> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
