Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make sql_exporter buildable again, update go-mssqldb to latest version (go modules based) #117

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gebi
Copy link

@gebi gebi commented Jan 19, 2022

Hi,

thx for your awesome exporter, it's a real timesaver for us.
As we thought we had a connection problem we wanted to try with the latest go-mssqldb)

  1. i've switched sql_exporter to use go modules
  2. switched from promeotheus/golang-builder to golang:1.17 becuase the golang-builder image is 3.8GB in size
  3. updated go-mssqldb to latest version

metrics are delivered just fine with the new version

(with the current master make docker does not build because of missing dependencies)

… image size

- saves about 3GB of downloads to build
- remove format step, implicitely done from go toolchain anyway
go get github.com/denisenkom/go-mssqldb@f6fd477f7416ef8501faf24cf881e8fe41e9e890
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant