| 545 | |
| 546 | let _httpDurationHist: ReturnType<ReturnType<typeof getMeter>['createHistogram']> | null = null; |
| 547 | function httpDurationHist(): ReturnType<ReturnType<typeof getMeter>['createHistogram']> { |
| 548 | _httpDurationHist ||= getMeter().createHistogram('http.server.request.duration', { |
| 549 | description: 'HTTP server request duration in seconds', |
| 550 | unit: 's', |
| 551 | }); |
| 552 | return _httpDurationHist; |
| 553 | } |
| 554 | |
| 555 | let _hintEmittedCounter: ReturnType<ReturnType<typeof getMeter>['createCounter']> | null = null; |
| 556 | function hintEmittedCounter(): ReturnType<ReturnType<typeof getMeter>['createCounter']> { |