newrelic / go-agent

New Relic Go Agent
Apache License 2.0
775 stars 295 forks source link

integrations/nrzerolog imports error #950

Closed Meroje closed 1 month ago

Meroje commented 3 months ago

Description

The new integrations/nrzerolog packages imports newrelic/go-agent in its testable example, instead of newrelic/go-agent/v3. This is causing errors with go mod tidy.

Steps to Reproduce

Doesn't need to be in a new repo, just run mod tidy in the nrzerolog integration package.

$ go mod tidy
go: finding module for package github.com/newrelic/go-agent
go: github.m6web.fr/devops/go-fx-core/newrelic imports
    github.com/newrelic/go-agent/v3/integrations/nrzerolog tested by
    github.com/newrelic/go-agent/v3/integrations/nrzerolog.test imports
    github.com/newrelic/go-agent: module github.com/newrelic/go-agent@latest found (v3.34.0+incompatible), but does not contain package github.com/newrelic/go-agent

Expected Behavior

NR Diag results

Your Environment

Reproduction case

Additional context

nr-swilloughby commented 1 month ago

Fixed in 3.35.0