@Extension
public class WavefrontMonitor
extends hudson.model.AperiodicWork
| Constructor and Description |
|---|
WavefrontMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeWavefrontSender() |
static com.wavefront.sdk.proxy.WavefrontProxyClient |
createWavefrontProxyClient() |
protected void |
doAperiodicRun() |
static WavefrontMonitor |
getCurrentTask() |
static WavefrontMonitor |
getInstance() |
hudson.model.AperiodicWork |
getNewInstance() |
long |
getRecurrencePeriod() |
static com.wavefront.sdk.proxy.WavefrontProxyClient |
getWavefrontSender() |
static boolean |
isWavefrontSenderInitialized() |
void |
sendMetricsToWavefront(String metricName,
double metricValue,
String source) |
void |
sendMetricsToWavefront(String labelName,
hudson.model.LoadStatistics.LoadStatisticsSnapshot computeSnapshot,
String source) |
void |
sendMetricsToWavefront(SystemMetrics.SystemMetricsSnapshot snapshot,
String source) |
void |
sendMetricsToWavefrontFromLabels(String source) |
void |
setWavefrontSenderClosed(boolean isClosed) |
cancel, scheduledExecutionTimepublic hudson.model.AperiodicWork getNewInstance()
getNewInstance in class hudson.model.AperiodicWorkprotected void doAperiodicRun()
doAperiodicRun in class hudson.model.AperiodicWorkpublic long getRecurrencePeriod()
getRecurrencePeriod in class hudson.model.AperiodicWorkpublic void sendMetricsToWavefront(SystemMetrics.SystemMetricsSnapshot snapshot, String source) throws IOException
IOExceptionpublic void sendMetricsToWavefrontFromLabels(String source) throws IOException
IOExceptionpublic void sendMetricsToWavefront(String labelName, hudson.model.LoadStatistics.LoadStatisticsSnapshot computeSnapshot, String source) throws IOException
IOExceptionpublic void sendMetricsToWavefront(String metricName, double metricValue, String source) throws IOException
IOExceptionpublic static com.wavefront.sdk.proxy.WavefrontProxyClient createWavefrontProxyClient()
public static WavefrontMonitor getInstance()
public static com.wavefront.sdk.proxy.WavefrontProxyClient getWavefrontSender()
public static boolean isWavefrontSenderInitialized()
public void closeWavefrontSender()
public static WavefrontMonitor getCurrentTask()
public void setWavefrontSenderClosed(boolean isClosed)
Copyright © 2016–2020. All rights reserved.