How to tune Loki data log volumes/ingestion/retention in COS

There are two things at play here:

  • The level of isolation depends on what you’re measuring. If you only want one workload’s logs, then it should be the only one related to loki. An alternative option is to relate the same workload to two different loki instances: one that is part of COS and within your complete context, and another loki that is dedicated to the measurement.
  • The original diagram is a relation diagram: the lines mean a juju relation. In your diagram, it looks like the lines are HTTP connections?

In any case, it would be interesting to compare results from the following two loki instances:

(Edit a copy of this diagram)

In this diagram, boxes are apps and lines are juju relations. Traefik is there, part of a COS bundle, but is besides the point.