On Mon, Jan 04, 2021 at 09:40:58AM +0100, William Dauchy wrote: > On Mon, Jan 4, 2021 at 9:34 AM Julien Pivotto <[email protected]> wrote: > > I am questioning if the release date is really a useful label however. > > It was a simple example to show the present and future needs to gather > such fields in labels. The real debate here is not about which field > we put, but how we construct it regarding the current implementation > with a strong link on stats defines.
Actually we should accept that the INFO part of the stats are "special". They are the only ones providing non-metric data (e.g. pid or program name). As such it makes sense to support extending them to accomodate various needs even if some info can look a bit duplicate from some perspectives, but it remains essential that multiple consumers get them all without having to be each updated whenever a new entry is added. For example I wouldn't even mind adding an extra field that is specific to the output driver (e.g. the prometheus exporter could use it to place its own version if it were out of tree, or even place an output format version if that can help some consumers). Willy

