Skip to content

Leverage set_semconv_span_name() for better span and http operation names#2942

Merged
julianocosta89 merged 15 commits into
open-telemetry:mainfrom
cyrille-leclerc:use-set-semconv-span-name
Feb 11, 2026
Merged

Leverage set_semconv_span_name() for better span and http operation names#2942
julianocosta89 merged 15 commits into
open-telemetry:mainfrom
cyrille-leclerc:use-set-semconv-span-name

Conversation

@cyrille-leclerc
Copy link
Copy Markdown
Member

@cyrille-leclerc cyrille-leclerc commented Jan 29, 2026

Changes

Leverage the set_semconv_span_name() OTel Collector Transform Processor function to better handle the next.js issue High-cardinality HTTP span names #54694 and get better span and http operation names.

This change follows the Span Metrics Connector guide Troubleshooting span metrics high cardinality

This PR also bumps the OTel Collector to v0.145.0 and thus renames OTLP exporters: otlp --> otlp_grpc and otlphttp --> otlp_http (OTel Collector deprecation notice here)

⚠️ this OTLP exporter renaming is likely to break modifications done in otelcol-config-extras.yaml

Merge Requirements

For new features contributions, please make sure you have completed the following
essential items:

  • CHANGELOG.md updated to document new feature additions
  • Appropriate documentation updates in the docs
  • Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

@github-actions github-actions Bot added the helm-update-required Requires an update to the Helm chart when released label Jan 29, 2026
@cyrille-leclerc cyrille-leclerc marked this pull request as ready for review January 29, 2026 15:18
@cyrille-leclerc cyrille-leclerc requested a review from a team as a code owner January 29, 2026 15:18
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 6, 2026

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Feb 6, 2026
@cyrille-leclerc
Copy link
Copy Markdown
Member Author

@julianocosta89 @puckpuck what do you think of adoption the chloggen process for the OTel demo repo? I forgot to add an entry in the changelog for this PR and the build could have failed to help me not forget.

@cyrille-leclerc cyrille-leclerc marked this pull request as draft February 6, 2026 13:43
@cyrille-leclerc
Copy link
Copy Markdown
Member Author

CHANGELOG.md entry required

Comment thread src/otel-collector/otelcol-config.yml
@github-actions github-actions Bot removed the Stale label Feb 7, 2026
@julianocosta89
Copy link
Copy Markdown
Member

@julianocosta89 @puckpuck what do you think of adoption the chloggen process for the OTel demo repo? I forgot to add an entry in the changelog for this PR and the build could have failed to help me not forget.

I like this idea, how would that work?
Same way as it's done on the Collector?

@cyrille-leclerc cyrille-leclerc marked this pull request as ready for review February 9, 2026 15:43
@cyrille-leclerc
Copy link
Copy Markdown
Member Author

cyrille-leclerc commented Feb 9, 2026

@julianocosta89 @puckpuck what do you think of adoption the chloggen process for the OTel demo repo? I forgot to add an entry in the changelog for this PR and the build could have failed to help me not forget.

I like this idea, how would that work? Same way as it's done on the Collector?

Yes, I was thinking of adopting the process and toolchain used in the Collector. It's heavyweight but we have to be careful with downstream users.

Comment thread src/otel-collector/otelcol-config.yml
@julianocosta89 julianocosta89 merged commit aab2a70 into open-telemetry:main Feb 11, 2026
34 checks passed
@cyrille-leclerc cyrille-leclerc deleted the use-set-semconv-span-name branch February 11, 2026 09:27
abruneau pushed a commit to tsuga-dev/opentelemetry-demo that referenced this pull request Feb 23, 2026
… names (open-telemetry#2942)

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* changelog

* lint

* lint

* lint

* Better changelog.md

* Bump otelcol to 0.145.

* Bump otelcol to 0.145.

(cherry picked from commit aab2a70)
abruneau pushed a commit to tsuga-dev/opentelemetry-demo that referenced this pull request Feb 23, 2026
… names (open-telemetry#2942)

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* changelog

* lint

* lint

* lint

* Better changelog.md

* Bump otelcol to 0.145.

* Bump otelcol to 0.145.

(cherry picked from commit aab2a70)
abruneau pushed a commit to tsuga-dev/opentelemetry-demo that referenced this pull request Feb 23, 2026
… names (open-telemetry#2942)

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* changelog

* lint

* lint

* lint

* Better changelog.md

* Bump otelcol to 0.145.

* Bump otelcol to 0.145.

(cherry picked from commit aab2a70)
abruneau pushed a commit to tsuga-dev/opentelemetry-demo that referenced this pull request Feb 23, 2026
… names (open-telemetry#2942)

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* changelog

* lint

* lint

* lint

* Better changelog.md

* Bump otelcol to 0.145.

* Bump otelcol to 0.145.

(cherry picked from commit aab2a70)
fali007 pushed a commit to fali007/opentelemetry-demo that referenced this pull request May 31, 2026
… names (open-telemetry#2942)

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* Bump OTelCol to 0.144.0 and leverage set_semconv_span_name() for better http operation names

* changelog

* lint

* lint

* lint

* Better changelog.md

* Bump otelcol to 0.145.

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

Labels

helm-update-required Requires an update to the Helm chart when released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants