Skip to content

UmutComlekci/mssql_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSSQL Prometheus exporter

Prometheus exporter for MSSQL server metrics.

Installation

From source

You need to have a Go 1.15+ environment configured. Clone the repo (outside your GOPATH) and then:

go build -o mssql_exporter
./mssql_exporter --sqlserver=[YOUR CONNECTION STRING] --sqlusername=[YOUR USER NAME] --sqlpassword=[YOUR PASSWORD]

Using Docker

docker image build -t umutcomlekci/mssql_exporter -f Dockerfile .
docker run -d -p 8080:8080 -e SQLSERVER=[YOUR CONNECTION STRING] -e SQLUSERNAME=[YOUR USER NAME] -e SQLPASSWORD=[YOUR PASSWORD] umutcomlekci/mssql_exporter

Releases

No releases published

Packages

No packages published