Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Configuration Table

ParameterTypeDefaultDescription
enable_metricsbooltrueEnable to send metrics.
collection_intervalint60How often (seconds) to scrape for metrics.
addressstringlocalhostIP address or hostname to scrape for JMX metrics.
portint8004Port to scrape for JMX metrics.
jar_pathstring"/opt/opentelemetry-java-contrib-jmx-metrics.jar"Full path to the JMX metrics jar.
enable_logsbooltrueEnable to send logs.
enable_datanode_logsbooltrueEnable to collect datanode logs.
datanode_log_pathstrings"/usr/local/hadoop/logs/hadoop--datanode-.log"File paths to tail for datanode logs.
enable_resourcemgr_logsbooltrueEnable to collect resource manager logs.
resourcemgr_log_pathstrings"/usr/local/hadoop/logs/hadoop--resourcemgr-.log"File paths to tail for resource manager logs.
enable_namenode_logsbooltrueEnable to collect namenode logs.
namenode_log_pathstrings"/usr/local/hadoop/logs/hadoop--namenode-.log"File paths to tail for namenode logs.
start_atenumendStart reading file from 'beginning' or 'end'.