Skip to content
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

want to run shell script #1

Open
prasenforu opened this issue Apr 15, 2020 · 2 comments
Open

want to run shell script #1

prasenforu opened this issue Apr 15, 2020 · 2 comments

Comments

@prasenforu
Copy link

Nice project !!

want to run shell script, can I ?
How to prepare configuration file?

@marckhouzam
Copy link
Owner

Nice project !!

Thanks!

want to run shell script, can I ?

You cannot call a shell script but you can run multiple commands in one line like so:
https://github.com/marckhouzam/custom-prometheus-exporter/blob/master/example-configurations/test-exporter.yaml#L14

How to prepare configuration file?

You can see a couple of examples here:
https://github.com/marckhouzam/custom-prometheus-exporter/tree/master/example-configurations

@prasenforu
Copy link
Author

Thanks, will it be a feature request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants