All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.maven.io.prometheus.prometheus-metrics-tracer-otel-agent.pom.xml Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>io.prometheus</groupId>
    <artifactId>prometheus-metrics-tracer</artifactId>
    <version>1.3.0</version>
  </parent>

  <artifactId>prometheus-metrics-tracer-otel-agent</artifactId>
  <packaging>bundle</packaging>

  <name>Prometheus Metrics Tracer OpenTelemetry Agent</name>
  <description>
    Prometheus integration with the OpenTelemetry Java agent for distributed tracing.
  </description>

  <properties>
    <automatic.module.name>io.prometheus.metrics.tracer.otel_agent</automatic.module.name>
  </properties>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <id>fstab</id>
      <name>Fabian Stäber</name>
      <email>[email protected]</email>
    </developer>
  </developers>

  <dependencies>
    <dependency>
      <groupId>io.prometheus</groupId>
      <artifactId>prometheus-metrics-tracer-common</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>io.opentelemetry</groupId>
      <artifactId>opentelemetry-api</artifactId>
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <relocations>
                <relocation>
                  <pattern>io.opentelemetry.api</pattern>
                  <shadedPattern>io.opentelemetry.javaagent.shaded.io.opentelemetry.api</shadedPattern>
                </relocation>
              </relocations>
              <artifactSet>
                <excludes>
                  <exclude>io.prometheus:prometheus-metrics-tracer-common</exclude>
                </excludes>
              </artifactSet>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy