open-telemetry/opentelemetry-dotnet
Explore library entry points, shared dependencies, examples, and tests across a multi-project SDK.
No email required. Supports public .NET repositories hosted on GitHub.
Analysis details
- Branch
- main
- Generated
- Coverage
- 1,559 text files; 62 skipped archive files
Scan limits and review notes
- This is a library/SDK repository with examples and tests. Detected routes can belong to example or test applications rather than the library API.
- No EF Core contexts were detected. This is not a claim that the SDK has no integrations with databases.
- The possible-secret concern points to test code and is an unconfirmed heuristic finding, not a verified credential leak.
- Static text inspection only. Repository code was not built or executed.
- Findings and relationships are inferred; review the source before making changes. This is not a security audit.
- Only eligible text files within the recorded scan budgets were inspected; skipped files are not analyzed.
- The report contains a selected architecture diagram, up to 10 deduplicated API routes, 5 data contexts, and a project shortlist. The full detected project list is included with up to 3 package names per project.
- The AI explanation, diagram, and onboarding guide use structured scanner evidence and can be incomplete or inaccurate.
Scan budgets: 20,000 archive entries; 10,000 text files; 180,000 bytes per file; 16,000,000 total text bytes.
Skipped files: unsupported-text-type: 24; ignored-path: 38.
Library plus samples
This repo is the OpenTelemetry .NET client, centered on the core OpenTelemetry library plus API. Exporter and hosting extension libraries plug into ASP.NET Core, workers, and sample apps via project references and instrumentation packages.
net11.0 +4net11.0 +3net11.0 +4net11.0 +3net11.0net11.0GET/Program.cs:28GET/WeatherForecastWeatherForecast.GetGET/SendMessageSendMessage.GetGET/api/pingBlazorWasmAppFixture.cs:47GET/MockCollector/SetResponseCodes/{responseCodesCsv}MockCollectorIntegrationTests.cs:60POST/v1/tracesMockCollectorIntegrationTests.cs:268GET/pingPrometheusIntegrationTests.cs:625POST/W3CTraceContextTests.cs:52POST/v1/logsOtlpHttpCollector.cs:46POST/v1/metricsOtlpHttpCollector.cs:47No EF Core DbContext was detected in the scanned files.
Scanner flagged a secrets-like value in StrictModeDiagnosticsTests.cs.
Inspect and scrub any real credentialsSupporting net462 and netstandard2.x increases maintenance and compatibility complexity.
Confirm all target frameworks are still required81 projects and many examples can overwhelm new contributors initially.
Focus on src and key examples first- Open OpenTelemetry.slnx to see core library, exporters, examples, and tests together.
- Inspect src/OpenTelemetry/OpenTelemetry.csproj to understand the main SDK surface and dependencies.
- Review src/OpenTelemetry.Exporter.OpenTelemetryProtocol for OTLP exporter integration details.
- Check src/OpenTelemetry.Extensions.Hosting to see how OpenTelemetry plugs into generic host and ASP.NET Core.
- Run examples/AspNetCore and MicroserviceExample projects to observe end-to-end telemetry wiring.