Package org.apache.beam.sdk.metrics
Interface MetricsOptions
- All Superinterfaces:
HasDisplayData
,PipelineOptions
Extension of
PipelineOptions
that defines MetricsSink
specific options.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
ADefaultValueFactory
that obtains the class of theNoOpMetricsSink
if it exists on the classpath, and throws an exception otherwise.Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory
-
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends MetricsSink> void
setMetricsGraphiteHost
(String host) void
void
setMetricsHttpSinkUrl
(String metricsSink) void
setMetricsPushPeriod
(Long period) void
setMetricsSink
(Class<? extends MetricsSink> metricsSink) Methods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData
populateDisplayData
Methods inherited from interface org.apache.beam.sdk.options.PipelineOptions
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent