-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mssql databases child collector fails in v0.30.0-rc.2 #1795
Comments
I can't verify that on my dev machine. Idk, if there is an issue with the event log. Bug I would appricate if you could run the export from cmd.exe with --log.level=DEBUG |
🤔 i'm getting this: 2024/12/01 08:08:31 ERROR Failed to parse CLI args err="unrecognized log level DEBUG" |
Ah, lowercase debug is correct. |
before upgrading to 0.30.0-rc.2 (0.29.2) I have received 0 as value for this metric / field via prometheus. I also cannot find the metric within SELECT * FROM sys.dm_os_performance_counters
WHERE object_name LIKE '%Databases%' order by counter_name; |
SQL Server 2017? Looking at microsoft/DiagManager#41, it sound like the Counter are available since SQL Server 2019. 0.29.0 just ignores the existence of counter and reports always 0. However, I feel that leads to wrong assumptions to end users. Instead fail, I would omit the counters on lower versions. |
I do agree that omitting them would be the preferred way to handle that. Wonder why they are listed in the SQL Server Docs for 2016 but that seems to be a doc issue then. |
Should be fixed in a upcoming release. You could also try an snapshot build to verify that: https://github.com/prometheus-community/windows_exporter/actions/runs/12107522322/artifacts/2258517864 |
Hey - thanks addressing all the findings so quickly! tested the snapshot built successfully! |
Current Behavior
windows_mssql_collector_success{collector="databases",mssql_instance="MSSQLSERVER"} 0
having set log level to debug via config.yaml but nothing showing up in the eventlog currently.
Expected Behavior
scrape should be successful
Steps To Reproduce
No response
Environment
windows_exporter logs
Anything else?
No response
The text was updated successfully, but these errors were encountered: