Documentation
¶
Overview ¶
Package postgresql is a Metricbeat module that contains MetricSets.
Package postgresql is Metricbeat module for PostgreSQL server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvPassword ¶
func GetEnvPassword() string
func GetEnvUsername ¶
func GetEnvUsername() string
func ParseURL ¶
ParseURL parses the given URL and overrides the values of username, password and timeout if given. Returns a connection string in the form of `user=pass` ready to be passed to the sql.Open call. Code adapted from the pg driver: https://github.com/lib/pq/blob/master/url.go#L32
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.