Interface Metrics


  • public interface Metrics
    Metrics API

    allows publishing metrics to the metrics domain

    Since:
    1.4.14
    See Also:
    GlueApplication.metrics()
    • Method Detail

      • featureMetric

        CompletionStage<Void> featureMetric​(String feature,
                                            String action,
                                            String payload)
        Publishes a feature-action-value metric.
        Parameters:
        feature - the main feature you want to gather information about, must not be null
        action - the specific action you want to track, must not be null
        payload - the value you are interested in
        Returns:
        a stage that will complete when metrics message is sent to gateway, never null