Class TelemetryOptions
java.lang.Object
codes.grow.packages.otelcollector.TelemetryOptions
Options of
OtelCollectorTelemetry.initTelemetry(OtelCollectorConfig, TelemetryOptions):
per-signal switches over the config, global registration, metric settings and exporter
replacements (tests).-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TelemetryOptions.Builderbuilder()Starts a builder.static TelemetryOptionsdefaults()The defaults: signals from the config, global registration on.booleanReturns whether the providers are registered as the global OpenTelemetry.
-
Method Details
-
defaults
The defaults: signals from the config, global registration on.- Returns:
- options
-
builder
Starts a builder.- Returns:
- a new builder
-
setGlobal
public boolean setGlobal()Returns whether the providers are registered as the global OpenTelemetry.- Returns:
- true by default
-