You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add the prometheus.operator.probes component on my alloy instance but I don't get what my Probe should look like.
As I understand, alloy acts as the blackbox exporter so I don't need to deploy it in addition to alloy. (prometheus.exporter.blackbox i working well)
something like this should work or is spec.prober.url required ? If so, is it localhost:12345 ?
When adding url: localhost:12345 I get en error: level=debug msg="Append failed" component_path=/ component_id=prometheus.operator.probes.default scrape_pool=probe/kube-monitoring/probe-crd target="http://localhost:12345/probe?module=http_2xx&target=https%3A%2F%2Fgrafana.com" err="expected a valid start token, got \"<\" (\"INVALID\") while parsing: \"<\"" because this is the UI port I guess
Is it possible to share a working example with a Probe ?
Does an extra Port need to be exposed in alloy container ? Or a dedicated blackbox-exporter pod is required ?
The text was updated successfully, but these errors were encountered:
URL
https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.operator.probes/#example
Feedback
Hi,
I'm trying to add the
prometheus.operator.probes
component on my alloy instance but I don't get what myProbe
should look like.As I understand, alloy acts as the blackbox exporter so I don't need to deploy it in addition to alloy. (prometheus.exporter.blackbox i working well)
something like this should work or is
spec.prober.url
required ? If so, is itlocalhost:12345
?When adding
url: localhost:12345
I get en error:level=debug msg="Append failed" component_path=/ component_id=prometheus.operator.probes.default scrape_pool=probe/kube-monitoring/probe-crd target="http://localhost:12345/probe?module=http_2xx&target=https%3A%2F%2Fgrafana.com" err="expected a valid start token, got \"<\" (\"INVALID\") while parsing: \"<\""
because this is the UI port I guessIs it possible to share a working example with a Probe ?
Does an extra Port need to be exposed in alloy container ? Or a dedicated blackbox-exporter pod is required ?
The text was updated successfully, but these errors were encountered: