slok / sloth

🦥 Easy and simple Prometheus SLO (service level objectives) generator
https://sloth.dev
Apache License 2.0
2.09k stars 173 forks source link

error: "generate" command failed: invalid spec, could not load with any of the supported spec types #528

Closed amitbb16 closed 11 months ago

amitbb16 commented 11 months ago

Screenshot 2023-11-30 111620 Hi. I'm experimenting sloth on Windows, but when I try to validate/generate any of the default example files it fails!

Here's what I did exactly:

1)sloth-windows-amd64.exe generate -i getting-started.yaml

Getting error

INFO[0000] SLI plugins loaded                            plugins=0 svc=storage.FileSLIPlugin version=v0.11.0 window=30d
INFO[0000] SLO period windows loaded                     svc=alert.WindowsRepo version=v0.11.0 window=30d windows=2
(https://github.com/slok/sloth/assets/122956425/5eb8943e-f22b-4570-801b-78289ba160f9)
amitbb16 commented 11 months ago

Converted CRLF to LF