Using the Grafana Agent Machine Charm

Sure, I can try, but its likely not complete…

  • Wrong class names in charm.py. (COSAgentProvider vs COSMachineProvider)
  • Missing explicit references to dict/json elements for alert-rules and dashboards. How can I know how to manipulate the paths where these files are?)
  • pydantic inclusion in requirements.txt doesn’t seem to be needed.
  • No mention that the traefik edge version is needed with COS light to work.
  • No examples for any rules for prometheus/loki
  • No mention that “ALL THREE” relations needs to be established between the grafana-agent and COS or the charms will not work (There is no such information from the deploy/messages).
  • The reference to loki-logging endpoint seems to have changed name to only “logging” ?
  • No mention if/or what happens when changes to the dashboards/rules are modify as part of a charm upgrade… Will they change/update or do an operator need to change them?
  • more?