-
Notifications
You must be signed in to change notification settings - Fork 486
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
agent-static-mixin: include custom 'all' value #6589
agent-static-mixin: include custom 'all' value #6589
Conversation
899f2ef
to
88c0327
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on it. I left a nit.
@@ -286,6 +286,7 @@ local template = grafana.template; | |||
value: '$__all', | |||
}, | |||
includeAll=true, | |||
allValues='.*', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know I suggested you .*
but .+
may actually be slightly more accurate. That's also what jsonnet-libs
does by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let's change it. I had both addMultiTemplate
and addMultiTemplateWithAll
helpers with a different default, changing it now.
Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com>
88c0327
to
4c04185
Compare
Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I think what you're doing in this PR is consistent with jsonnet-libs
.
This makes it for easier querying on the backend of your choice. I've verified by comparing the resulting dashboards in main and the fix branch
I'm adding the new parameter on the existing helper instead of refactoring to use
addMultiTemplateWithAll
, should be enough for now.