public interface WavefrontEventSender
| Modifier and Type | Method and Description |
|---|---|
void |
sendEvent(java.lang.String name,
long startMillis,
long endMillis,
java.lang.String source,
java.util.Map<java.lang.String,java.lang.String> tags,
java.util.Map<java.lang.String,java.lang.String> annotations)
Sends the given event to Wavefront
|
void sendEvent(java.lang.String name,
long startMillis,
long endMillis,
@Nullable
java.lang.String source,
@Nullable
java.util.Map<java.lang.String,java.lang.String> tags,
@Nullable
java.util.Map<java.lang.String,java.lang.String> annotations)
throws java.io.IOException
name - The name of the event. Spaces are replaced with '-' (dashes) and
quotes will be automatically escaped.startMillis - The timestamp in milliseconds when the event was started.endMillis - The timestamp in milliseconds when the event was ended.source - The source (or host) that's sending the event. If null, then assigned
by Wavefront.tags - The tags associated with this event.annotations - The annotations (details, type, severity, e.g.) associated with this eventjava.io.IOException - if there was an error sending the event.Copyright © 2023. All rights reserved.