Add an OpenTelemetry sample

Aperta
#21 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@harryhawwy69 ci sta già lavorando.

Dal 24/11/2026.

  • #38 di @harryhawwy69 — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Start with src/TickerNet.Instrumentation.OpenTelemetry/README.md, which spells out the AddOpenTelemetryInstrumentation / AddTickerNetSource setup to copy, then look at an existing project under samples/ to match its layout and csproj conventions. Create samples/TickerNet.Sample.OpenTelemetry, register it in TickerNet.slnx, and add the link in the OpenTelemetry section of site/getting-started.html. Done means dotnet run prints TickerNet spans, the solution builds, and the docs link works. Note that PR #38 is already open against this issue, so check it before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue

Tracing is a headline feature, but no sample shows it: nothing in samples/ calls AddOpenTelemetryInstrumentation or AddTickerNetSource.

What to build: a small samples/TickerNet.Sample.OpenTelemetry app that schedules a couple of jobs and exports traces with the OpenTelemetry console exporter, so it needs no infrastructure. The setup to copy is in src/TickerNet.Instrumentation.OpenTelemetry/README.md. Add the project to TickerNet.slnx next to the other samples.

Done when: the sample runs with dotnet run and prints TickerNet spans, it builds as part of the solution, and site/getting-started.html (OpenTelemetry section) links to it.


New to TickerNet? Read CONTRIBUTING.md first. In short: sign off every commit (git commit -s), and never read or copy code from TickerQ 10.5.0 or later, which is under a commercial license. Comment here if you'd like to pick this up, and ask anything in Discussions.

Lingua principale
C#
Stelle
0
Fork
2
Merge medio
1h 8m
PR unite (30g)
24

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TickerNet/TickerNet

Tutte le issue di TickerNet/TickerNet

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.