module Fluent::GoogleCloudOutput::InternalConstants

Internal constants.

Constants

CREDENTIALS_PATH_ENV_VAR
DEFAULT_LOGGING_API_URL
LOCAL_RESOURCE_ID_KEY

The label name of local_resource_id in the json payload. When a record has this field in the payload, we will use the value to retrieve monitored resource from Stackdriver Metadata agent.

LOG_ENTRY_FIELDS_MAP

Map from each field name under LogEntry to corresponding variables required to perform field value extraction from the log record.

PARTIAL_ERROR_FIELD

The name of the WriteLogEntriesPartialErrors field in the error details.

STACKDRIVER_TRACE_ID_REGEXP

The regexp matches stackdriver trace id format: 32-byte hex string. The format is documented in cloud.google.com/trace/docs/reference/v2/rpc/google.devtools.cloudtrace.v1#trace