Issues with node-red-contrib-prometheus-exporter on a particular node

I finally successfully managed set up few nodes with the Prometheus exporter except one.
Differently from the other nodes which are fine, this note simply expect a 0/1 which represent the status of a pin low/high.

[{"id":"cc08c4d980616d50","type":"rpi-gpio in","z":"4e4990f3.d4ada","name":"Digi1","pin":"33","intype":"tri","debounce":"250","read":true,"x":190,"y":560,"wires":[["eac0b39954ba4df6","4b48f8c4ecf91f7a","7642286748afd7c9"]]},{"id":"eac0b39954ba4df6","type":"debug","z":"4e4990f3.d4ada","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":350,"y":540,"wires":[]},{"id":"4b48f8c4ecf91f7a","type":"influxdb out","z":"4e4990f3.d4ada","influxdb":"b87cafc6.11924","name":"Digi1-Influx","measurement":"Digi1","precision":"","retentionPolicy":"","database":"database","precisionV18FluxV20":"ms","retentionPolicyV18Flux":"","org":"organisation","bucket":"bucket","x":350,"y":580,"wires":[]},{"id":"7642286748afd7c9","type":"change","z":"4e4990f3.d4ada","name":"prom-exporter-digi1","rules":[{"t":"set","p":"payload.val","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"payload.op","pt":"msg","to":"set","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":550,"y":560,"wires":[["d6a1c7879f44da0b"]]},{"id":"d6a1c7879f44da0b","type":"prometheus-exporter","z":"4e4990f3.d4ada","name":"","metric":"8ae66ae189b4f751","x":810,"y":560,"wires":[]},{"id":"b87cafc6.11924","type":"influxdb","hostname":"127.0.0.1","port":"8086","protocol":"http","database":"datastorage","name":"","usetls":false,"tls":"","influxdbVersion":"1.x","url":"http://localhost:8086","rejectUnauthorized":true},{"id":"8ae66ae189b4f751","type":"prometheus-metric-config","name":"raspberrypi_digi1","help":"Digi 1","labels":"","mtype":"counter"}]

I tried both, gauge and metric but I still have errors.


Any suggestion nohow to solve this issue?
Thank you

You might be best served by opening an issue on the node's Github page: Issues · Docoyo/node-red-contrib-prometheus-exporter · GitHub

Thank you for the direction. I am not sure if it is an issue with the node or if I am doing a mistake.
I have other nodes like this in the same flow working but with different metrics.
If I don't get right here I will try in Github.
Thanks