public class ObservabilityAttributesUtility class with common attribute names in app-centric observability.
For internal use only.
Static Fields
ARTIFACT_ATTRIBUTE
public static final String ARTIFACT_ATTRIBUTEThe artifact name of the client library (e.g., "google-cloud-vision").
| Field Value | |
|---|---|
| Type | Description |
String |
|
GCP_CLIENT_SERVICE_ATTRIBUTE
public static final String GCP_CLIENT_SERVICE_ATTRIBUTEThe service name of a client (e.g. "bigtable", "spanner").
| Field Value | |
|---|---|
| Type | Description |
String |
|
GRPC_RPC_METHOD_ATTRIBUTE
public static final String GRPC_RPC_METHOD_ATTRIBUTEThe full RPC method name, including package, service, and method.
| Field Value | |
|---|---|
| Type | Description |
String |
|
REPO_ATTRIBUTE
public static final String REPO_ATTRIBUTEThe repository of the client library (e.g., "googleapis/google-cloud-java").
| Field Value | |
|---|---|
| Type | Description |
String |
|
RPC_RESPONSE_STATUS_ATTRIBUTE
public static final String RPC_RESPONSE_STATUS_ATTRIBUTEThe error codes of the request. The value will be the string representation of the canonical gRPC status code (e.g., "OK", "INTERNAL").
| Field Value | |
|---|---|
| Type | Description |
String |
|
RPC_SYSTEM_NAME_ATTRIBUTE
public static final String RPC_SYSTEM_NAME_ATTRIBUTEThe RPC system name, e.g. 'grpc' or 'http'.
| Field Value | |
|---|---|
| Type | Description |
String |
|
SERVER_ADDRESS_ATTRIBUTE
public static final String SERVER_ADDRESS_ATTRIBUTEThe address of the server being called (e.g., "pubsub.googleapis.com").
| Field Value | |
|---|---|
| Type | Description |
String |
|
SERVER_PORT_ATTRIBUTE
public static final String SERVER_PORT_ATTRIBUTEThe port of the server being called (e.g., 443).
| Field Value | |
|---|---|
| Type | Description |
String |
|
URL_DOMAIN_ATTRIBUTE
public static final String URL_DOMAIN_ATTRIBUTEThe url domain of the request (e.g. "pubsub.googleapis.com").
| Field Value | |
|---|---|
| Type | Description |
String |
|
URL_TEMPLATE_ATTRIBUTE
public static final String URL_TEMPLATE_ATTRIBUTEThe url template of the request (e.g. /v1/{name}:access).
| Field Value | |
|---|---|
| Type | Description |
String |
|
Constructors
ObservabilityAttributes()
public ObservabilityAttributes()