(labels: { tool: string; key: string })
| 171 | }) |
| 172 | }, |
| 173 | recordUpstreamRateLimited(labels: { tool: string; key: string }) { |
| 174 | enqueue('UpstreamRateLimited', 1, StandardUnit.Count, { |
| 175 | Tool: labels.tool, |
| 176 | Key: labels.key, |
| 177 | }) |
| 178 | }, |
| 179 | recordQueueWait(durationMs: number, labels: { provider: string; reason: QueueReason }) { |
| 180 | enqueue('QueueWaitDuration', durationMs, StandardUnit.Milliseconds, { |
| 181 | Provider: labels.provider, |