0

Where/how can I apply TypeScript & minification sourcemaps in my FluentBit → Loki → Grafana flow, so that stacktraces are useful?

Apologies if the question is daft - I am a back-end developer, but want to enable my colleagues React UI to push logging (using loglevel & loglevel-remote) into same overall observability platform.

I found [dev.frontend-receiver] add sourcemap support · Issue #1295 · grafana/agent · GitHub 2 on the topic, but nothing else so far.

I am looking to do this kind of thing:

but with Grafana and Loki obviously.

I may be asking the question wrong, as have had no response on Grafana Loki forum (https://community.grafana.com/t/where-can-i-apply-sourcemaps-in-my-loki-grafana-flow-so-that-stacktraces-are-useful/79436) - but if anyone could point me to the right place or right way to phrase the question it would be really helpful.

I was expecting to find some documentation for Grafana indicating how to use sourcemaps arising from TypeScript transpilation and also from minification as part of my observability data flow, so that the stacktraces once viewed in Grafana are useful.

Jason
  • 915
  • 6
  • 6

0 Answers0