public static class WavefrontInternalReporter.Builder extends Object
WavefrontInternalReporter instances. Defaults to not using a prefix,
using the default clock, a host named "unknown", no point Tags, and not filtering any metrics.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
WavefrontInternalReporter |
build(com.wavefront.sdk.common.WavefrontSender wavefrontSender)
Builds a
WavefrontInternalReporter with the given properties, sending metrics and
histograms directly to a given Wavefront server using either proxy or direct ingestion APIs. |
WavefrontInternalReporter.Builder |
includeJvmMetrics()
Report JVM metrics for the JVM inside which this reporter is running.
|
WavefrontInternalReporter.Builder |
prefixedWith(String prefix)
Prefix all metric names with the given string.
|
WavefrontInternalReporter.Builder |
reportDayDistribution()
Report histogram distributions aggregated into day intervals
|
WavefrontInternalReporter.Builder |
reportHourDistribution()
Report histogram distributions aggregated into hour intervals
|
WavefrontInternalReporter.Builder |
reportMinuteDistribution()
Report histogram distributions aggregated into minute intervals
|
WavefrontInternalReporter.Builder |
withClock(io.dropwizard.metrics5.Clock clock) |
WavefrontInternalReporter.Builder |
withReporterPointTag(String tagKey,
String tagVal)
Set a point tag for this reporter.
|
WavefrontInternalReporter.Builder |
withReporterPointTags(Map<String,String> reporterPointTags)
Set the Point Tags for this reporter.
|
WavefrontInternalReporter.Builder |
withScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
WavefrontInternalReporter.Builder |
withSource(String source)
Set the source for this reporter.
|
public WavefrontInternalReporter.Builder withScheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
public WavefrontInternalReporter.Builder withClock(io.dropwizard.metrics5.Clock clock)
public WavefrontInternalReporter.Builder prefixedWith(String prefix)
prefix - the prefix for all metric namesthispublic WavefrontInternalReporter.Builder withSource(String source)
source - the host for all metricsthispublic WavefrontInternalReporter.Builder withReporterPointTags(Map<String,String> reporterPointTags)
reporterPointTags - the pointTags Map for all metricsthispublic WavefrontInternalReporter.Builder withReporterPointTag(String tagKey, String tagVal)
tagKey - the key of the Point TagtagVal - the value of the Point Tagthispublic WavefrontInternalReporter.Builder reportMinuteDistribution()
thispublic WavefrontInternalReporter.Builder reportHourDistribution()
thispublic WavefrontInternalReporter.Builder reportDayDistribution()
thispublic WavefrontInternalReporter.Builder includeJvmMetrics()
thispublic WavefrontInternalReporter build(com.wavefront.sdk.common.WavefrontSender wavefrontSender)
WavefrontInternalReporter with the given properties, sending metrics and
histograms directly to a given Wavefront server using either proxy or direct ingestion APIs.wavefrontSender - Wavefront Sender to send various Wavefront atoms.WavefrontInternalReporterCopyright © 2022. All rights reserved.