Interface ProcessAnalyticsTracer


  • public interface ProcessAnalyticsTracer
    This interface defines a collect tracer. This tracer must be used to collect data during a process.
    Author:
    pchretien, npiedeloup
    • Method Detail

      • incMeasure

        ProcessAnalyticsTracer incMeasure​(String name,
                                          double value)
        Increments a measure (creates if not exists).
        Parameters:
        name - the name of the measure
        value - the increment of the measure
        Returns:
        this tracer
      • setMeasure

        ProcessAnalyticsTracer setMeasure​(String name,
                                          double value)
        Sets a value to the measure. (cleans if exists) You should use it when you have an exception. so you define explicitly one single value.
        Parameters:
        name - the name of the measure
        value - the value of the measure
        Returns:
        this tracer
      • addTag

        ProcessAnalyticsTracer addTag​(String name,
                                      String value)
        Sets a value to a specific tag. (cleans if exists)
        Parameters:
        name - the name of the tag
        value - the value of the tag
        Returns:
        this tracer