@Path(value="/v2/")
public interface ProxyV2API
| Modifier and Type | Method and Description |
|---|---|
AgentConfiguration |
proxyCheckin(UUID proxyId,
String authorization,
String hostname,
String version,
Long currentMillis,
com.fasterxml.jackson.databind.JsonNode agentMetrics,
Boolean ephemeral)
Register the proxy and transmit proxy metrics to Wavefront servers.
|
void |
proxyConfigProcessed(UUID proxyId)
Reports confirmation that the proxy has processed and accepted the configuration sent from the back-end.
|
void |
proxyError(UUID proxyId,
String details)
Reports an error that occurred in the proxy.
|
javax.ws.rs.core.Response |
proxyReport(UUID proxyId,
String format,
String pushData)
Report batched data (metrics, histograms, spans, etc) to Wavefront servers.
|
@POST @Path(value="proxy/checkin") @Consumes(value="application/json") @Produces(value="application/json") AgentConfiguration proxyCheckin(@HeaderParam(value="X-WF-PROXY-ID") UUID proxyId, @HeaderParam(value="Authorization") String authorization, @QueryParam(value="hostname") String hostname, @QueryParam(value="version") String version, @QueryParam(value="currentMillis") Long currentMillis, com.fasterxml.jackson.databind.JsonNode agentMetrics, @QueryParam(value="ephemeral") Boolean ephemeral)
proxyId - ID of the proxy.authorization - Authorization token.hostname - Host name of the proxy.version - Build version of the proxy.currentMillis - Current time at the proxy (used to calculate clock drift).agentMetrics - Proxy metrics.ephemeral - If true, proxy is removed from the UI after 24 hours of inactivity.@POST
@Consumes(value="text/plain")
@Path(value="proxy/report")
javax.ws.rs.core.Response proxyReport(@HeaderParam(value="X-WF-PROXY-ID")
UUID proxyId,
@QueryParam(value="format")
String format,
String pushData)
proxyId - Proxy Id reporting the result.format - The format of the data (wavefront, histogram, trace, spanLogs)pushData - Push data batch (newline-delimited)@POST
@Path(value="proxy/config/processed")
void proxyConfigProcessed(@HeaderParam(value="X-WF-PROXY-ID")
UUID proxyId)
proxyId - ID of the proxy.Copyright © 2019. All rights reserved.