Get the global telemetry collector instance
()
| 311 | |
| 312 | |
| 313 | def get_telemetry() -> TelemetryCollector: |
| 314 | """Get the global telemetry collector instance""" |
| 315 | global _telemetry_collector |
| 316 | if _telemetry_collector is None: |
| 317 | _telemetry_collector = TelemetryCollector() |
| 318 | return _telemetry_collector |
| 319 | |
| 320 | |
| 321 | def record_tool_usage( |
no test coverage detected