|
| Status | Initialize (const std::unordered_map< std::string, std::string > &props) override |
| | Initialize the reporter with catalog properties after construction.
|
| |
| Status | Report (const MetricsReport &) override |
| | Report a metrics report.
|
| |
|
bool | initialized () const |
| |
|
const std::unordered_map< std::string, std::string > & | init_props () const |
| |
|
|
static Result< std::unique_ptr< MetricsReporter > > | Make (const std::unordered_map< std::string, std::string > &) |
| |
◆ Initialize()
| Status iceberg::InitializingReporter::Initialize |
( |
const std::unordered_map< std::string, std::string > & |
properties | ) |
|
|
inlineoverridevirtual |
Initialize the reporter with catalog properties after construction.
Called by MetricsReporters::Load() before the first Report() invocation. The default implementation is a no-op. Override to perform property-based setup (e.g., configure endpoints, credentials, sampling rates).
Reimplemented from iceberg::MetricsReporter.
◆ Report()
| Status iceberg::InitializingReporter::Report |
( |
const MetricsReport & |
report | ) |
|
|
inlineoverridevirtual |
Report a metrics report.
Implementations should handle the report according to their purpose (e.g., logging, sending to a metrics service, etc.).
- Parameters
-
| report | The metrics report to process. |
Implements iceberg::MetricsReporter.
The documentation for this class was generated from the following file:
- iceberg/test/metrics_reporter_test.cc