observatorium / up

a simple Prometheus and Loki API testing tool
Apache License 2.0
24 stars 23 forks source link

Update dependencies and bump to Go 1.17 #41

Closed philipgough closed 2 years ago

philipgough commented 2 years ago

This changes is similar to what we did in thanos-recieve-controller #82 and essentially, trying to improve our situation in regards to production readiness.

I've update the Go version to 1.17 and upgrade our dependencies, some of which were deprecated or contained vulnerabilities.

The linter version has been updated because the older version was not executable on OS X.

To keep in sync with our other components and to reduce the attack surface of the image I've updated to using a scratch image. I had a quick look at the code and can't see any reason why this would be an issue but perhaps I missed something in that regards.