Hi,
When running the sample for Prometheus (TestPrometheus.cs) Prometheus server reports invalid data format in:
# HELP my_org_views_video_sizeprocessed video size over time
my_org_views_video_size{my_org_keys_frontend="mobile-ios9.3.5"} 173189802,666667 1555493470457
Culture setting for my machine is pl-PL. Apparently there's a problem with a comma which separates decimal places of the value. The source of the problem is writing a double value by StreamWriter.Write(double) in PrometheusMetricBuilder.Write, which applies national settings. I suppose this should be replaced by something like:
Hi, When running the sample for Prometheus (
TestPrometheus.cs
) Prometheus server reports invalid data format in:Culture setting for my machine is
pl-PL
. Apparently there's a problem with a comma which separates decimal places of the value. The source of the problem is writing a double value byStreamWriter.Write(double)
inPrometheusMetricBuilder.Write
, which applies national settings. I suppose this should be replaced by something like: