public static class WavefrontJvmReporter.Builder extends Object
| Constructor and Description |
|---|
Builder(com.wavefront.sdk.common.application.ApplicationTags applicationTags)
Builder to build WavefrontJvmReporter.
|
| Modifier and Type | Method and Description |
|---|---|
WavefrontJvmReporter |
build(com.wavefront.sdk.common.WavefrontSender wavefrontSender)
Build WavefrontJvmReporter.
|
WavefrontJvmReporter.Builder |
reportingIntervalSeconds(int reportingIntervalSeconds)
Set reporting interval i.e.
|
WavefrontJvmReporter.Builder |
withSource(String source)
Set the source tag for your metric and histograms.
|
public Builder(com.wavefront.sdk.common.application.ApplicationTags applicationTags)
applicationTags - metadata about your application that you want to be propagated as
tags when metrics/histograms are sent to Wavefront.public WavefrontJvmReporter.Builder reportingIntervalSeconds(int reportingIntervalSeconds)
reportingIntervalSeconds - reporting interval in seconds.this.public WavefrontJvmReporter.Builder withSource(String source)
source - Name of the source/host where your application is running.this.public WavefrontJvmReporter build(com.wavefront.sdk.common.WavefrontSender wavefrontSender)
wavefrontSender - send data to Wavefront via proxy or direct ingestion.WavefrontJvmReporter.Copyright © 2021. All rights reserved.