opentelemetry-java-contrib/prometheus-client-bridge
jack-berg 6453d874e9
Jfr streaming version (#721)
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>
2023-02-02 08:27:25 -06:00
..
src Rename prometheus-collector to prometheus-client-bridge and prepare 1.22.0 change log (#689) 2023-01-13 10:42:54 -08:00
README.md Rename prometheus-collector to prometheus-client-bridge and prepare 1.22.0 change log (#689) 2023-01-13 10:42:54 -08:00
build.gradle.kts Jfr streaming version (#721) 2023-02-02 08:27:25 -06:00

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

Learn more about component owners in component_owners.yml.