Description
We have recently found that xLab API (specifically /api/v1/instruments) is returning the default sample_rate value as a string in some cases. There is already a task to work on fixing that (T404850: xLab: /api/v1/instruments sometimes is returning sample_rate as a string) and, in addition to that, MetricsPlatform should make sure that the value is in the right format by parsing it explicitly in its side. And in the case the value cannot be parsed, an error will be logged
Acceptance Criteria
- MetricsPlatform extension, via InstrumentConfigsFetcher, have to parse the sample_rate value and log an error if it cannot do it