Interface Annotator
- All Known Implementing Classes:
GrafanaMetricsAnnotator,LoggingAnnotator
public interface Annotator
An implementation of this type is responsible for taking annotation details and
logging them in a useful place.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrecordAnnotation(Annotation annotation) Submit an annotation to some type of annotation store, logging or eventing mechanism.
-
Method Details
-
recordAnnotation
Submit an annotation to some type of annotation store, logging or eventing mechanism. Implementations of this service are responsible for mapping the scenario and labels into appropriate key data, and the details in to a native payload. The least surprising and most obvious mapping should be used in each case.
For details on constructing a useful annotation to submit to this service, see
Annotation.newBuilder()
-