Skip to content

Commit c89e527

Browse files
authored
Merge pull request #5 from SylvainJuge/update-readme
prepare PR to be merged
2 parents ea46e8d + 317fcde commit c89e527

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

jmx-scraper/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# JMX Metric Scraper
22

33
This utility provides a way to query JMX metrics and export them to an OTLP endpoint.
4-
The JMX MBeans and their metrics mapping is defined in YAML.
4+
The JMX MBeans and their metrics mapping is defined in YAML and is reusing implementation from
5+
[jmx-metrics instrumentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/jmx-metrics).
56

6-
This is currently experimental, but the end goal is to provide an alternative to the [jmx-metrics](../jmx-metrics/README.md) utility.
7+
This is currently a work-in-progress component not ready to be used in production.
8+
The end goal is to provide an alternative to the [JMX Gatherer](../jmx-metrics/README.md) utility.

jmx-scraper/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ plugins {
33
id("com.github.johnrengelman.shadow")
44

55
id("otel.java-conventions")
6-
id("otel.publish-conventions")
6+
7+
// publishing disabled until component is ready to be used
8+
// id("otel.publish-conventions")
79
}
810

911
description = "JMX metrics scraper"
@@ -16,11 +18,11 @@ dependencies {
1618
implementation("io.opentelemetry:opentelemetry-sdk")
1719
implementation("io.opentelemetry:opentelemetry-sdk-metrics")
1820
implementation("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
19-
implementation("io.opentelemetry:opentelemetry-sdk-testing")
2021

2122
implementation("io.opentelemetry.instrumentation:opentelemetry-jmx-metrics")
2223

2324
testImplementation("org.junit-pioneer:junit-pioneer")
25+
testImplementation("io.opentelemetry:opentelemetry-sdk-testing")
2426
}
2527

2628
testing {

0 commit comments

Comments
 (0)