Class LoggingMetricsReporter

java.lang.Object
org.apache.polaris.service.metrics.LoggingMetricsReporter
All Implemented Interfaces:
IcebergMetricsReporter

@ApplicationScoped @Identifier("default") public class LoggingMetricsReporter extends Object implements IcebergMetricsReporter
Default implementation of IcebergMetricsReporter that logs metrics to the configured logger.

This implementation is selected when polaris.iceberg-metrics.reporting.type is set to "default" (the default value).

By default, logging is disabled. To enable metrics logging, set the logger level for org.apache.polaris.extension.metrics.reports to INFO in your logging configuration.

See Also:
  • Constructor Details

    • LoggingMetricsReporter

      public LoggingMetricsReporter()
      Creates a new LoggingMetricsReporter that logs metrics to the class logger.
  • Method Details