Skip to content

Commit

Permalink
Merge pull request prometheus-community#1065 from shivsepra/patch-1
Browse files Browse the repository at this point in the history
Update collector.mssql.md
  • Loading branch information
breed808 authored Sep 23, 2022
2 parents 71f9683 + 9b94d69 commit 7a73a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/collector.mssql.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ When you read the counter in perfmon you will get the the percentage pages found
This collector retrieves the two internal values separately. In order to calculate the Buffer Cache Hit Ratio in PromQL.

```
windows_mssql_bufman_buffer_cache_hits{instance="host:9182", exported_instance="MSSQLSERVER"} /
windows_mssql_bufman_buffer_cache_lookups{instance="host:9182", exported_instance="MSSQLSERVER"}
windows_mssql_bufman_buffer_cache_hits{instance="host:9182", mssql_instance="MSSQLSERVER"} /
windows_mssql_bufman_buffer_cache_lookups{instance="host:9182", mssql_instance="MSSQLSERVER"}
```

This principal can be used for following metrics too:
Expand Down

0 comments on commit 7a73a94

Please sign in to comment.