Skip to content

Commit ca08eac

Browse files
m82labsotherpirate
authored andcommitted
Improve Azure Managed Instance support + more in sqlserver input (influxdata#4642)
1 parent 4c7e76c commit ca08eac

File tree

4 files changed

+211
-117
lines changed

4 files changed

+211
-117
lines changed

Gopkg.lock

Lines changed: 23 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
branch = "master"
184184

185185
[[constraint]]
186-
name = "github.com/zensqlmonitor/go-mssqldb"
186+
name = "github.com/denisenkom/go-mssqldb"
187187
branch = "master"
188188

189189
[[constraint]]

plugins/inputs/sqlserver/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,17 @@ The new (version 2) metrics provide:
9090
- *TempDB*: Free space, Version store usage, Active temp tables, temp table creation rate, + more
9191
- *Resource Governor*: CPU Usage, Requests/sec, Queued Requests, and Blocked tasks per workload group + more
9292
- *Server properties*: Number of databases in all possible states (online, offline, suspect, etc.), cpu count, physical memory, SQL Server service uptime, and SQL Server version
93-
- *Wait stats*: Wait time in ms, number of waiting tasks, resource wait time, signal wait time, max wait time in ms, wait type, and wait category. The waits are categorized using the sasme categories used in Query Store.
93+
- *Wait stats*: Wait time in ms, number of waiting tasks, resource wait time, signal wait time, max wait time in ms, wait type, and wait category. The waits are categorized using the same categories used in Query Store.
94+
- *Azure Managed Instances*
95+
- Stats from `sys.server_resource_stats`:
96+
- cpu_count
97+
- server_memory
98+
- sku
99+
- engine_edition
100+
- hardware_type
101+
- total_storage_mb
102+
- available_storage_mb
103+
- uptime
94104

95105
The following metrics can be used directly, with no delta calculations:
96106
- SQLServer:Buffer Manager\Buffer cache hit ratio
@@ -129,5 +139,4 @@ The following metrics can be used directly, with no delta calculations:
129139
- SQLServer:Workload Group Stats\Requests completed/sec
130140

131141
Version 2 queries have the following tags:
132-
- `sql_instance`: Physical host and instance name (hostname:instance)
133-
142+
- `sql_instance`: Physical host and instance name (hostname:instance)

0 commit comments

Comments
 (0)