Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Datastore newrelic.DatastoreProduct DBName string Host string PortPathOrID string }
Config contains metadata to send to New Relic.
type Option ¶
type Option func(*Config)
Option configures a Config object.
func WithDatastore ¶
func WithDatastore(d newrelic.DatastoreProduct) Option
WithDatastore sets a datestore type.
func WithPortPathOrID ¶
WithPortPathOrID sets a DB port, path or id.
Click to show internal directories.
Click to hide internal directories.