In metrics-platform/-/merge_requests/39 a new convenience method is introduced MetricsClient#newInstrument( streamName, schemaID ) to facilitate the creation of configured loggers.
This is blocked for now on T366827: Update the Metrics Platform JS Client Library API to talk about Instrument Name, but once that is resolved it would be nice to adopt the API.