key (labelSet) already existed in dictionary #809
Labels
Component/Management
Issues related to Steeltoe Management (actuators)
ReleaseLine/3.x
Identified as a feature/fix for the 3.x release line
Type/bug
Something isn't working
Milestone
Describe the bug
Periodically we get the following exception:
This seems to be tied to code in the class
CounterMetricSdkBase<T>
Bind(LabelSet labelset, bool isShortLived)
when adding to the_counterBoundInstruments
I believe this should be anAddOrUpdate
.Steps to reproduce
Steps to reproduce the behavior:
Generally have just been allowing my app to run locally and it will eventually throw this exception without any outside input or requests to the API/service.
Expected behavior
labelSet
should be updated if already existingEnvironment (please complete the following information):
Additional context or links
Link to code in question
The text was updated successfully, but these errors were encountered: