Resolves #707. Builds on #716. Turns out this wasn't a good first issue because there was some gradle buildSrc work needed to add a file with the version that the source code could read. Lifted the source for this from [opentelemetry-java](https://github.com/open-telemetry/opentelemetry-java/blob/main/buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts#L144-L165). --------- Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
| build.gradle.kts | ||
README.md
Prometheus client bridge
This module can be used to bridge OpenTelemetry metrics into the prometheus-simpleclient library.
Currently only registers with the CollectorRegistry's defaultRegistry.
- Build it with
./gradlew :prometheus-simpleclient-bridge:build
Usage
sdkMeterProvider.registerMetricReader(PrometheusCollector.create());
Component owners
- John Watson, Verta.ai
Learn more about component owners in component_owners.yml.