Skip to content

Commit

Permalink
Update receiver/redisreceiver/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Fitzpatrick <[email protected]>
  • Loading branch information
manang-splunk and rmfitzpatrick committed Nov 25, 2021
1 parent 242c39f commit d994568
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion receiver/redisreceiver/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ type Config struct {
Password string `mapstructure:"password"`

TLS configtls.TLSClientSetting `mapstructure:"tls,omitempty"`
//Optional redis instance. Name of the redis instance
// Optional redis instance for identifying resource attribute.
// Can be used to set the reported name of the redis instance,
// with a default of the configured `Endpoint`.
RedisInstance string `mapstructure:"redis_instance"`
}

0 comments on commit d994568

Please sign in to comment.