Commit 114cf8c
committed
feat: enhance tracing support with detailed spans
Add comprehensive tracing spans throughout the GHCR collector to match
the detailed tracing implementation in filesystem-exporter.
Key enhancements:
- Detailed spans for collectPackageMetrics, collectOwnerPackages
- Spans for API operations (getPackageInfo, getPackageVersions)
- Detailed tracing in makeGitHubAPIRequest (user/org endpoint attempts)
- Tracing in updatePackageMetrics and getPackageDownloadStats
- Duration tracking and event markers for all operations
- Error recording with context throughout
This provides comprehensive visibility into GHCR exporter operations.1 parent e291f0e commit 114cf8c
1 file changed
+390
-15
lines changed
0 commit comments