@Component public class GraphiteClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphiteClient.GraphiteEventRequest |
static class |
GraphiteClient.GraphiteRenderResponseItem |
static class |
GraphiteClient.IncompleteDataException |
| Constructor and Description |
|---|
GraphiteClient() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,double[]> |
loadMetrics(Map<String,String> metrics,
long fromEpochSecond,
long toEpochSecond) |
void |
storeEvent(GraphiteClient.GraphiteEventRequest request) |
@Retryable(value=org.springframework.web.client.RestClientException.class,
backoff=@Backoff(value=1000L))
public void storeEvent(GraphiteClient.GraphiteEventRequest request)
@Retryable(value={org.springframework.web.client.RestClientException.class,GraphiteClient.IncompleteDataException.class},
backoff=@Backoff(delay=5000L,multiplier=2.0),
maxAttempts=4)
public Map<String,double[]> loadMetrics(Map<String,String> metrics,
long fromEpochSecond,
long toEpochSecond)
Copyright © 2015–2020. All rights reserved.