v2fix

command module
v0.0.0-...-25d82fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2025 License: Apache-2.0, BSD-3-Clause Imports: 2 Imported by: 0

README

v2 Migration Tool

Features

The migration tool will help developers to upgrade your tracing code from dd-trace-go version v1.x to v2.0.0. By running this tool, you will be able to make quick fixes for multiple changes described in our documentation in a best-effort basis. Some changes cannot be fully automated, please use this for your gradual code repair efforts.

Running the Tool

Use the migration tool by running:

go install github.com/DataDog/dd-trace-go/tools/v2fix@latest
# In your repository's directory
v2fix .

In order to apply all suggested fixes, run:

v2fix -fix .

Further Reading

For more information about migrating to v2, go to:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL