We will need to implement logging relation in Kubeflow charms and this relation should use LogForwarder from loki_push_api lib.
This implementation will not require any abstraction in chime since it is really simple, however the #97 should be updated with common code for testing if the relation works fine.
This test needs to only check grafana-agent-k8s data bag and verify that endpoint key is there. We cannot check anything more, since we will not deploy Loki and Grafana agent is not log server, i.e. logs are not storead there.
What needs to get done
Add logging relation in deploy function
Add assert logging to testing cos abstraction
Update README.md how to use it
Unit tests and integrations tests, or at least example of manual tests
Context
We will need to implement logging relation in Kubeflow charms and this relation should use LogForwarder from loki_push_api lib. This implementation will not require any abstraction in chime since it is really simple, however the #97 should be updated with common code for testing if the relation works fine.
This test needs to only check grafana-agent-k8s data bag and verify that
endpoint
key is there. We cannot check anything more, since we will not deploy Loki and Grafana agent is not log server, i.e. logs are not storead there.What needs to get done
Definition of Done