(value: number, additionalAttributes: Attributes = {})
| 322 | |
| 323 | return { |
| 324 | add(value: number, additionalAttributes: Attributes = {}) { |
| 325 | // Always fetch fresh telemetry attributes to ensure they're up to date |
| 326 | const currentAttributes = getTelemetryAttributes() |
| 327 | const mergedAttributes = { |
| 328 | ...currentAttributes, |
| 329 | ...additionalAttributes, |
| 330 | } |
| 331 | counter?.add(value, mergedAttributes) |
| 332 | }, |
| 333 | } |
| 334 | } |
| 335 |
nothing calls this directly
no test coverage detected