Package com.tick42.glue.core.metrics
Interface Metrics
-
public interface MetricsMetrics APIallows publishing metrics to the metrics domain
- Since:
- 1.4.14
- See Also:
GlueApplication.metrics()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Void>featureMetric(String feature, String action, String payload)Publishes a feature-action-value metric.
-
-
-
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 benullaction- the specific action you want to track, must not benullpayload- the value you are interested in- Returns:
- a stage that will complete when metrics message is sent to gateway, never
null
-
-