Plans to take OTel integration out of "experimental"?

Open
#2,023 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
observability

Research direction

The issue points to the ASP.NET startup registration for the Experimental.ModelContextProtocol activity source and the accepted SEP 414 request metadata conventions. First read the SEP and locate where the SDK defines and registers its activity source. Done means the issue's production-use guidance is addressed and, if production use is supported, the activity source name is updated.

Written by the indexing model from the issue text.

Description

enhancement

Is your feature request related to a problem? Please describe.
We would like to leverage the OpenTelemetry trace propagation functionality, so that spans are initialized with the appropriate trace information via _meta.

This requires use to add the following to our ASP.NET startup logic:

builder
    .AddSource("Experimental.ModelContextProtocol")

The naming of this indicates we shouldn't take a production dependency on the functionality, whereas trace propagation conventions have been officially accepted: https://modelcontextprotocol.io/seps/414-request-meta.

Describe the solution you'd like
Guidance on whether this functionality can be used in production, and to rename the activity source if so.

Describe alternatives you've considered
N/A

Additional context
N/A

Dominant language
C#
Stars
4.6k
Forks
849
Avg merge
1d 16h
Merged PRs (30d)
24

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/csharp-sdk

All issues in modelcontextprotocol/csharp-sdk

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.