Documentation
¶
Overview ¶
Package googlecloudstorageexporter stores OpenTelemetry data as a Google Cloud Storage exporter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for Google Cloud Storage Exporter
Types ¶
type Config ¶
type Config struct { // ProjectID is the ID of the Google Cloud project the bucket belongs to. ProjectID string `mapstructure:"project_id"` // BucketName is the name of the bucket to store objects in. BucketName string `mapstructure:"bucket_name"` // BucketLocation is the location of the bucket. BucketLocation string `mapstructure:"bucket_location"` // BucketStorageClass is the storage class of the bucket. BucketStorageClass string `mapstructure:"bucket_storage_class"` // FolderName is the name of the folder to store objects under. FolderName string `mapstructure:"folder_name"` // ObjectPrefix is the prefix to add to the object name. ObjectPrefix string `mapstructure:"object_prefix"` // Credentials and CredentialsFile are mutually exclusive and provide authentication to Google Cloud Storage. Credentials string `mapstructure:"credentials"` CredentialsFile string `mapstructure:"credentials_file"` // Partition is the time granularity of the object. // Valid values are "hour" or "minute". Default: minute Partition partitionType `mapstructure:"partition"` // Compression is the type of compression to use. // Valid values are "none" or "gzip". Default: none Compression compressionType `mapstructure:"compression"` // TimeoutConfig configures timeout settings for exporter operations. exporterhelper.TimeoutConfig `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. // QueueConfig defines the queuing behavior for the exporter. exporterhelper.QueueConfig `mapstructure:"sending_queue"` // BackOffConfig defines the retry behavior for failed operations. configretry.BackOffConfig `mapstructure:"retry_on_failure"` }
Config is the configuration for the googlecloudstorage exporter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.