We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 366b81a commit b683c3dCopy full SHA for b683c3d
jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/JmxScraperContainer.java
@@ -100,6 +100,12 @@ public JmxScraperContainer withExtraJar(String jarPath) {
100
return this;
101
}
102
103
+ /**
104
+ * Adds custom metrics yaml from classpath resource
105
+ *
106
+ * @param yamlPath path to resource in classpath
107
+ * @return this
108
+ */
109
@CanIgnoreReturnValue
110
public JmxScraperContainer withCustomYaml(String yamlPath) {
111
this.customYamlFiles.add(yamlPath);
0 commit comments