Dear Prometheus developers, On 2021-08-22, the Prometheus dev summit has expressed a consensus to deprecate the `pkg` directory, see https://docs.google.com/document/d/11LC3wJcVk00l8w5P3oLQ-m3Y37iom6INAMEu2ZAGIIE/edit?pli=1#heading=h.80qrixk0sjgv
The `pkg` directory is used in some (but not all) repositories in the Prometheus GH org as a root directory for some (but not necessarily all) Go packages in a repository. The discussion of the pros and cons is nuanced (see the notes and recording of the dev summit), but the outcome is that we desire consistency between repositories and want to gravitate towards _not_ using the `pkg` directory. Please do not add more packages to any existing `pkg` directory, and move packages out of the directory at your convenience. We plan to do the latter soon for prometheus/prometheus, and this mail intends to be a heads-up for those using the affected packages as libraries from outside the prometheus/prometheus repository. The packages `gate`, `logging`, `modtimevfs`, `pool`, and `runtime` will be moved to the (already existing) `util` directory. The packages `exemplar`, `labels`, `relabel`, `rulefmt`, `textparse`, `timestamp`, and `value` will be moved to the (newly created) `model` directory. It will happen in this pull request: https://github.com/prometheus/prometheus/pull/9478 Apologies for any hassle this may cause and thank you very much for your understanding, -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] bjo...@rabenste.in -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/20211014115746.GF20744%40jahnn.