()
| 604 | } |
| 605 | |
| 606 | func (s *Session) stopPerformanceTelemetry() { |
| 607 | if s.performanceTelemetryCancel != nil { |
| 608 | s.performanceTelemetryCancel() |
| 609 | s.performanceTelemetryCancel = nil |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | func (s *Session) sendPerformanceTelemetry(ctx context.Context) { |
| 614 | if s.client == nil || !s.options.TelemetryEnabled { |