Hello, I am using docker for windows, I installed ...
# support
j
Hello, I am using docker for windows, I installed SigNoz on a WSL distribution, is there any way for me to not only collect hostmetric, but also metric from the windows OS?
a
You need to Install OpenTelemetry Collector on Windows and then Configure the Windows Collector using some yaml configuration snippet
j
Hi AbdulSalaam thank you for this, do you know where I can find the yaml configuration snippet mentioned?
a
You can make use of this, I hope it helps "receivers: hostmetrics: collection_interval: 10s scrapers: cpu: memory: disk: network: exporters: otlp: endpoint: "http://localhost:4317" # Replace with your SigNoz endpoint service: pipelines: metrics: receivers: [hostmetrics] exporters: [otlp]"
j
Thanks, will try. I noticed on my current linux dist the default http://localhost:4317 endpoint produces an error, so I am in the process of figuring that one out.
a
Great, I hope you find a solution. Good luck
n
Hey @Jerome Douglas just checking in—were you able to get the issue resolved?
j
Hi @Nagesh Bansal, I am still working on this, I am currently having an issue with the my exporters otlp endpoint, SigNoz is installed locally through docker but for some reason I am not able to get through. I have tried using "http://localhost:4317", and latest is "172.17.0.1:4317", using the latter I am getting this message error: desc = \"transport: Error while dialing: dial tcp 172.17.0.14317 i/o timeout\"", "interval": "35.85506237s"}