glinuz / db2_exporter

Prometheus IBM DB2 exporter
MIT License
17 stars 7 forks source link

Docker Implementation #2

Closed brunowego closed 3 years ago

brunowego commented 4 years ago

I'm getting a error when run this through docker, take a look here to see the implementation.

I really think you will find the issue quickly. Thanks!

glinuz commented 4 years ago

It's depends on go_ibm_db2 Mybe need to set some ENV or rebuild. Later on,I will test docker.Or,can you privode logs.

glinuz commented 3 years ago

Your Dockfile DB driver path is different from my build CGO_LDFLAGS(IBM_DB_DIR=/home/db2inst1/sqllib). So you must rebuild it。