Documentation ¶
Index ¶
- func ExtraConfigFromEnvironment() newrelic.ConfigOption
- func MakeNewRelicPlugin(logger restql.Logger) (restql.LifecyclePlugin, error)
- type NewRelicPlugin
- func (n *NewRelicPlugin) AfterQuery(ctx context.Context, query string, result map[string]interface{}) context.Context
- func (n *NewRelicPlugin) AfterRequest(ctx context.Context, request restql.HTTPRequest, response restql.HTTPResponse, ...) context.Context
- func (n *NewRelicPlugin) AfterTransaction(ctx context.Context, tr restql.TransactionResponse) context.Context
- func (n *NewRelicPlugin) BeforeQuery(ctx context.Context, query string, queryCtx restql.QueryContext) context.Context
- func (n *NewRelicPlugin) BeforeRequest(ctx context.Context, request restql.HTTPRequest) context.Context
- func (n *NewRelicPlugin) BeforeTransaction(ctx context.Context, tr restql.TransactionRequest) context.Context
- func (n *NewRelicPlugin) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtraConfigFromEnvironment ¶ added in v1.3.0
func ExtraConfigFromEnvironment() newrelic.ConfigOption
func MakeNewRelicPlugin ¶
func MakeNewRelicPlugin(logger restql.Logger) (restql.LifecyclePlugin, error)
Types ¶
type NewRelicPlugin ¶
type NewRelicPlugin struct {
// contains filtered or unexported fields
}
func (*NewRelicPlugin) AfterQuery ¶
func (*NewRelicPlugin) AfterRequest ¶
func (n *NewRelicPlugin) AfterRequest(ctx context.Context, request restql.HTTPRequest, response restql.HTTPResponse, errordetail error) context.Context
func (*NewRelicPlugin) AfterTransaction ¶
func (n *NewRelicPlugin) AfterTransaction(ctx context.Context, tr restql.TransactionResponse) context.Context
func (*NewRelicPlugin) BeforeQuery ¶
func (n *NewRelicPlugin) BeforeQuery(ctx context.Context, query string, queryCtx restql.QueryContext) context.Context
func (*NewRelicPlugin) BeforeRequest ¶
func (n *NewRelicPlugin) BeforeRequest(ctx context.Context, request restql.HTTPRequest) context.Context
func (*NewRelicPlugin) BeforeTransaction ¶
func (n *NewRelicPlugin) BeforeTransaction(ctx context.Context, tr restql.TransactionRequest) context.Context
func (*NewRelicPlugin) Name ¶
func (n *NewRelicPlugin) Name() string
Click to show internal directories.
Click to hide internal directories.