← All recipes
Moderne licensed

Find newrelic-telemetry-sdk-go usage

Recipe IDorg.openrewrite.golang.migration.FindNewRelicTelemetrySdkUsageArtifactgithub.com/moderneinc/recipes-go

Mark every github.com/newrelic/newrelic-telemetry-sdk-go/telemetry construct with the OpenTelemetry Go SDK shape that replaces it, so the parts no recipe can move mechanically — the harvester wiring, spans, events and logs — are enumerated for a hand migration.

Single recipeProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe org.openrewrite.golang.migration.FindNewRelicTelemetrySdkUsage

If the recipe isn’t available locally, install it with:

mod config recipes go install github.com/moderneinc/recipes-go