VoidMetricExporter implements MetricExporter
Read onlyYes
FinalYes
No-op metric exporter that discards all data.
Interfaces
- MetricExporter
- Interface for exporting metrics to external systems.
Methods
- export() : bool
- Export a batch of metrics.
- transports() : array<string|int, Transport>
- Get the transports used by this exporter.
Methods
export()
Export a batch of metrics.
public
export(array<string|int, Metric> $metrics) : bool
Parameters
- $metrics : array<string|int, Metric>
Return values
bool —True on success, false on failure
transports()
Get the transports used by this exporter.
public
transports() : array<string|int, Transport>