Class ReportPointAddPrefixTransformer

  • All Implemented Interfaces:
    com.google.common.base.Function<wavefront.report.ReportPoint,​wavefront.report.ReportPoint>, Function<wavefront.report.ReportPoint,​wavefront.report.ReportPoint>

    public class ReportPointAddPrefixTransformer
    extends Object
    implements com.google.common.base.Function<wavefront.report.ReportPoint,​wavefront.report.ReportPoint>
    Add prefix transformer. Add a metric name prefix, if defined, to all points. Created by Vasily on 9/15/16.
    • Constructor Detail

      • ReportPointAddPrefixTransformer

        public ReportPointAddPrefixTransformer​(@Nullable
                                               String prefix)
    • Method Detail

      • apply

        @Nullable
        public wavefront.report.ReportPoint apply​(@Nullable
                                                  wavefront.report.ReportPoint reportPoint)
        Specified by:
        apply in interface com.google.common.base.Function<wavefront.report.ReportPoint,​wavefront.report.ReportPoint>
        Specified by:
        apply in interface Function<wavefront.report.ReportPoint,​wavefront.report.ReportPoint>