Skip to content

Commit

Permalink
docs: update data_source_name in configuration file [skip ci] (burnin…
Browse files Browse the repository at this point in the history
…galchemist#574)

Signed-off-by: Neaj Morshad <[email protected]>
  • Loading branch information
Neaj-Morshad-101 authored Aug 9, 2024
1 parent ec0c9cd commit 03f49c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/sql_exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion examples/sql_exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 03f49c6

Please sign in to comment.