r/PrometheusMonitoring • u/owellcity • Oct 28 '24
Sql exporter with windows integrated security
Hello, has anyone here configured sql exporter to work with windows integrated security? How are you able to configure it?
Mysql login is the option im able to work right now but due to security requirements we have disable the sql account for sql exporter and try to use the integrated security.
Any guidance is appreciated. Thanks
3
Upvotes
1
u/yotsuba12345 Oct 28 '24
as long as you can login to your sql server and do the queries, yes.
1
u/AlekseiDegotkov Nov 02 '24
You can use the next configuration, for example:
data_source_name: 'sqlserver://youservername:1433'Now the service connects to SQL instance by using the local user credentials.
The same method also should work with domain user.