Interface TimeSeriesBuilder


  • public interface TimeSeriesBuilder
    Allows to add labels and samples to an underlying protobuf builder.

    The metric name is just a special kind of label. Therefore setMetricName(String) should be called only once.

    Label names and metric names are sanitized according to Cortex requirements.