Versions in this module Expand all Collapse all v0 v0.0.1 Jul 20, 2022 Changes in this version + var Default = NewRegistry() + type Instrumentation interface + ImportPath func() string + type Recipe interface + Instrument func(fset *token.FileSet, f ast.Node, pkgName, sensorVar string) bool + type Registry struct + func NewRegistry() *Registry + func (r *Registry) InstrumentationImportPath(targetPkg string) string + func (r *Registry) InstrumentationRecipe(targetPkg string) Recipe + func (r *Registry) ListNames() []string + func (r *Registry) Register(targetPkg string, instrumentation Recipe) + func (r *Registry) Unregister(targetPkg string)