Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractLocalImportName ¶
ExtractLocalImportName returns last part of the import path ignoring a version suffix
Types ¶
type AWSSDK ¶
type AWSSDK struct { InstanaPkg string // contains filtered or unexported fields }
AWSSDK instruments github.com/aws/aws-sdk-go/aws/session package with Instana
func (*AWSSDK) ImportPath ¶
ImportPath returns instrumentation import path
type DatabaseSQL ¶
type DatabaseSQL struct { InstanaPkg string // contains filtered or unexported fields }
DatabaseSQL instruments database/sql package with Instana
func NewDatabaseSQL ¶
func NewDatabaseSQL() *DatabaseSQL
func (*DatabaseSQL) ImportPath ¶
func (recipe *DatabaseSQL) ImportPath() string
ImportPath returns instrumentation import path
func (*DatabaseSQL) Instrument ¶
func (recipe *DatabaseSQL) Instrument(fset *token.FileSet, node ast.Node, targetPkg, sensorVar string) (changed bool)
Instrument instruments sql.Open()
type Echo ¶
type Echo struct { InstanaPkg string // contains filtered or unexported fields }
Echo instruments github.com/labstack/echo/v4 package with Instana
func (*Echo) ImportPath ¶
ImportPath returns instrumentation import path
type GRPC ¶
type GRPC struct {
InstanaPkg string
}
GRPC instruments google.golang.org/grpc package with Instana
func (*GRPC) ImportPath ¶
ImportPath returns instrumentation import path
type Gin ¶
type Gin struct { InstanaPkg string // contains filtered or unexported fields }
Gin instruments github.com/labstack/gin/v4 package with Instana
func (*Gin) ImportPath ¶
ImportPath returns instrumentation import path
type HttpRouter ¶
type HttpRouter struct {
InstanaPkg string
}
HttpRouter instruments the github.com/julienschmidt/httprouter package with Instana
func (*HttpRouter) ImportPath ¶
func (recipe *HttpRouter) ImportPath() string
ImportPath returns the instrumentation import path
func (*HttpRouter) Instrument ¶
func (recipe *HttpRouter) Instrument(fset *token.FileSet, f ast.Node, targetPkg, sensorVar string) (changed bool)
Instrument applies the recipe to the ast Node
type Lambda ¶
type Lambda struct {
InstanaPkg string
}
Lambda instruments github.com/aws/aws-lambda-go package with Instana
func (*Lambda) ImportPath ¶
ImportPath returns instrumentation import path
type Mongo ¶
type Mongo struct { InstanaPkg string // contains filtered or unexported fields }
Mongo instruments go.mongodb.org/mongo-driver/mongo package with Instana
func (*Mongo) ImportPath ¶
ImportPath returns instrumentation import path
type Mux ¶
type Mux struct { InstanaPkg string // contains filtered or unexported fields }
Mux instruments github.com/gorilla/mux package with Instana
func (*Mux) ImportPath ¶
ImportPath returns instrumentation import path
type NetHTTP ¶
type NetHTTP struct {
InstanaPkg string
}
NetHTTP instruments net/http package with Instana
func NewNetHTTP ¶
func NewNetHTTP() *NetHTTP
func (*NetHTTP) ImportPath ¶
ImportPath returns instrumentation import path
type Sarama ¶
type Sarama struct { InstanaPkg string // contains filtered or unexported fields }
Sarama instruments github.com/Shopify/sarama package with Instana
func (*Sarama) ImportPath ¶
ImportPath returns instrumentation import path