Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToPrometheusTarget ¶
func MapToPrometheusTarget(res pdata.Resource) *monitoredrespb.MonitoredResource
func NewFactory ¶
func NewFactory() component.ExporterFactory
NewFactory creates a factory for the googlemanagedprometheus exporter
Types ¶
type Config ¶
type Config struct { config.ExporterSettings `mapstructure:",squash"` GMPConfig `mapstructure:",squash"` // Timeout for all API calls. If not set, defaults to 12 seconds. exporterhelper.TimeoutSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. exporterhelper.QueueSettings `mapstructure:"sending_queue"` exporterhelper.RetrySettings `mapstructure:"retry_on_failure"` }
Config defines configuration for Google Cloud Managed Service for Prometheus exporter.
Click to show internal directories.
Click to hide internal directories.