Step-by-step instructions for moving between NxtOne versions, and for migrating from a legacy APM tool.
Migrations are designed to run in-place with zero downtime. Each guide below lists prerequisite versions, exact commands, and a rollback path. If you are coming from another observability tool rather than upgrading NxtOne, skip to the APM migration appendix.
| Field | Value |
|---|---|
| Prerequisite version | 0.1.7 (upgrade to 0.1.7 first if you are older) |
| Breaking changes | NXTONE_KEY removed — use NXTONE_API_KEY |
| Downtime | None |
| Rollback | Supported — see below |
NXTONE_KEY was deprecated in 0.1.7 and is removed in 0.1.8. Services that set only the old name start without a key, so the SDK runs as a no-op. Set the new name before upgrading — both are accepted on 0.1.7, so this step is safe to do on its own and is what keeps the migration zero-downtime:
Bump the NxtOne dependency to the new release in each service, then build and deploy it the way you normally ship:
Before moving to the next service, check that the SDK started cleanly in the one you just deployed:
Revert the dependency bump and redeploy, or roll the Deployment back. Keep NXTONE_API_KEY set — 0.1.7 accepts it, so the rename from step 1 stays in place:
Apply releases in order rather than jumping straight to the newest. Each breaking change assumes the previous one has been made, so skipping an intermediate release means applying two sets of changes blind. Upgrading 0.1.0 → 0.1.8 means going through 0.1.7 first, and doing the credential rename while 0.1.7 still accepts both names.
NxtOne is not a drop-in replacement for a metrics-and-traces APM, and pretending otherwise makes migrations fail. The mapping tables below give the honest equivalent for each concept — including the ones that have no equivalent, which are usually the ones that derail a cutover if you find them late.
| Datadog | NxtOne equivalent | Notes |
|---|---|---|
| APM trace | Execution flow within a session | Captured automatically — there is no equivalent of manual span creation. |
| Span | Observed method frame | Frames are captured at runtime level, so you get local method context Datadog never saw. |
service | NXTONE_PROJECT_ID | One project per service. This is the single most important mapping to get right. |
DD_API_KEY | NXTONE_API_KEY | Same idea, different scoping — NxtOne keys carry read/write/admin scope and an expiry. |
ddtrace-run / -javaagent | The NxtOne SDK | Java: the Spring Boot starter or Nxtone.attach() — no -javaagent flag required. Python: @nxtone.NxtOneAgent. Node.js: --import @nxtone/agent/register. See Installation. |
| Trace sampling rate | Code-path exclusions | Different model: NxtOne narrows what is observed rather than sampling a fraction of it. |
| Custom metrics | No direct equivalent | NxtOne models behaviour, not counters. Keep your metrics pipeline for these. |
| Dashboards and monitors | No direct equivalent | Investigations and natural-language queries replace the workflow, not the widgets. Do not plan to recreate dashboards one for one. |
| OpenTelemetry | NxtOne equivalent | Notes |
|---|---|---|
service.name | NXTONE_PROJECT_ID | Direct mapping. Reuse the value you already have so historical comparisons still line up. |
| Auto-instrumentation libraries | The observation layer | Attaches at runtime level rather than per-library, so coverage does not depend on a library having an instrumentation package. |
| Manual spans | Captured automatically | Existing manual spans keep working under your OTel pipeline; they are not imported into NxtOne. |
| OTLP exporter endpoint | Built into the SDK | The SDK sends directly to the hosted NxtOne API over HTTPS. The endpoint is fixed in public SDK builds — there is no exporter or collector to configure. |
| Sampler configuration | Code-path exclusions | Exclusions are deterministic — no probabilistic gaps in the behavioral map. |
| Resource attributes | Partial | Project and session identity map cleanly; arbitrary resource attributes do not carry over. |
| Metrics and logs signals | No direct equivalent | NxtOne covers the trace/behaviour signal. Keep OTel for metrics and logs. |
| Sentry | NxtOne equivalent | Notes |
|---|---|---|
| Error event | Throw frame in an execution flow | Captured with the surrounding execution context rather than as a standalone event. |
| Breadcrumbs | Execution flow | The flow is the full path, not a truncated trail of recent events. |
| Stack trace with source context | Application code mapping | Links execution to your repository so investigations show the exact code. |
DSN | NXTONE_API_KEY | Both identify the project and authenticate ingest. |
| Source maps upload | Automatic during code mapping | No separate upload step in the build. |
| Release health, alert rules | No direct equivalent | Keep Sentry for release-health alerting if you rely on it. |
Run both tools in parallel and let the old one prove the new one. Nothing is decommissioned until NxtOne has been correct on a real incident:
| Phase | What you do | Checkpoint before moving on |
|---|---|---|
| 1. Dual-ship | Add the NxtOne SDK alongside the existing APM agent on one non-critical service. | Both tools report the service. Latency and error rate unchanged from the pre-install baseline. |
| 2. Compare | Replay a known incident, or induce a failure in staging, and diagnose it with both tools. | NxtOne reaches the same root cause. If it does not, find out why before widening. |
| 3. Expand | Roll to the rest of the fleet, one service group at a time. | Every service appears under its own project. No gaps from a missing SDK dependency, a missing API key, or exclusions. |
| 4. Shift workflow | Move debugging to NxtOne while alerting stays on the incumbent. | One full on-call rotation where the team used NxtOne first by choice. |
| 5. Decommission | Remove the old agent, service by service. | This is the point of no return — historical data in the old tool stops accumulating and is not backfilled into NxtOne. |
Dual-shipping is supported, and the NxtOne SDK and the incumbent APM agent do not conflict — but both run inside your service and both cost resources. Raise container limits for the parallel period, then bring them back down after decommissioning:
Until phase 5 the rollback is simply removing the NxtOne SDK — the incumbent never stopped working. Remove the SDK dependency, restore the previous resource limits, and nothing about your existing observability has changed.
| Gotcha | Where it bites | What to do |
|---|---|---|
| Sampling assumptions | Teams used to 10% trace sampling expect NxtOne to sample too. | It does not — it narrows by code path instead. Set exclusions deliberately or overhead will surprise you. |
| Service naming drift | Datadog service names and NXTONE_PROJECT_ID diverge over time. | Copy the incumbent's service name exactly. Divergence makes side-by-side comparison useless during phase 2. |
| Tag and attribute renaming | Custom tags do not carry over. | Inventory which tags your dashboards and alerts depend on before decommissioning anything. |
| Double overhead in parallel | The NxtOne SDK and the incumbent APM agent in containers sized for one. | Raise limits before dual-shipping. Post-cutover OOM kills are almost always this. |