sql_exporter | Flexible SQL Exporter for Prometheus | SQL Database library
kandi X-RAY | sql_exporter Summary
kandi X-RAY | sql_exporter Summary
[Go Report Card] This repository contains a service that runs user-defined SQL queries at flexible intervals and exports the resulting metrics via HTTP for Prometheus consumption.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sql_exporter
sql_exporter Key Features
sql_exporter Examples and Code Snippets
Community Discussions
Trending Discussions on sql_exporter
QUESTION
I'm trying to connect to a SQL Server database via Prometheus. I think I'm supposed to do this using mssql_exporter or sql_exporter but I simply don't know how. I can see the metrics of prometheus itself and use those metrics to build a graph but again, I'm trying to do that with a database. The query doesn't matter, I just need to somehow access a database through prometheus. I've come to this point by watching some tutorials and web searching but I'm afraid I'm stuck at this point. Can anyone help me on this topic. Maybe there is a good tutorial I overlooked or maybe I'm having a hard time understanding the documentation but I would really appreciate some form of help very much. Thanks in advance.
...ANSWER
Answered 2021-Jan-28 at 14:17Prometheus scrapes the metrics via HTTP. The exporters take the metrics and expose them in a format, so that prometheus can scrape them.
What you can check:
- is the exporter exporting the metrics (can you reach the
/metrics
page with your browser or curl) - are there any warnings or rrors in the logs of the exporter
- is prometheus able to scrape the metrics (open prometheus - status - targets)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sql_exporter
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page