custom-prometheus-exporter icon indicating copy to clipboard operation
custom-prometheus-exporter copied to clipboard

want to run shell script

Open prasenforu opened this issue 4 years ago • 2 comments

Nice project !!

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

prasenforu avatar Apr 15 '20 19:04 prasenforu

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

marckhouzam avatar Apr 16 '20 19:04 marckhouzam

Thanks, will it be a feature request?

prasenforu avatar Apr 17 '20 00:04 prasenforu