-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hi
I'm creating a monitor for our proxy server with the blackbox exporter sending periodic messages to an outside service.
The following config sends health check messages to an api...
Problem is: the proxy server is not being used for sending the requests: nothing in the proxy access logs, and if I change the port to something that definitely would not work, the messages are still going through.
What am I doing wrong?
`prometheus-blackbox-exporter:
config:
modules:
post_api_probe:
prober: http
timeout: 5s
http:
proxy_url: "http://proxy-url:3128"
method: POST
headers:
Content-Type: application/json
Authorization: " "
body: '{"event": "proxy healthcheck","sourcetype":"blackbox"}'
valid_http_versions: ["HTTP/1.1", "HTTP/2"]
preferred_ip_protocol: "ip4"
serviceMonitor:
enabled: true
interval: 30s
path: /probe
targets:
- name: proxy-synthetic-test
module: post_api_probe
url: https://<api_url>`