Skip to content

Commit

Permalink
Added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
suddendust committed Oct 17, 2024
1 parent 5b4e091 commit 4b4a94d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public abstract class PinotJMXToPromMetricsTest {
LABEL_VAL_RAW_TABLENAME, LABEL_KEY_TABLETYPE, LABEL_VAL_TABLETYPE_REALTIME);

protected HTTPServer startExporter(PinotComponent pinotComponent) {
//See: https://github.com/prometheus/jmx_exporter/blob/a3b9443564ff5a78c25fd6566396fda2b7cbf216/jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java#L48
String args = String.format("%s:%s/%s", 0, CONFIG_DIR, PINOT_COMPONENT_CONFIG_FILE_MAP.get(pinotComponent));
try {
JMXExporterConfig config = parseExporterConfig(args, "0.0.0.0");
Expand Down

0 comments on commit 4b4a94d

Please sign in to comment.