Optional
autoEnabled by default, OpenTelemetry will automatically collect telemetry for popular libraries via auto instrumentations without any additional code or configuration. All available instrumentations will be collected, unless otherwise specified via autoInstrumentationConfig.
Optional
autoMap of auto instrumentations and their configuration options. Available options will vary by instrumentation.
Optional
credentialsCredentials for authenticating with Google Cloud. Primarily intended for use in environments outside of GCP. On GCP credentials will typically be inferred from the environment via Application Default Credentials (ADC).
Optional
disableIf set to true, input and output logs will not be collected.
Optional
disableIf set to true, metrics will not be exported to Google Cloud. Traces and logs may still be exported.
Optional
disableIf set to true, traces will not be exported to Google Cloud. Metrics and logs may still be exported.
Optional
forceIf set to true, telemetry data will be exported in the Genkit dev
environment. Useful for local testing and troubleshooting; default is
false.
Optional
instrumentationsAdditional OpenTelemetry instrumentations to include, beyond those provided by auto instrumentations.
Optional
metricMetrics export interval in milliseconds; Google Cloud requires a minimum value of 5000ms.
Optional
metricTimeout for the metrics export in milliseconds.
Optional
projectGoogle Cloud Project ID. If provided, will take precedence over the projectId inferred from the application credential and/or environment. Required when providing an external credential (e.g. Workload Identity Federation.)
Optional
samplerOpenTelemetry sampler; controls the number of traces collected and exported to Google Cloud. Defaults to AlwaysOnSampler, which will collect and export all traces.
There are four built-in samplers to choose from:
Configuration options for the Google Cloud plugin.