DoubleHistogram Interface
public interface DoubleHistogram
A histogram instrument that records long
values.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isEnabled()
Flag indicating if metric implementation is detected and functional, use it to minimize performance impact associated with metrics, e. |
abstract void |
record(double value, TelemetryAttributes attributes, Context context)
Records a value with a set of attributes. |
Method Details
isEnabled
public abstract boolean isEnabled()
Flag indicating if metric implementation is detected and functional, use it to minimize performance impact associated with metrics, e.g. measuring latency.
Returns:
true
if enabled, false
otherwiserecord
public abstract void record(double value, TelemetryAttributes attributes, Context context)
Records a value with a set of attributes.
Parameters:
value
- The amount of the measurement.
attributes
- Collection of attributes representing metric dimensions.
context
- The explicit context to associate with this measurement.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java