Skip to content

Add distributed tracing to sync pipeline - #3

Merged
kill74 merged 1 commit into
masterfrom
feat/distributed-tracing
Nov 19, 2026
Merged

kill74 merged 1 commit into
masterfrom
feat/distributed-tracing

Conversation

@kill74

@kill74 kill74 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds an OpenTelemetry ActivitySource (SPO2SQL) with spans for each list sync, SharePoint paged read and SQL bulk copy.
  • Spans carry list, mode and row-count tags; failures set ActivityStatusCode.Error.
  • Host subscribes the source when Application:EnableMetrics is on, exporting to console by default or OTLP when OTEL_EXPORTER_OTLP_ENDPOINT is set.
  • README updated; unit test covers activity emission.

Validation

  • build -warnaserror: 0 warnings
  • tests: 50 passed
  • format: clean
  • NuGet audit: clean

@kill74
kill74 merged commit d028a20 into master Nov 19, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant