hello,
I find myself unable to parse the metrics from script_exporter on prometheus.
My exporter config looks like this:
scripts:
- name: login
script: python /etc/prometheus/script_exporter/frontoffice.py login
timeout: 15
I can successfully reach the metrics for my script on :9172/probe?name=login
However when adding to Prometheus I see the target as DOWN with this errors
"INVALID" is not a valid start token
My exporter configuration looks like this:
- job_name: synthetics
metrics_path: '/probe?name=login'
static_configs:
- targets: ['localhost:9172']
I've tried some variations of the scrape config to no success. Some documentation on usage from Prometheus would be greatly appreciated :)
thaks!
hello,
I find myself unable to parse the metrics from script_exporter on prometheus.
My exporter config looks like this:
I can successfully reach the metrics for my script on :9172/probe?name=login
However when adding to Prometheus I see the target as DOWN with this errors
My exporter configuration looks like this:
I've tried some variations of the scrape config to no success. Some documentation on usage from Prometheus would be greatly appreciated :)
thaks!