nats-io / prometheus-nats-exporter

A Prometheus exporter for NATS metrics
Apache License 2.0
376 stars 137 forks source link

Won't run as windows service #164

Open JohannesEH opened 2 years ago

JohannesEH commented 2 years ago

Hi I'm trying to get v0.9.1 to run as a windows service but it fails with a 7009 (timeout) error. Watching the logs, the server starts up fine but the seems to be some miscommunication between the windows service control manager and the prometheus-nats-exporter process that makes it think the process hasn't started.

Do you have any ideas how to solve this?

jasase commented 10 months ago

I have the same problem. Seems that it is not compatible with windows services. Currently running it with https://nssm.cc/

JohannesEH commented 10 months ago

Yeah, ended up doing the same.