redisreceiver.json•1.64 kB
{
"fields": [
{
"name": "Username",
"type": "string",
"description": "TODO: Use one of the configs from core. The target endpoint. TODO allow users to add additional resource key value pairs? Optional username. Use the specified Username to authenticate the current connection with one of the connections defined in the ACL list when connecting to a Redis 6.0 instance, or greater, that is using the Redis ACL system.",
"required": true,
"mapstructureTag": "username"
},
{
"name": "Password",
"type": "configopaque.String",
"description": "Optional password. Must match the password specified in the requirepass server configuration option, or the user's password when connecting to a Redis 6.0 instance, or greater, that is using the Redis ACL system.",
"required": true,
"mapstructureTag": "password"
},
{
"name": "TLS",
"type": "configtls.ClientConfig",
"description": "",
"required": false,
"mapstructureTag": "tls,omitempty"
},
{
"name": "MetricsBuilderConfig",
"type": "metadata.MetricsBuilderConfig",
"description": "",
"required": true,
"mapstructureTag": ",squash"
}
],
"imports": [
"fmt",
"net",
"go.opentelemetry.io/collector/config/confignet",
"go.opentelemetry.io/collector/config/configopaque",
"go.opentelemetry.io/collector/config/configtls",
"go.opentelemetry.io/collector/scraper/scraperhelper",
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/redisreceiver/internal/metadata"
],
"packageName": "redisreceiver"
}