We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think it's really simple like mssql plugin. Would you add it for 1.3.0 patch. Thanks
package avatica import ( "database/sql" avatica "github.com/apache/calcite-avatica-go/v5" "github.com/pinpoint-apm/pinpoint-go-agent" ) var dbInfo = pinpoint.DBInfo{ ParseDSN: parseDSN, } func init() { dbInfo.DBType = pinpoint.ServiceTypeAvatica dbInfo.QueryType = pinpoint.ServiceTypeAvaticaExecuteQuery sql.Register("sqlserver-avatica", pinpoint.WrapSQLDriver(&avatica.Driver{}, dbInfo)) } func parseDSN(info *pinpoint.DBInfo, dsn string) { cfg, err := avatica.ParseDSN(dsn) if nil != err { return } info.DBName = cfg.Database info.DBHost = cfg.Host }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think it's really simple like mssql plugin. Would you add it for 1.3.0 patch. Thanks
The text was updated successfully, but these errors were encountered: