MSSQL loadable plugin
Source
171
171
```
172
172
mssql.ping[sqlserver://localhost:1433,stage_user,stage_password]
173
173
```
174
174
175
175
**Note:** User and password are separate parameters. Don't embed credentials in
176
176
URI.
177
177
178
178
- WRONG: `mssql.ping[sqlserver://stage_user:stage_password@localhost:1433]`
179
179
- CORRECT: `mssql.ping[sqlserver://localhost:1433,stage_user,stage_password]`
180
180
181
-
It is also possible to connect to named instance by providing instance name in path part of the URI.
181
+
It is also possible to connect to a named instance by providing the instance name in the path part of the URI.
182
182
183
183
Example:
184
184
```
185
185
sqlserver://localhost/InstanceName
186
186
```
187
187
188
-
**Note:** If both host and port are provided, the port will be used for the connection.
188
+
**Note:** If both the instance name and the port are provided, the port will be used for the connection.
189
189
190
190
Read more about what parameters are available for each metric key in the
191
191
section - metric keys.
192
192
193
193
<!-- TOC --><a name="as-a-named-session"></a>
194
194
195
195
## As a named session
196
196
197
197
Named sessions allow grouping database connection settings under a name. Define
198
198
named session configuration parameters the following way: