Prometheus client not exposing log parser metrics for windows. How to add string labels and have one numeric metric

We have implemented a log parser which is successfully able to parse the log file.

When we set the output to a file, we are able to see all the metrics which means that the parsing is working fine.

But if we set the output to prometheus client, we are not seeing the metrics in /metrics endpoint. FYI, this is for windows machine,

Here is the configuration we have in our telegraf.conf.

[[outputs.prometheus_client]]
listen = “:9273”
path = “/metrics”.

Looks like prometheus does not support string metrics and the work around is to add the strings as labels.

Can anybody give an example of how we should configure it in telegraf.conf? Any help is appreciated.