Interface ResourceAttributes
-
public interface ResourceAttributes
A collection of known keys that are used in the attributes.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
Logical name of the service.static String
TELEMETRY_SDK_LANGUAGE
The language of the telemetry SDK.static String
TELEMETRY_SDK_NAME
The name of the telemetry SDK as defined above.static String
TELEMETRY_SDK_VERSION
The version string of the telemetry SDK.
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
Logical name of the service.Notes:
- MUST be the same for all instances of horizontally scaled services. If the value was not
specified, SDKs MUST fallback to
unknown_service:
concatenated withprocess.executable.name
, e.g.unknown_service:bash
. Ifprocess.executable.name
is not available, the value MUST be set tounknown_service
.
- See Also:
- Constant Field Values
- MUST be the same for all instances of horizontally scaled services. If the value was not
specified, SDKs MUST fallback to
-
TELEMETRY_SDK_NAME
static final String TELEMETRY_SDK_NAME
The name of the telemetry SDK as defined above.- See Also:
- Constant Field Values
-
TELEMETRY_SDK_LANGUAGE
static final String TELEMETRY_SDK_LANGUAGE
The language of the telemetry SDK.- See Also:
- Constant Field Values
-
TELEMETRY_SDK_VERSION
static final String TELEMETRY_SDK_VERSION
The version string of the telemetry SDK.- See Also:
- Constant Field Values
-
-