TelemetryDataKind Class

public final class TelemetryDataKind
extends ExpandableStringEnum<TelemetryDataKind>

The type of telemetry data to export.

Field Summary

Modifier and Type Field and Description
static final TelemetryDataKind CONTAINER_OTEL

Container OpenTelemetry signals.

static final TelemetryDataKind CONTAINER_STDOUT_STDERR

Container stdout and stderr logs.

static final TelemetryDataKind METRICS

Container metrics.

Constructor Summary

Constructor Description
TelemetryDataKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TelemetryDataKind value.

Method Summary

Modifier and Type Method and Description
static TelemetryDataKind fromString(String name)

Creates or finds a TelemetryDataKind from its string representation.

static Collection<TelemetryDataKind> values()

Gets known TelemetryDataKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONTAINER_OTEL

public static final TelemetryDataKind CONTAINER_OTEL

Container OpenTelemetry signals.

CONTAINER_STDOUT_STDERR

public static final TelemetryDataKind CONTAINER_STDOUT_STDERR

Container stdout and stderr logs.

METRICS

public static final TelemetryDataKind METRICS

Container metrics.

Constructor Details

TelemetryDataKind

@Deprecated
public TelemetryDataKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TelemetryDataKind value.

Method Details

fromString

public static TelemetryDataKind fromString(String name)

Creates or finds a TelemetryDataKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TelemetryDataKind.

values

public static Collection<TelemetryDataKind> values()

Gets known TelemetryDataKind values.

Returns:

known TelemetryDataKind values.

Applies to