Autodiscovered metrics metadata

don't merge just yet, i'd like to test a bit more

depends on https://github.com/mistio/mist.core/pull/650

solves https://github.com/mistio/mist.core/issues/636