upgrade-otel

Upgrade OpenTelemetry instrumentation packages in the Sentry JavaScript SDK.

8.7k|1.8k|Updated Feb 1, 2012
One-click install
npx skills add https://github.com/getsentry/sentry-javascript --skill upgrade-otel
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: upgrade-otel
Source: https://github.com/getsentry/sentry-javascript/tree/main/.agents/skills/upgrade-otel
Command: npx skills add https://github.com/getsentry/sentry-javascript --skill upgrade-otel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of upgrading OpenTelemetry instrumentation packages within the Sentry JavaScript SDK, ensuring compatibility and leveraging the latest features.

Core Features & Use Cases

  • Version Management: Updates core OpenTelemetry instrumentation packages to their latest stable versions.
  • Dependency Synchronization: Ensures that related development packages are also updated to maintain consistency.
  • Use Case: When a new version of @opentelemetry/instrumentation is released, use this Skill to systematically upgrade all relevant Sentry SDK packages and development dependencies, verifying that no breaking changes are introduced.

Quick Start

Use the upgrade-otel skill to upgrade all OpenTelemetry instrumentations to their latest versions.

Frequently Asked Questions about upgrade-otel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade OpenTelemetry instrumentation packages in the Sentry JavaScript SDK?▼

To upgrade OpenTelemetry instrumentation packages in the Sentry JavaScript SDK, this skill updates `@opentelemetry/instrumentation` and related packages to their latest versions. It synchronizes dev-packages and regenerates the lock file using `yarn install`.

What is the best way to update third-party OpenTelemetry instrumentations alongside core packages?▼

The best way to update third-party OpenTelemetry instrumentations is to use this skill, which systematically updates core packages and handles third-party updates to ensure version consistency. It concludes by regenerating the lock file.

Does upgrading OpenTelemetry instrumentations also update related development dependencies?▼

Yes, upgrading OpenTelemetry instrumentations with this skill ensures consistency in dev-packages by updating them based on version requirements. It synchronizes all related development dependencies to prevent compatibility issues.

When do I need to regenerate the lock file after updating OpenTelemetry SDK packages?▼

You need to regenerate the lock file after updating OpenTelemetry SDK packages to ensure dependency resolution is accurate. This skill automates that process by running `yarn install` to finalize the version synchronization.

Can I use this skill to check for breaking changes when updating OpenTelemetry packages?▼

Yes, you can use this skill to verify that no breaking changes are introduced when a new version of `@opentelemetry/instrumentation` is released. It upgrades all relevant Sentry SDK packages systematically to maintain compatibility.