Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation feedback: /docs/sources/reference/components/prometheus/prometheus.operator.probes.md #2349

Open
rosieks opened this issue Jan 8, 2025 · 0 comments

Comments

@rosieks
Copy link

rosieks commented Jan 8, 2025

Documentation does not explain how to create Probe resource. Especially if there is built-in prober and if so then how to refer to it.

Right now for such Probe:

apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
  name: public-endpoints-probe
spec:
  interval: 60s
  jobName: avialability-test
  scrapeTimeout: 10s
  targets:
    staticConfig:
      static:
        - https://my-url

I receive such error:

ts=2025-01-08T12:16:57.96690704Z level=error msg="Creating target failed" component_path=/ component_id=prometheus.operator.probes.availability scrape_pool=probe/examples/avialability-test-probe err="no address\ngithub.com/prometheus/prometheus/scrape.PopulateLabels\n\t/go/pkg/mod/github.com/grafana/[email protected]/scrape/target.go:420\ngithub.com/prometheus/prometheus/scrape.TargetsFromGroup\n\t/go/pkg/mod/github.com/grafana/[email protected]/scrape/target.go:539\ngithub.com/prometheus/prometheus/scrape.(*scrapePool).Sync\n\t/go/pkg/mod/github.com/grafana/[email protected]/scrape/scrape.go:523\ngithub.com/prometheus/prometheus/scrape.(*Manager).reload.func1\n\t/go/pkg/mod/github.com/grafana/[email protected]/scrape/manager.go:228\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1695\ninstance 0 in group \ngithub.com/prometheus/prometheus/scrape.TargetsFromGroup\n\t/go/pkg/mod/github.com/grafana/[email protected]/scrape/target.go:541\ngithub.com/prometheus/prometheus/scrape.(*scrapePool).Sync\n\t/go/pkg/mod/github.com/grafana/[email protected]/scrape/scrape.go:523\ngithub.com/prometheus/prometheus/scrape.(*Manager).reload.func1\n\t/go/pkg/mod/github.com/grafana/[email protected]/scrape/manager.go:228\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1695"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant