Skip to content

Release v3.5.0

Compare
Choose a tag to compare
@newrelic-eheinlein newrelic-eheinlein released this 20 May 22:10
· 1219 commits to master since this release

New Features

  • Added support for Infinite Tracing on New Relic
    Edge
    .

    Infinite Tracing observes 100% of your distributed traces and provides
    visualizations for the most actionable data so you have the examples of errors
    and long-running traces so you can better diagnose and troubleshoot your systems.

    You configure your
    agent

    to send traces to a trace observer in New Relic Edge. You view your
    distributed traces through the New Relic’s UI. There is no need to install a
    collector on your network.

    Infinite Tracing is currently available on a sign-up basis. If you would like to
    participate, please contact your sales representative.

    As part of this change, the Go Agent now has an added dependency on gRPC.
    This is true whether or not you enable the Infinite Tracing feature. The gRPC dependencies include these two libraries:

    You can see the changes in the go.mod file

Changes

  • nrgin.Middleware
    uses
    Context.FullPath()
    for transaction names when using Gin version 1.5.0 or greater. Gin
    transactions were formerly named after the
    Context.HandlerName(),
    which uses reflection. This change improves transaction naming and reduces
    overhead. Please note that because your transaction names will change, you
    may have to update any related dashboards and alerts to match the new name.
    If you wish to continue using Context.HandlerName() for your transaction
    names, use
    nrgin.MiddlewareHandlerTxnNames
    instead.

    // Transactions previously named
    "GET main.handleGetUsers"
    // will be change to something like this match the full path
    "GET /user/:id"

    Note: As part of agent release v3.4.0, a v2.0.0 tag was added to the nrgin
    package. When using go modules however, it was impossible to install this
    latest version of nrgi