Skip to content

SOLR-18110: Remove deprecated attributes for telemetry#4524

Open
utsav00 wants to merge 3 commits into
apache:mainfrom
utsav00:rfc/SOLR-18110-remove-deprecated-attrs
Open

SOLR-18110: Remove deprecated attributes for telemetry#4524
utsav00 wants to merge 3 commits into
apache:mainfrom
utsav00:rfc/SOLR-18110-remove-deprecated-attrs

Conversation

@utsav00

@utsav00 utsav00 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/SOLR-18110

Description

Simply removed deprecated annotated attributes and references

Checklist

Please review the following and check all that apply:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I have given Solr maintainers access to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)
  • I have developed this patch against the main branch.
  • I have run ./gradlew check.
  • I have added tests for my changes.
  • I have added documentation for the Reference Guide
  • I have added a changelog entry for my change

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 12, 2026
@epugh epugh requested review from Copilot and stillalex June 13, 2026 13:35
@epugh epugh self-assigned this Jun 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes deprecated OpenTelemetry attribute keys (http.status_code, http.method) from Solr tracing code and updates documentation/release notes to reflect the removal as part of Solr 10 upgrade guidance.

Changes:

  • Removed deprecated http.method / http.status_code attribute keys and stopped emitting them in TraceUtils.
  • Added Solr 10 upgrade note describing the removal and the replacement attributes to use.
  • Added an unreleased changelog entry for SOLR-18110.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc Documents removal of deprecated telemetry tags and recommended replacements.
solr/core/src/java/org/apache/solr/util/tracing/TraceUtils.java Stops setting deprecated span attributes; keeps only the newer semantic convention keys.
changelog/unreleased/SOLR-18110-remove-deprecated-tracing-attributes.yml Adds release note entry for the removal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc Outdated
@utsav00

utsav00 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

@epugh, can you approve the pending workflows here?

@epugh epugh requested a review from mlbiscoc June 15, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants