Interface MetricReporter

    • Method Detail

      • setContext

        void setContext​(Map<String,​String> context)
        Sets the context for the data collected from the collector. This can be if the data is a counter or gauge or histogram, event type of unit can be added to the context. The context must be treated as an immutable map.
        Parameters:
        context - Immutable map of context from the collector.