Development
OpenTelemetry Semantic-Convention v1.20 → v1.27 Attribute Migration Tool
Rewrites span/log attribute names across OpenTelemetry semantic-convention versions: http.method → http.request.method, http.status_code → http.response.status_code, http.url → url.full, db.system → db.system.name, messaging.destination → messaging.destination.name and 25+ more — applied to pasted JS/TS/Python/Go/Java/.NET source, collector YAML or Grafana dashboard JSON, with an OTel Collector transform rename map, removal/manual-split warnings, per-attribute diff stats and an unmapped-attribute report.
Quick start
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/otel-semantic-convention-migration-tool' \
-H 'Content-Type: application/json' \
-d '{"sourceCode":"const { SpanStatusCode } = require('\''@opentelemetry/api'\'');\nfunction record(span, req, res) {\n span.setAttribute('\''http.method'\'', req.method);\n span.setAttribute('\''http.status_code'\'', res.statusCode);\n span.setAttribute('\''http.url'\'', req.originalUrl);\n span.setAttribute('\''net.peer.name'\'', req.hostname);\n span.setAttribute('\''db.system'\'', '\''postgresql'\'');\n span.setAttribute('\''db.statement'\'', '\''SELECT * FROM users'\'');\n span.setAttribute('\''messaging.destination'\'', '\''orders-queue'\'');\n}","fromVersion":"v1.20.0","toVersion":"v1.27.0","generateCollectorConfig":true,"updateDashboards":true}'