MetricExporterWithTemporalityInterface
            
            extends
                            MetricExporterInterface,                             AggregationTemporalitySelectorInterface                    
                
            in
            
        
    
        
        
Table of Contents
Methods
- export() : bool
 - shutdown() : bool
 - temporality() : string|Temporality|null
 - Returns the temporality to use for the given metric.
 
Methods
export()
    public
                    export(iterable<int, Metric> $batch) : bool
    Parameters
- $batch : iterable<int, Metric>
 
Return values
boolshutdown()
    public
                    shutdown() : bool
    Return values
booltemporality()
Returns the temporality to use for the given metric.
    public
                    temporality(MetricMetadataInterface $metric) : string|Temporality|null
    It is recommended to return MetricMetadataInterface::temporality() if the exporter does not require a specific temporality.
Parameters
- $metric : MetricMetadataInterface
 
Return values
string|Temporality|null —temporality to use, or null to signal that the given metric should not be exported by this exporter