An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.9% on proxy.golang.org
Top 5.8% dependent packages on proxy.golang.org
Top 1.6% dependent repos on proxy.golang.org
Top 1.7% forks on proxy.golang.org

proxy.golang.org : github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo

Package nrgraphqlgo instruments https://github.com/graphql-go/graphql applications. This package creates an Extension that adds segment instrumentation for each portion of the GraphQL execution (Parse, Validation, Execution, ResolveField) to your GraphQL request transactions. Errors in any of these steps will be noticed using NoticeError (https://godoc.org/github.com/newrelic/go-agent/v3/newrelic#Transaction.NoticeError) Please note that you must also instrument your web request handlers and put the transaction into the context object in order to utilize this instrumentation. For example, you could use newrelic.WrapHandle (https://godoc.org/github.com/newrelic/go-agent/v3/newrelic#WrapHandle) or newrelic.WrapHandleFunc (https://godoc.org/github.com/newrelic/go-agent/v3/newrelic#WrapHandleFunc) or you could use a New Relic integration for the web framework you are using if it is available (for example, https://godoc.org/github.com/newrelic/go-agent/v3/integrations/nrgorilla) For a complete example, including instrumenting a graphql-go-handler, see: https://github.com/newrelic/go-agent/tree/master/v3/integrations/nrgraphqlgo/example/main.go

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/newrelic/go-agent/v3/integrations/nrgraphqlgo
License: Apache-2.0
Latest release: 4 months ago
First release: about 5 years ago
Namespace: github.com/newrelic/go-agent/v3/integrations
Dependent packages: 1
Dependent repositories: 11
Stars: 692 on GitHub
Forks: 280 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 10 days ago

    Loading...
    Readme
    Loading...