When set to true disables verifying the server's certificate chain and host name. The connection is still encrypted but server identity is not verified.
ca_file
Path to the CA cert. For a client this verifies the server certificate. Should only be used if insecure is set to false.
cert_file
Path to the TLS cert to use for TLS required connections. Should only be used if insecure is set to false.
key_file
Path to the TLS key to use for TLS required connections. Should only be used if insecure is set to false.
The full list of settings exposed for this exporter are documented here.
type Config struct {
config.ExporterSettings `mapstructure:",squash"`
confighttp.HTTPClientSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct.exporterhelper.QueueSettings `mapstructure:"sending_queue"`
exporterhelper.RetrySettings `mapstructure:"retry_on_failure"`
// DSN is a data source name for your Uptrace project.// Example: https://<key>@api.uptrace.dev/<project_id>
DSN string `mapstructure:"dsn"`
}