Skip to content

Commit

Permalink
added documentation on configuration of mssql connections
Browse files Browse the repository at this point in the history
  • Loading branch information
ilantnt committed Nov 11, 2023
1 parent a035d4c commit 10fcb66
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ jobs:
split_part(inet_server_addr()::text, '/', 1) AS hostname,
lag::float AS replication_lag
FROM lag
- name: "mssql"
interval: '5m'
connections:
- 'sqlserver://username:password@host?database=mssqlDB'
queries:
- name: "user_amount"
help: "Count users in Database"
labels:
- "app"
values:
- "users"
query: |
SELECT application as app, count(*) as users
FROM mssqlDB
GROUP by app;
- name: "mydb"
interval: '5m'
connections:
Expand Down

0 comments on commit 10fcb66

Please sign in to comment.