Plans to take OTel integration out of "experimental"?

Offen
#2,023 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
csharp
Bereich
observability

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
C#
Sterne
4.6k
Forks
849
Ø Merge
1 T. 16 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus modelcontextprotocol/csharp-sdk

Alle Issues in modelcontextprotocol/csharp-sdk

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.