eclipse / microprofile-telemetry

microprofile telemetry
Apache License 2.0
19 stars 18 forks source link

Expose OpenTelemetry APIs via MP Telemetry #209

Closed Emily-Jiang closed 5 months ago

Emily-Jiang commented 5 months ago

Fixes: #210

Azquelt commented 5 months ago

Also need to test this to check it actually functions as we want.

I think the two use cases are:

Edit: Tested that this does work:

        <dependency>
            <groupId>org.eclipse.microprofile.telemetry</groupId>
            <artifactId>microprofile-telemetry-api</artifactId>
            <version>2.0-SNAPSHOT</version>
            <type>pom</type>
            <scope>provided</scope>
        </dependency>

and if we update the umbrella API with a dependency on this API, this also works:

        <dependency>
            <groupId>org.eclipse.microprofile</groupId>
            <artifactId>microprofile</artifactId>
            <version>7.0-SNAPSHOT</version>
            <type>pom</type>
            <scope>provided</scope>
        </dependency>

I did have issues building the umbrella javadoc, but I'll raise a separate issue for that.