-
Notifications
You must be signed in to change notification settings - Fork 8
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
Move some common objects to observability-libs #24
Comments
OF team has already rejected the essential premise of In general, I'd ask:
|
I think the highest ranking logic to make a lib out of at this point would be the relation direction validation. All of our charms either do it, or should do it, and the code definitely is generic enough to fit as a lib. One thing to keep in mind there however is that it needs to be a scoped import, as we don't want to impose the dependency on anyone else. |
Let's put this on the backburner until after we've gone GA. |
Since (almost?) all charms already import juju_topology, maybe we could rename the lib from juju_topology to something else and ... |
And? :D |
Enhancement Proposal
class AlertRules
AlertRules
is used in both prometheus_scrape and remote_write. A variation also exists in loki_push_api.class CosTool
CosTool
is used in prometheus_scrape, remote_write and loki_push_api._type_convert_stored
_type_convert_stored
is used in cos-configuration-k8s, alertmanager-k8s, loki-k8s, avalanche-k8s, grafana-agent-k8s, grafana-k8s, traefik-k8s, prometheus-k8s, cassandra-k8s.Unless OF team would be willing to accept this somewhere.
relation direction validation
The text was updated successfully, but these errors were encountered: