Interface Meter


  • @ThreadSafe
    public interface Meter
    Meter is a simple, interface that allows users to record measurements (metrics).

    There are two ways to record measurements:

    • Record raw measurements, and defer defining the aggregation and the labels for the exported Instrument. This should be used in libraries like gRPC to record measurements like "server_latency" or "received_bytes".
    • Record pre-defined aggregation data (or already aggregated data). This should be used to report cpu/memory usage, or simple metrics like "queue_length".

    TODO: Update comment.