-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[inputs.sqlserver] exclude_query not honored #6602
Comments
There is a typo in your config - It's unclear to me if the content of Can you post the output of |
Updated the exclude_query config to:
Ran: And got the results in the attached testrun.txt. Edit: If it's not clear, that exclude_query includes all query types. So expected results would be that the |
Can you add |
Alright... stupid user error. Apparently, I overlooked the That said, I did update the config to also include your
This is with this
Edit: Nevermind. Fixed that too. Related to query version. This is resolved now. |
Relevant telegraf.conf:
System info:
PS C:\Program Files\telegraf> .\tele
Telegraf 1.12.4 (git: HEAD 9a4f08e)
Windows 2016 & 2012 R2
SQL Server 2016 and 2017
Steps to reproduce:
telegraf.exe --test
Expected behavior:
I expect queries defined in the exclude_query option to be excluded from data collected and forwarded.
Actual behavior:
It appears as if all metrics are being collected and forwarded regardless of exclude_query config. Even if you define all query types in the exclude_query option, you still get SQL Server metrics pulled back when running telegraf.
Additional info:
The text was updated successfully, but these errors were encountered: