-
Notifications
You must be signed in to change notification settings - Fork 50
"INVALID" is not a valid start token #18
Copy link
Copy link
Open
Description
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels