In newer versions of jsonnet-bundler this is not strictly necessary anymore, the module name has been only a “legacy” import option for the last year (I just checked the version allowing it went out almost to the day exactly a year ago). If there are conflicts the absolute (go import style) full module name must be specified, which might be nice way to move the ecosystem forward anyways.
I don’t think this should stop us from doing this, I don’t feel strongly one way or the other about the directory structure itself though I agree we could be more consistent. On Wed 3. Mar 2021 at 15:59, Tom Wilkie <[email protected]> wrote: > @Frederic Branczyk <[email protected]> should weigh in on this, but I > believe the module name == the directory name in jsonnet bundler, so if we > call them all monitoring-mixin then it will make it tricky to import > multiple ones into the same project. So with that in mind I like > "<project>-mixin". > > But we could be more consistent about root-of-repo vs docs vs > documentation directories... > > > Tom > > On Wed, Mar 3, 2021 at 2:47 PM Ben Kochie <[email protected]> wrote: > >> We currently have mixins spread out over various paths within each >> repository. It would be nice if there was a standard path for this. >> >> What do people think of having all projects keep their mixins in >> `/monitoring-mixin`? >> >> alertmanager/doc/alertmanager-mixin >> mysqld_exporter/mysqld-mixin >> node_exporter/docs/node-mixin >> prometheus/documentation/prometheus-mixin >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-developers/CABbyFmrhhG-%3DEQcb2zm%3Dkc2%3DuqX7nxHb2%3D6YG8cgTNec-fqdRQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/prometheus-developers/CABbyFmrhhG-%3DEQcb2zm%3Dkc2%3DuqX7nxHb2%3D6YG8cgTNec-fqdRQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAOs1Umzz3wiHykSF9j8agYeC2ns_E0Z%3DYNxqEwZEuzHjs9g7PQ%40mail.gmail.com.

