Поляков Игорь
823ffb7597
Merge branch 'features/sql-transactions-collector' of https://github.com/callvirtual/wmi_exporter into features/sql-transactions-collector
2019-08-04 17:13:46 +03:00
Поляков Игорь
a90f9cda0f
Change transaction_conflict_ratio to total
2019-08-04 17:13:41 +03:00
Igor Polyakov
31d4c28124
Merge branch 'master' into features/sql-transactions-collector
2019-08-04 15:50:20 +03:00
Calle Pettersson
e880889f07
Merge pull request #335 from martinlindhe/perflib-cpu
...
Use perflib for cpu collector
2019-08-04 14:30:46 +02:00
Поляков Игорь
a283608812
Fix review comments
2019-08-04 13:47:00 +03:00
Поляков Игорь
8251ddd176
Docs for mssql transactions
2019-08-04 03:04:00 +03:00
Поляков Игорь
4f0a3a89ab
Counter struct field names now are strict equal to WMI names
2019-08-04 02:46:33 +03:00
Поляков Игорь
27cc1072fe
Initial transactions collector implementation
2019-08-04 00:55:28 +03:00
Calle Pettersson
eb9cf56dee
Merge pull request #370 from callvirtual/sql-errors-collector
...
Add support for SQL Errors counter
2019-08-03 22:23:15 +02:00
Поляков Игорь
37d1c4e958
Errors counter renamed
2019-08-03 20:24:02 +03:00
Calle Pettersson
9e198c55a4
Adapt thermalzone to new signature
2019-08-03 15:09:00 +02:00
Calle Pettersson
b309a05bde
Merge remote-tracking branch 'origin/master' into perflib-cpu
2019-08-03 15:06:30 +02:00
Calle Pettersson
123a055242
Simple test of Perflib unmarshalling
2019-08-03 14:39:28 +02:00
Calle Pettersson
9308108284
Don't fail when a perflib counter isn't found
2019-08-03 13:15:45 +02:00
Calle Pettersson
72de199528
Revert "Add container_name label to container collector"
2019-08-03 11:10:35 +02:00
Поляков Игорь
27e26037e3
Added collector for SQLErrors counter
2019-08-01 17:55:44 +03:00
Drewster727
3900504504
add container name
2019-07-20 13:00:23 -05:00
Calle Pettersson
ce1005add8
Lower-case label name
2019-07-15 19:54:23 +02:00
Stewart Thomson
47656b16bd
- Removed HighPrecisionTemperature property and just mapped it to Temperature
...
- Converted decikelvin to Celsius
- Added a loop to get the values from each zone
- Added documentation for percent passive limit and throttle reasons
2019-07-15 09:50:02 -04:00
Stewart Thomson
c73f52338d
Added thermal zone information and documentation
2019-07-12 14:54:20 -04:00
Jody Treffers
6ffe504f7e
Changed conversion from microseconds to seconds to match the description of the metric
2019-06-17 11:56:26 +02:00
Calle Pettersson
33879449a2
Refactor cpu collector to use perflib instead of WMI.
2019-05-25 13:48:40 +02:00
wizardmatas
ec0d863c29
Cpu based on os version ( #334 )
2019-05-03 20:34:34 +02:00
Nathan Bellowe
e25e96a62e
Counter metrics should be exposed as rather than
2019-04-11 11:38:34 -06:00
marek-vrana
1258703f23
msmq - incorrect condition to log a warning
...
A warning is logged to event viewer when a where clause is provided - that should, in fact, lower down the results, so the condition had to be inverted.
2019-03-14 11:42:34 +01:00
Sachin Kumar
8841091f9c
Container changes ( #320 )
...
Added container metrics
2019-03-13 21:31:29 +01:00
Calle Pettersson
9daa8c8775
Don't shadow err
2019-01-23 10:02:13 +01:00
Calle Pettersson
a171401f57
Lint-fix: errcheck. Partial fix to #261
2019-01-23 10:00:52 +01:00
Calle Pettersson
0eab86c731
Lint-fix: vet. Fixes potential overflow in AD collector
2019-01-23 09:56:24 +01:00
Calle Pettersson
73ad1ba960
Lint-fix: vetshadow
2019-01-23 09:56:24 +01:00
Calle Pettersson
0121fd6471
Lint-fix: Final golint, ignore capitalisation rules
2019-01-23 09:56:24 +01:00
Calle Pettersson
93904954f4
Lint-fix: Dead code. Fixes bug with IIS app white/blacklisting
2019-01-23 09:56:24 +01:00
Calle Pettersson
f2462b26c8
Lint-fix: Package comments
2019-01-23 09:56:24 +01:00
vlamug
ad29ac0792
There was added the checking and logging of query worker processes
2018-12-21 15:16:08 +04:00
Dave Henderson
5f9dfcc378
textfile collector: updating utfbom dependency and simplifying code
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com >
2018-12-12 12:30:25 -05:00
Calle Pettersson
d12d31a17f
Merge pull request #294 from hairyhenderson/windows-build-constraints
...
Adding windows build constraints
2018-11-30 18:57:56 +01:00
Dave Henderson
5d4cafc0a1
Adding windows build constraints
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com >
2018-11-29 19:51:12 -05:00
Dave Henderson
a70c57ffd1
textfile collector: Ensure that only UTF8 textfiles are parsed
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com >
2018-11-29 16:41:24 -05:00
Calle Pettersson
9e1d4bbaed
Fix naming
2018-11-18 18:26:15 +01:00
aswhit1
8ef341a51c
commented out 'Name' variable in struct declaration
2018-11-18 18:26:15 +01:00
aswhit1
1fde8bae5b
Win32_PerfRawData_PerfOS_Memory module
...
Initial commit
2018-11-18 18:26:15 +01:00
Dave Henderson
700bbb37c5
textfile collector: Skip BOM when present
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com >
2018-11-18 10:23:15 -05:00
Calle Pettersson
7de316af9f
Strip special chars from instance names
2018-08-31 17:21:32 +02:00
Steve Zook
c156f2bcbe
protect against emtpy wmi query result sets
...
If an WMI query were to return an empty result set, trying to access the
first element in the result set would result in a `panic: runtime error:
index out of range` error.
add logic to explicitly check if the result set size is 0 and return an
error rather.
Fixes https://github.com/martinlindhe/wmi_exporter/issues/240
2018-08-07 15:47:39 -04:00
Steve Zook
c868c00e89
fix mssql for non-default sql instances
...
the only sql servers I have access to are using the default
`MSSQLSERVER` instance names. I was contacted by someone using a
different instance name and it was failing.
Found 2 bugs in the code:
1) I was returning the default `MSSQLSERVER` as an instance even if it wasn't found in the registry
2) learned that the WMI class naming scheme for non-default instances
was not what I had coded. Changed to incorproate new knowledge.
2018-08-03 16:31:19 -04:00
Steve Zook
144715e3d2
remove persec from variable names
...
removed persec from variable names
but when I did that, there was some variable name collisions, so I went
through and name-spaced the class variables.
1
2018-08-03 15:39:26 -04:00
Steve Zook
a20cf1274a
add mssql accessmethod class
...
in the process of trying to build a grafana dashboard with "useful"
mssql metrics, I was looking around for what metrics might be useful and
came across an article of [15 SQL Server Performace Counters to Monitor](https://blogs.sentryone.com/allenwhite/sql-server-performance-counters-to-monitor/ )
two of the suggested metrics are provided by the AccessMethod
class, which I was not yet capturing.
So I added metrics for the
Win32_PerfRawData_MSSQLSERVER_SQLServerAccessMethods class.
2018-08-03 13:45:51 -04:00
Calle Pettersson
626a25cd00
Merge pull request #235 from szook/reorder-functions
...
reorder functions
2018-08-03 16:42:32 +02:00
Steve Zook
af1b8bf4d0
fix mssql metric name type
...
found that I had one metric with an extra `s` in `_genstatss_`, making it
inconsistent with it's siblings.
2018-08-03 09:52:15 -04:00
Steve Zook
d83615a818
reorder functions
...
so that the two functions that list available child collectors are next
to each other - should make less likely to not miss editing one of those
when adding additional wmi classes
also removed the 'filter' from the `mssqlFilterAvailableClassCollectors`
function as it's not filtering anyting.
2018-08-03 09:48:32 -04:00