Deploy a custom Prometheus export like the SQL exporter?
Hi,
Is it possible to deploy additional Prometheus exporters, like the SQL exporter or custom ones?
-
Hi Raymond,
As of now, we do not have a feature or functionality that allows you to deploy other exporters such as custom ones. Although you can do this manually but whenever the Prometheus is re-deployed again, this shall be overwritten and your config might have gone unless you have a way to manage this such as through automation scripts (Puppet, Ansible, SaltStack, Terraform, etc.).
-
Hi Raymond,
Sorry, I am clarified now that it looks like you are implying that you have a SQL server cluster and were pointing about SQL exporters. If you are deploying SQL Server cluster, we do deploy SQL exporters but our own which you can find here at https://github.com/severalnines/mssql_exporter.
Now, if you do indeed that have a custom ones, you can replace it under `/usr/share/cmon/templates/pakages.conf` and look for this line,
```
## for MSSQL
[mssql_exporter]
requiredVersion=0.6.0
url="https://github.com/severalnines/mssql_exporter/releases/download/0.6.0b/mssql_exporter-0.6.0-beta.0.linux-amd64.tar.gz"```
replace the `url` value for the [mssql_exporter] section here and I believe you need to make sure of the version.
Let us know if this works for you.
[mssql_exporter]
requiredVersion=0.6.0
url="https://github.com/severalnines/mssql_exporter/releases/download/0.6.0b/mssql_exporter-0.6.0-beta.0.linux-amd64.tar.gz"
[daemon]
url_rpm="http://libslack.org/daemon/download/daemon-0.6.4-1.x86_64.rpm"
Please sign in to leave a comment.
Comments
3 comments