canonical / prometheus-scrape-config-k8s-operator

This charmed operator allows operators to fine-tune scrape job configurations before sending them to the Prometheus charmed operator.
https://charmhub.io/prometheus-scrape-config-k8s
Apache License 2.0
1 stars 1 forks source link

ambiguous relation when relating to prometheus - missing docs #35

Closed samuelallan72 closed 3 weeks ago

samuelallan72 commented 10 months ago

Bug Description

If I follow the instructions in the readme:

Relate the charms together.

$ juju relate cassandra-k8s scrape-interval-config
$ juju relate scrape-interval-config prometheus-k8s

I get an error:

ubuntu@server:~$ juju relate scrape-interval-config prometheus
ERROR ambiguous relation: "scrape-interval-config prometheus" could refer to "prometheus:metrics-endpoint scrape-interval-config:metrics-endpoint"; "scrape-interval-config:configurable-scrape-jobs prometheus:self-metrics-endpoint"

The readme must be updated, and it should be documented what the use cases are for each endpoint.

To Reproduce

see above

Environment

latest/stable or latest/edge charm (same error)

Relevant log output

see above

Additional context

No response

lucabello commented 9 months ago

Thanks for the issue; sidenote, we should change the cassandra-k8s charm in the example to something else!

lucabello commented 3 weeks ago

Clsoed by https://github.com/canonical/prometheus-scrape-config-k8s-operator/pull/51