( context: Context.Context<never>, attributes: Metric.Attributes )
| 3517 | } |
| 3518 | |
| 3519 | function addAttributesToContext( |
| 3520 | context: Context.Context<never>, |
| 3521 | attributes: Metric.Attributes |
| 3522 | ): Context.Context<never> { |
| 3523 | const current = Context.get(context, CurrentMetricAttributes) |
| 3524 | const updated = mergeAttributes(current, attributes) |
| 3525 | return Context.add(context, CurrentMetricAttributes, updated) |
| 3526 | } |
no test coverage detected