-
-
Notifications
You must be signed in to change notification settings - Fork 587
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
Feature Request - Reuse init command for multiple charts #29
Comments
very much already a thing: https://github.com/sqshq/sampler#variables |
@Asherslab this just reuses the command path and arguments, it doesn't reuse the same instance of the init application. In the example I gave, showing both CPU load and RAM use, using a variable for |
Currently using sampler and I agree that global init looks like a must. |
true we could have it elsewhere. but having it in sampler would be nice |
@drozdowsky: for my example of database connections, I did exactly that. I spent a half hour yesterday throwing together a windows service that responds to simple commands over the network. Now my While this definitely improves things for my company's database servers, it just moves the issue to my local system. Now I have 15 instances of |
i agree with you. |
The example configuration suggests using an
init
command for things that require some initial setup, such as getting performance metrics from a database server. In some cases, multiple charts may be fetching data from the same source, so it would be convenient if the sample instance of aninit
command could be reused somehow. This would be useful for e.g. setting up charts for multiple production servers, separately showing CPU load and RAM usage, where both data sets are coming from the same data source.The text was updated successfully, but these errors were encountered: