-
Notifications
You must be signed in to change notification settings - Fork 7
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
NEW_RELIC_MSSQL_ENABLE_BUFFER_METRICS or NEW_RELIC_MSSQL_ENABLE_RESERVE_METRICS not respected #86
Comments
I should add, the
So I expect that |
Thank you for reporting this, @alessard-trackforce. Upon brief investigation, it looks like this might not be caused by the MSI, but is instead, a glitch we could be having with the procedure that is used by ansible (which we have in open-install-library), which could be missing out on adding this attribute to This block of code is preceeded by Though this needs further investigation, it could be probable that the condition evaluating the existence of both of these attributes in the environment variables is not entirely right, causing this behaviour (not populating the file with these attributes when the right condition is met). Our team shall be investigating into this issue based on the current priority queue, since this scenario would need to be better comprehended by the team to make sure an apt code change is published, and changes made do not cause disruption to the working state of this recipe. Thanks for creating this issue, again! |
Thank you @pranav-new-relic - After looking at the code blocks you posted, and seeing that it is expecting
|
Yeah, I did want to suggest this as a workaround after a little more lookup, @alessard-trackforce. Good to know it works for you now with this workaround :) however, we shall embark on having this fixed sometime, based on our current queue of tasks. |
Description
When using
NEW_RELIC_MSSQL_ENABLE_RESERVE_METRICS: false
orNEW_RELIC_MSSQL_ENABLE_BUFFER_METRICS: false
in the ansibleenvironment
, themssql-config.yml
is not properly populated with these configurations (it is excluded entirely from the.yml
file).Steps to Reproduce
C:\Program Files\New Relic\newrelic-infra\integrations.d\mssql-config.yml
. It should look like:The contents are populated with all set variables, except that the two configurations are excluded from the resulting file.
Expected Behavior
I expect a configuration file (
C:\Program Files\New Relic\newrelic-infra\integrations.d\mssql-config.yml
) like the below to be generated:If I manually configure this file and save, the expected result works with buffer metrics and reserve metrics disabled.
Relevant Logs / Console output
Your Environment
Windows Server 2019 with SQL Enterprise
ansible [core 2.16.1]
newrelic/newrelic_install latest
Additional context
The text was updated successfully, but these errors were encountered: