apm-agent-go: github.com/elastic/apm-agent-go/module/apmsql/pq Index | Files

package apmpq

import "github.com/elastic/apm-agent-go/module/apmsql/pq"

Package apmpq registers the "postgres" driver with apmsql, so that you can trace lib/pq database connections.


Package Files

doc.go init.go parser.go

func ParseDSN Uses

func ParseDSN(name string) apmsql.DSNInfo

ParseDSN parses the given lib/pq datasource name, which may be either a URL or connection string.

Package apmpq imports 10 packages (graph). Updated 2019-12-18. Refresh now. Tools for package owners.