forked from burningalchemist/sql_exporter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update data_source_name in configuration file [skip ci] (burnin…
…galchemist#574) Signed-off-by: Neaj Morshad <[email protected]>
- Loading branch information
1 parent
ec0c9cd
commit 03f49c6
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ target: | |
name: mssql_database | ||
# Data source name always has a URI schema that matches the driver name. In some cases (e.g. MySQL) | ||
# the schema gets dropped or replaced to match the driver expected DSN format. | ||
data_source_name: 'sqlserver://prom_user:[email protected]:1433' | ||
data_source_name: 'sqlserver://prom_user:[email protected]:1433/dbname' | ||
|
||
# Collectors (referenced by name) to execute on the target. | ||
collectors: [mssql_standard] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ global: | |
target: | ||
# Data source name always has a URI schema that matches the driver name. In some cases (e.g. MySQL) | ||
# the schema gets dropped or replaced to match the driver expected DSN format. | ||
data_source_name: 'sqlserver://prom_user:[email protected]:1433' | ||
data_source_name: 'sqlserver://prom_user:[email protected]:1433/dbname' | ||
|
||
# Collectors (referenced by name) to execute on the target. | ||
# Glob patterns are supported (see <https://pkg.go.dev/path/filepath#Match> for syntax). | ||
|