Comment 2 for bug 1763459

Revision history for this message
Adam Israel (aisrael) wrote :

Hi John,

A few thoughts. I don't think Juju should worry about flagging metrics you've already seen, because you can't guarantee who's seen them. For example, you could have an automated process reading them via the API, and a user who checks them from the CLI, and you wouldn't want to hide "seen" metrics from either one of them.

As far as forwarding metrics, are you referring to the transmit-vendor-metrics flag? The documentation for that flag suggests it's used for collecting anonymized, aggregate metrics. Are metrics removed from the local store once metrics have been anonymized and uploaded? If so, at what interval do these uploads happen?

The core problem, I think, is that we advertise via the docs that metrics can be used to observe the behavior of an application -- "fine-grained, lower-level data sources with a model-level overview", but if we can't reliably access more than the most recently collected metrics then it's not really useful at all.