Skip to content

chore: add deprecation notice - #46

Open
SpencerTorres wants to merge 1 commit into
mainfrom
spencer/deprecate-sdks
Open

SpencerTorres wants to merge 1 commit into
mainfrom
spencer/deprecate-sdks

Conversation

@SpencerTorres

Copy link
Copy Markdown

No description provided.

@github-actions

Copy link
Copy Markdown

Deep Review

✅ No critical issues found.

This change only touches documentation: it adds a deprecation notice and migration guide to README.md. No runtime code changed. I checked each migration claim against src/hyperdx/opentelemetry/options.py, logs.py, and manual.py. Two gaps could make a migrated app quietly stop sending data.

🟡 P2 -- recommended

  • README.md:12 -- The notice says upstream opentelemetry-instrument exports logging records, but upstream only attaches the root LoggingHandler when OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true, while this package always installed it in logs.py:48, so apps migrated as written stop shipping logs.
    • Fix: Add OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true to the migration steps, and mention OTEL_PYTHON_LOG_CORRELATION=true, which manual.py:146 used to turn on by default.
  • README.md:16 -- The endpoint mapping only covers users who set HYPERDX_API_ENDPOINT; users who relied on the package default https://in-otel.hyperdx.io (options.py:38) will export to upstream's localhost:4317 default, and the "port 4318" rule doesn't fit that hosted HTTPS endpoint, so its users may keep the gRPC default against an HTTP-only endpoint.
    • Fix: State that users who never set HYPERDX_API_ENDPOINT must set OTEL_EXPORTER_OTLP_ENDPOINT=https://in-otel.hyperdx.io with OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf, and replace the port-based rule with "whenever the endpoint speaks OTLP/HTTP".
🔵 P3 nitpicks (1)
  • README.md:15 -- The migration list skips other variables the package read: HYPERDX_TRACES_APIKEY, HYPERDX_METRICS_APIKEY, HYPERDX_LOGS_APIKEY, HYPERDX_DATASET and HYPERDX_METRICS_DATASET. The package sent the dataset values as the x-hyperdx-dataset header (options.py:492-519), so users of these variables get no guidance.
    • Fix: Map the per-signal keys to OTEL_EXPORTER_OTLP_{TRACES,METRICS,LOGS}_HEADERS=authorization=<key>, and say how to keep x-hyperdx-dataset: add it to those header variables, or say it is no longer needed.

Reviewers (4): correctness, maintainability, project-standards, testing

Testing gaps: None. The change is documentation only. The repository has no CLAUDE.md or AGENTS.md to check standards against.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant