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