Returns OTel processors and readers configured for export to Google Cloud.
Sends traces, metrics, and logs via OTLP over HTTP to telemetry.googleapis.com.
On Agent Runtime (GOOGLE_CLOUD_AGENT_ENGINE_ID set) the metric reader is
request-driven and starts no background timer. Custom servers calling
getGcpExporters with maybeSetOtelProviders on Agent Runtime must
wrap each request with agentRuntimeRequestHooks to drive the metric
reader and flush the span and log processors; without those hooks, the reader
never collects except on forceFlush() or shutdown().
Returns OTel processors and readers configured for export to Google Cloud.
Sends traces, metrics, and logs via OTLP over HTTP to telemetry.googleapis.com. On Agent Runtime (
GOOGLE_CLOUD_AGENT_ENGINE_IDset) the metric reader is request-driven and starts no background timer. Custom servers callinggetGcpExporterswith maybeSetOtelProviders on Agent Runtime must wrap each request with agentRuntimeRequestHooks to drive the metric reader and flush the span and log processors; without those hooks, the reader never collects except onforceFlush()orshutdown().