Comments (10)
Hi @marcomusso,
Sorry for the late response. Great to read that you're using the exporter!
To be honest I have no clue why this was failing on your first attempt. Good to see that you now see the correct values.
So I guess that this has fixed the issue?
from prometheus-p1-exporter.
Thanks for the reply, yes and no, data is coming in and it's mostly good but occasionally a 0 comes through. Haven't had the time to investigate but for sure there is a possibility that 0 is a valid metric value (which seems strange since they should be counters going up...).
from prometheus-p1-exporter.
While it mostly work I get some zeroes that are messing up the metric... I forked your repo in the hope to find some time to work on it!
I can confirm that I have NO zeros in the gas readings.
PS: I can workaround this by specifying " > 0" in a query but it would be better to fix reporting a zero which is mostly wrong.
from prometheus-p1-exporter.
I have the same issue. It happens couple of times a day.
I've added a bit more debugging on my machine to try and catch the incorrect telegram payloads.
from prometheus-p1-exporter.
Does this help? 😆
time="2023-12-06T12:31:31Z" level=error msg="Line to parse map[1-0:62.7.0:00.371*kW]"
time="2023-12-06T12:31:41Z" level=error msg="Line to parse map[0:42.7.0:00.808*kW 1-0:62.7.0:00.397*kW]"
time="2023-12-06T12:32:13Z" level=error msg="Line to parse map[1-0:22.7.0:00.945*kW 1-0:42.7.0:00.778*kW 1-0:62.7.0:00.395*kW 1.7.0:00.000*kW]"
from prometheus-p1-exporter.
@jordyv Here's some more logs. Just wondering if you can spot the issue. Happy to do the development work to fix this.
time="2023-12-06T23:57:52Z" level=error msg="Line to parse map[1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.972*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-06T23:58:24Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-06T23:58:24Z" level=error msg="Line to parse map[]"
time="2023-12-07T00:13:57Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T00:13:57Z" level=error msg="Line to parse map[]"
time="2023-12-07T00:20:58Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T00:20:58Z" level=error msg="Line to parse map[]"
time="2023-12-07T00:22:26Z" level=error msg="0 values detected"
time="2023-12-07T00:22:26Z" level=error msg="Line to parse map[1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T00:33:54Z" level=error msg="0 values detected"
time="2023-12-07T00:33:54Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T00:47:02Z" level=error msg="0 values detected"
time="2023-12-07T00:47:02Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T00:51:50Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T00:51:50Z" level=error msg="Line to parse map[]"
time="2023-12-07T00:52:00Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T00:52:00Z" level=error msg="Line to parse map[]"
time="2023-12-07T00:59:23Z" level=error msg="0 values detected"
time="2023-12-07T00:59:23Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T00:59:45Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T00:59:45Z" level=error msg="Line to parse map[]"
time="2023-12-07T01:00:17Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T01:00:17Z" level=error msg="Line to parse map[]"
time="2023-12-07T01:00:49Z" level=error msg="0 values detected"
time="2023-12-07T01:00:49Z" level=error msg="Line to parse map[.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T01:06:33Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T01:06:33Z" level=error msg="Line to parse map[]"
time="2023-12-07T01:15:14Z" level=error msg="0 values detected"
time="2023-12-07T01:15:14Z" level=error msg="Line to parse map[0:00.000*kW]"
time="2023-12-07T01:17:26Z" level=error msg="0 values detected"
time="2023-12-07T01:17:26Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T01:27:03Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T01:27:03Z" level=error msg="Line to parse map[]"
time="2023-12-07T01:30:00Z" level=error msg="0 values detected"
time="2023-12-07T01:30:00Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T01:32:57Z" level=error msg="0 values detected"
time="2023-12-07T01:32:57Z" level=error msg="Line to parse map[1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW 61.7.0:00.853*kW]"
time="2023-12-07T01:37:44Z" level=error msg="0 values detected"
time="2023-12-07T01:37:44Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T01:39:23Z" level=error msg="0 values detected"
time="2023-12-07T01:39:23Z" level=error msg="Line to parse map[62.7.0:00.000*kW]"
time="2023-12-07T01:41:58Z" level=error msg="0 values detected"
time="2023-12-07T01:41:58Z" level=error msg="Line to parse map[2.7.0:00.000*kW]"
time="2023-12-07T01:48:04Z" level=error msg="0 values detected"
time="2023-12-07T01:48:04Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW 7.0:00.000*kW]"
time="2023-12-07T01:55:16Z" level=error msg="0 values detected"
time="2023-12-07T01:55:16Z" level=error msg="Line to parse map[-0:62.7.0:00.000*kW]"
time="2023-12-07T01:55:59Z" level=error msg="0 values detected"
time="2023-12-07T01:55:59Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T01:56:21Z" level=error msg="0 values detected"
time="2023-12-07T01:56:21Z" level=error msg="Line to parse map[0:41.7.0:00.104*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.844*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:00:02Z" level=error msg="0 values detected"
time="2023-12-07T02:00:02Z" level=error msg="Line to parse map[1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:19:39Z" level=error msg="0 values detected"
time="2023-12-07T02:19:39Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:24:04Z" level=error msg="0 values detected"
time="2023-12-07T02:24:04Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:24:58Z" level=error msg="0 values detected"
time="2023-12-07T02:24:58Z" level=error msg="Line to parse map[.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:25:30Z" level=error msg="0 values detected"
time="2023-12-07T02:25:30Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:29:12Z" level=error msg="0 values detected"
time="2023-12-07T02:29:12Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:34:44Z" level=error msg="0 values detected"
time="2023-12-07T02:34:44Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:40:16Z" level=error msg="0 values detected"
time="2023-12-07T02:40:16Z" level=error msg="Line to parse map[0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:40:49Z" level=error msg="0 values detected"
time="2023-12-07T02:40:49Z" level=error msg="Line to parse map[1-0:21.7.0:00.095*kW 1-0:22.7.0:00.000*kW 1-0:41.7.0:00.085*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.865*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:41:54Z" level=error msg="0 values detected"
time="2023-12-07T02:41:54Z" level=error msg="Line to parse map[1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:42:15Z" level=error msg="0 values detected"
time="2023-12-07T02:42:15Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T02:48:32Z" level=error msg="0 values detected"
time="2023-12-07T02:48:32Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T03:03:31Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:03:31Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:07:01Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:07:01Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:14:25Z" level=error msg="0 values detected"
time="2023-12-07T03:14:25Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T03:14:57Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:14:57Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:19:23Z" level=error msg="0 values detected"
time="2023-12-07T03:19:23Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T03:28:04Z" level=error msg="0 values detected"
time="2023-12-07T03:28:04Z" level=error msg="Line to parse map[.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T03:29:43Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:29:43Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:30:04Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:30:04Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:33:01Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:33:01Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:40:47Z" level=error msg="0 values detected"
time="2023-12-07T03:40:47Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T03:41:52Z" level=error msg="0 values detected"
time="2023-12-07T03:41:52Z" level=error msg="Line to parse map[-0:41.7.0:00.086*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.106*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T03:55:12Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:55:12Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:56:17Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T03:56:17Z" level=error msg="Line to parse map[]"
time="2023-12-07T03:59:58Z" level=error msg="0 values detected"
time="2023-12-07T03:59:58Z" level=error msg="Line to parse map[7.0:00.000*kW]"
time="2023-12-07T04:08:40Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T04:08:40Z" level=error msg="Line to parse map[]"
time="2023-12-07T04:09:34Z" level=error msg="0 values detected"
time="2023-12-07T04:09:34Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T04:09:55Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T04:09:55Z" level=error msg="Line to parse map[]"
time="2023-12-07T04:18:59Z" level=error msg="0 values detected"
time="2023-12-07T04:18:59Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T04:33:02Z" level=error msg="0 values detected"
time="2023-12-07T04:33:02Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T04:50:04Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T04:50:04Z" level=error msg="Line to parse map[]"
time="2023-12-07T04:57:38Z" level=error msg="0 values detected"
time="2023-12-07T04:57:38Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T05:00:02Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T05:00:02Z" level=error msg="Line to parse map[]"
time="2023-12-07T05:00:23Z" level=error msg="0 values detected"
time="2023-12-07T05:00:23Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T05:01:17Z" level=error msg="0 values detected"
time="2023-12-07T05:01:17Z" level=error msg="Line to parse map[.0:00.891*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T05:09:58Z" level=error msg="0 values detected"
time="2023-12-07T05:09:58Z" level=error msg="Line to parse map[0-0:96.13.0: 1-0:21.7.0:00.089*kW 1-0:22.7.0:00.000*kW 1-0:31.7.0:001*A 1-0:32.32.0:00013 1-0:32.36.0:00010 1-0:32.7.0:235.0*V 1-0:41.7.0:00.108*kW 1-0:42.7.0:00.000*kW 1-0:51.7.0:001*A 1-0:52.32.0:00060 1-0:52.36.0:00011 1-0:52.7.0:236.0*V 1-0:61.7.0:00.855*kW 1-0:62.7.0:00.000*kW 1-0:71.7.0:003*A 1-0:72.32.0:00010 1-0:72.36.0:00010 1-0:72.7.0:234.0*V]"
time="2023-12-07T05:11:15Z" level=error msg="0 values detected"
time="2023-12-07T05:11:15Z" level=error msg="Line to parse map[0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T05:28:16Z" level=error msg="0 values detected"
time="2023-12-07T05:28:16Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T05:46:47Z" level=error msg="0 values detected"
time="2023-12-07T05:46:47Z" level=error msg="Line to parse map[1-0:21.7.0:00.104*kW 1-0:22.7.0:00.000*kW 1-0:41.7.0:00.089*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.899*kW 1-0:62.7.0:00.000*kW 1-0:71.7.0:003*A]"
time="2023-12-07T05:47:19Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T05:47:19Z" level=error msg="Line to parse map[]"
time="2023-12-07T05:47:51Z" level=error msg="0 values detected"
time="2023-12-07T05:47:51Z" level=error msg="Line to parse map[:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T06:00:04Z" level=error msg="0 values detected"
time="2023-12-07T06:00:04Z" level=error msg="Line to parse map[0-0:96.13.0: 1-0:21.7.0:00.114*kW 1-0:22.7.0:00.000*kW 1-0:31.7.0:001*A 1-0:32.32.0:00013 1-0:32.36.0:00010 1-0:32.7.0:234.0*V 1-0:41.7.0:00.084*kW 1-0:42.7.0:00.000*kW 1-0:51.7.0:001*A 1-0:52.32.0:00060 1-0:52.36.0:00011 1-0:52.7.0:235.0*V 1-0:61.7.0:00.106*kW 1-0:62.7.0:00.000*kW 1-0:71.7.0:000*A 1-0:72.32.0:00010 1-0:72.36.0:00010 1-0:72.7.0:233.0*V]"
time="2023-12-07T06:10:25Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T06:10:25Z" level=error msg="Line to parse map[]"
time="2023-12-07T06:21:20Z" level=error msg="0 values detected"
time="2023-12-07T06:21:20Z" level=error msg="Line to parse map[0:00.090*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.106*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T06:23:54Z" level=error msg="0 values detected"
time="2023-12-07T06:23:54Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T06:47:47Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T06:47:47Z" level=error msg="Line to parse map[]"
time="2023-12-07T06:53:53Z" level=error msg="0 values detected"
time="2023-12-07T06:53:53Z" level=error msg="Line to parse map[:00.090*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.335*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T06:54:47Z" level=error msg="0 values detected"
time="2023-12-07T06:54:47Z" level=error msg="Line to parse map[1-0:22.7.0:00.000*kW 1-0:41.7.0:00.092*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.108*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T06:54:57Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T06:54:57Z" level=error msg="Line to parse map[]"
time="2023-12-07T06:59:56Z" level=error msg="0 values detected"
time="2023-12-07T06:59:56Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW 7.0:00.000*kW]"
time="2023-12-07T07:19:32Z" level=error msg="0 values detected"
time="2023-12-07T07:19:32Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T07:24:20Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T07:24:20Z" level=error msg="Line to parse map[]"
time="2023-12-07T07:33:24Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T07:33:24Z" level=error msg="Line to parse map[]"
time="2023-12-07T07:33:56Z" level=error msg="0 values detected"
time="2023-12-07T07:33:56Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T07:44:51Z" level=error msg="0 values detected"
time="2023-12-07T07:44:51Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T07:45:23Z" level=error msg="0 values detected"
time="2023-12-07T07:45:23Z" level=error msg="Line to parse map[1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T07:46:17Z" level=error msg="0 values detected"
time="2023-12-07T07:46:17Z" level=error msg="Line to parse map[.0:00.000*kW]"
time="2023-12-07T07:47:23Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T07:47:23Z" level=error msg="Line to parse map[]"
time="2023-12-07T07:52:44Z" level=error msg="0 values detected"
time="2023-12-07T07:52:44Z" level=error msg="Line to parse map[1-0:22.7.0:00.000*kW 1-0:41.7.0:00.085*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.897*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T08:01:58Z" level=error msg="0 values detected"
time="2023-12-07T08:01:58Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T08:02:19Z" level=error msg="0 values detected"
time="2023-12-07T08:02:19Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T08:18:36Z" level=error msg="0 values detected"
time="2023-12-07T08:18:36Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
time="2023-12-07T08:27:06Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T08:27:06Z" level=error msg="Line to parse map[]"
time="2023-12-07T08:44:19Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T08:44:19Z" level=error msg="Line to parse map[]"
time="2023-12-07T09:10:24Z" level=error msg="0 values detected"
time="2023-12-07T09:10:24Z" level=error msg="Line to parse map[.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T09:30:57Z" level=error msg="0 values detected"
time="2023-12-07T09:30:57Z" level=error msg="Line to parse map[.0:00.742*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
time="2023-12-07T09:37:58Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T09:37:58Z" level=error msg="Line to parse map[]"
time="2023-12-07T09:38:19Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T09:38:19Z" level=error msg="Line to parse map[]"
time="2023-12-07T09:38:52Z" level=error msg="0 values detected"
time="2023-12-07T09:38:52Z" level=error msg="Line to parse map[0:41.7.0:00.034*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:61.7.0:00.000*kW 1-0:62.7.0:00.060*kW]"
time="2023-12-07T09:39:24Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T09:39:24Z" level=error msg="Line to parse map[]"
time="2023-12-07T09:53:16Z" level=error msg="Error while parsing telegram provided telegram is empty"
time="2023-12-07T09:53:16Z" level=error msg="Line to parse map[]"
from prometheus-p1-exporter.
I'm not sure, but it looks like the incoming lines are not always containing all the values that have to be parsed. If a value doesn't exist it now have a fallback of the default zero value in Golang, which is 0.
This line contains multiple values:
time="2023-12-07T09:30:57Z" level=error msg="Line to parse map[.0:00.742*kW 1-0:22.7.0:00.000*kW 1-0:42.7.0:00.000*kW 1-0:62.7.0:00.000*kW]"
However this one doesn't:
time="2023-12-07T08:18:36Z" level=error msg="Line to parse map[1-0:62.7.0:00.000*kW]"
A solution may be to use pointers and use nil values if the value is not parsed from the line. If the value is nil, it shouldn't be used to set the Prometheus metric.
from prometheus-p1-exporter.
Thanks @jordyv let's see if this fixes it #14
I'll create final PR once I confirmed the fix in my environment.
from prometheus-p1-exporter.
@marcomusso Can you try the latest version? It should be fixed.
from prometheus-p1-exporter.
Installed and removed my hack of >0 in the dashboard, will need to cleanup my historic data with some VictoriaMetrics-fu but that is ok. Will keep an eye on it! Thanks @kidk !
from prometheus-p1-exporter.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus-p1-exporter.