Class PrometheusToRecordParser

java.lang.Object
com.arpnetworking.metrics.mad.parsers.PrometheusToRecordParser
All Implemented Interfaces:
Parser<List<Record>,HttpRequest>

public final class PrometheusToRecordParser extends Object implements Parser<List<Record>,HttpRequest>
Parses the Prometheus protobuf binary protocol into records.
Author:
Bruno Green (bruno dot green at gmail dot com)
  • Constructor Details

    • PrometheusToRecordParser

      public PrometheusToRecordParser(boolean interpretUnits, boolean outputDebugInfo, HashSet<String> reservedNameWhitelist)
      public constructor.
      Parameters:
      interpretUnits - specifies whether to interpret units.
      outputDebugInfo - specifies whether to output debug files.
      reservedNameWhitelist - specifies the whitelist set for reserved names (names with aggregation keys).
  • Method Details