(value: number, additionalAttributes: Attributes = {})
| 371 | |
| 372 | return { |
| 373 | add(value: number, additionalAttributes: Attributes = {}) { |
| 374 | // Always fetch fresh telemetry attributes to ensure they're up to date |
| 375 | const currentAttributes = getTelemetryAttributes() |
| 376 | const mergedAttributes = { |
| 377 | ...currentAttributes, |
| 378 | ...additionalAttributes, |
| 379 | } |
| 380 | counter?.add(value, mergedAttributes) |
| 381 | }, |
| 382 | } |
| 383 | } |
| 384 |
nothing calls this directly
no test coverage detected