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

Top 1.9% on proxy.golang.org
Top 1.8% dependent packages on proxy.golang.org
Top 1.7% dependent repos on proxy.golang.org
Top 1.7% forks on proxy.golang.org
Top 2.1% docker downloads on proxy.golang.org

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

Package nrlogrusplugin decorates logs for sending to the New Relic backend. Use this package if you already send your logs to New Relic and want to enable linking between your APM events and traces with your logs. Since Logrus is completely api-compatible with the stdlib logger, you can replace your `"log"` imports with `log "github.com/sirupsen/logrus"` and follow the steps below to enable the logging product for use with the stdlib Go logger. Using `logger.WithField` (https://godoc.org/github.com/sirupsen/logrus#Logger.WithField) and `logger.WithFields` (https://godoc.org/github.com/sirupsen/logrus#Logger.WithFields) is supported. However, if the field key collides with one of the keys used by the New Relic Formatter, the value will be overwritten. Reserved keys are those found in the `logcontext` package (https://godoc.org/github.com/newrelic/go-agent/v3/integrations/logcontext/#pkg-constants). Supported types for `logger.WithField` and `logger.WithFields` field values are numbers, booleans, strings, and errors. Func types are dropped and all other types are converted to strings. Requires v1.4.0 of the Logrus package or newer. For the best linking experience be sure to enable Distributed Tracing: To enable log decoration, set your log's formatter to the `nrlogrusplugin.ContextFormatter` or if you are using the logrus standard logger The logger will now look for a newrelic.Transaction inside its context and decorate logs accordingly. Therefore, the Transaction must be added to the context and passed to the logger. For example, this logging call must be transformed to include the context, such as: When properly configured, your log statements will be in JSON format with one message per line: If the `trace.id` key is missing, be sure that Distributed Tracing is enabled and that the Transaction context has been added to the logger using `WithContext` (https://godoc.org/github.com/sirupsen/logrus#Logger.WithContext).

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/newrelic/go-agent/v3/integrations/logcontext/nrlogrusplugin
License: Apache-2.0
Latest release: 5 months ago
First release: almost 6 years ago
Namespace: github.com/newrelic/go-agent/v3/integrations/logcontext
Dependent packages: 9
Dependent repositories: 10
Stars: 692 on GitHub
Forks: 280 on GitHub
Docker dependents: 1
Docker downloads: 10
See more repository details: repos.ecosyste.ms
Last synced: about 22 hours ago

Top 6.3% on proxy.golang.org
github.com/cloudknit-io/cloudknit/event-service v0.0.0-20230920160553-0d3263e8760a
Open Source Solution for Managing Cloud Environments
24 versions - Latest release: about 2 years ago - 52 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/compuzest/zlifecycle-il-operator v0.0.35
Open Source Solution for Managing Cloud Environments
34 versions - Latest release: about 3 years ago - 52 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/kfsoftware/statuspage v0.0.3
24 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/diegodesousas/go-boilerplate-example v0.0.0-20220116153907-830c497d0f77
1 version - Latest release: almost 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
bitbucket.org/leanplando/logger v0.0.0-20211101054752-f6e1edec8bce
1 version - Latest release: about 4 years ago
Top 8.2% on proxy.golang.org
github.com/diegodesousas/clean-boilerplate-go v0.0.0-20210701231018-cf4d00b06827
Golang boilerplate clean architecture based
1 version - Latest release: over 4 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/eveisesi/athena v0.0.0-20210309015103-d8ef1d0318be
1 version - Latest release: over 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/eveisesi/zrule v1.3.2
18 versions - Latest release: almost 5 years ago - 0 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.