Platform | Metrics | Logs | Traces |
---|---|---|---|
Linux | ✓ | ✓ | |
Windows | ✓ | ✓ | |
macOS | ✓ | ✓ |
Parameter | Type | Default | Description |
---|---|---|---|
telemetry_types | telemetrySelector |
["Logs", "Metrics"] |
Choose Telemetry Type. |
collection_interval | int |
60 | Sets how often (seconds) to scrape for metrics. |
address | string |
localhost | IP address or hostname to scrape for JMX metrics. |
port | int |
8004 | Port to scrape for JMX metrics. |
jar_path | string |
“/opt/opentelemetry-java-contrib-jmx-metrics.jar” | Full path to the JMX metrics jar. |
enable_datanode_logs | bool |
true | Enable to collect datanode logs. |
datanode_log_path | strings |
“/usr/local/hadoop/logs/hadoop--datanode-.log” | File paths to tail for datanode logs. |
enable_resourcemgr_logs | bool |
true | Enable to collect resource manager logs. |
resourcemgr_log_path | strings |
“/usr/local/hadoop/logs/hadoop--resourcemgr-.log” | File paths to tail for resource manager logs. |
enable_namenode_logs | bool |
true | Enable to collect namenode logs. |
namenode_log_path | strings |
“/usr/local/hadoop/logs/hadoop--namenode-.log” | File paths to tail for namenode logs. |
start_at | enum |
end | Start reading the file from the ‘beginning’ or ’end’. |