public enum MetricsBackend extends Enum<MetricsBackend>
| Enum Constant and Description |
|---|
CLOUDWATCH
Publish metrics via the existing CloudWatch PutMetricData API.
|
OTEL
Native OpenTelemetry library instrumentation backend.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricsBackend |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsBackend[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsBackend CLOUDWATCH
public static final MetricsBackend OTEL
Meter instruments (counters, histograms) using only the opentelemetry-api
dependency. The application owner configures exporters and resource attributes through
standard OTel SDK autoconfiguration.public static MetricsBackend[] values()
for (MetricsBackend c : MetricsBackend.values()) System.out.println(c);
public static MetricsBackend valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2026. All rights reserved.