Interface SinkContext


  • public interface SinkContext
    Context needed for an IMetricsSink to init.

    We distinguish config and context carefully: Config is populated from yaml file and would not be changed anymore, while context is populated in run-time.

    • Method Detail

      • getTopologyName

        String getTopologyName()
      • getCluster

        String getCluster()
      • getEnvironment

        String getEnvironment()
      • getMetricsMgrId

        String getMetricsMgrId()
      • getSinkId

        String getSinkId()
      • exportCountMetric

        void exportCountMetric​(String metricName,
                               long delta)