This check monitors Hudi.
It is compatible with Hudi versions 0.10.0
and above.
The Hudi check is included in the Datadog Agent package. No additional installation is needed on your server.
-
Configure the JMX Metrics Reporter in Hudi:
hoodie.metrics.on=true hoodie.metrics.reporter.type=JMX hoodie.metrics.jmx.host=<JMX_HOST> hoodie.metrics.jmx.port=<JMX_PORT>
-
Edit the
hudi.d/conf.yaml
file, in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your hudi performance data. See the sample hudi.d/conf.yaml for all available configuration options.This check has a limit of 350 metrics per instance. The number of returned metrics is indicated when running the Datadog Agent status command. You can specify the metrics you are interested in by editing the configuration. To learn how to customize the metrics to collect see the JMX Checks documentation for more detailed instructions. If you need to monitor more metrics, contact Datadog support.
Run the Agent's status
subcommand and look for hudi
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
Available for Agent versions >6.0
-
Hudi uses the
log4j
logger by default. To customize the format, edit thelog4j.properties
file in either your Flink or Sparkconf
directory. An examplelog4j.properties
file is:log4j.rootCategory=INFO, file log4j.appender.file=org.apache.log4j.FileAppender log4j.appender.file.File=/var/log/hudi.log log4j.appender.file.append=false log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c %x - %m%n
-
By default, Datadog's integration pipeline supports the following conversion pattern:
%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c %x - %m%n
An example of a valid timestamp is:
2020-02-03 18:43:12,251
.Clone and edit the integration pipeline if you have a different format.
-
Collecting logs is disabled by default in the Datadog Agent, enable it in your
datadog.yaml
file:logs_enabled: true
-
Uncomment and edit the logs configuration block in your
hudi.d/conf.yaml
file. Change thepath
andservice
parameter values based on your environment. See the sample hudi.d/conf.yaml for all available configuration options.logs: - type: file path: /var/log/hudi.log source: hudi log_processing_rules: - type: multi_line pattern: \d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01]) name: new_log_start_with_date
The Hudi integration does not include any events.
See service_checks.json for a list of service checks provided by this integration.
Need help? Contact Datadog support.