LokiTransport integration with Strapi

Did anyone manage to correctly set up LokiTransport from Winston-loki to send their logs to Graphana Cloud?
I was able to make this work only on local host environment with

  new LokiTransport({
            host: 'best_host_here',
            json: true,
            basicAuth:'auth_things',
            labels: { app: 'best_app' },
            replaceTimestamp: true,
            format: format.simple(),
            onConnectionError: (err) => console.error(err)
        }),

But when i perform yarn build the build stucks and never ends.

Did anyone manage to migrate to their production environments?

Hello there, same issue ! Did you make it work ? Any workaround ?