Being able to add custom environment variables to script exporter opens up a lot of opportunities to maintain and do more integrations. I am using this feature to be able to add custom params to my scripts se example
values.yaml
config: |
tls:
enabled: false
basicAuth:
enabled: false
bearerAuth:
enabled: false
scripts:
- name: testing_script
command: /usr/bin/env
args:
- bash
- -xc
- |
echo '# HELP request_time Total time spent making performing the curl'
echo '# TYPE request_time gauge'
curl -ILsk \
--user "${MY_USERNAME}:${MY_PASSWORD}" \
-w '%{time_total}' \
-o /dev/null \
${URL} | xargs echo "request_time{script=\"testing_script\"}"
Hello Maintainers,
Being able to add custom environment variables to script exporter opens up a lot of opportunities to maintain and do more integrations. I am using this feature to be able to add custom params to my scripts se example
values.yaml
custom-params.yaml