title: How to send logs from a heroku app to grafana cloud?
body: <p>Grafana-Loki is a nice logging service and I want to deploy it for an app on Heroku. I've looked around and there doesn't seem to be too much information about this. I found <a href="https://twitter.com/mrchrisadams/status/1349373487585107968" rel="nofollow noreferrer">this</a> twitter thread which references <a href="https://github.com/sleleko/devops-kb/blob/master/python/push-to-loki.py" rel="nofollow noreferrer">this</a> python repository, but I don't totally understand what's going on. I'm running a small javascript app on heroku, and I want the logs to go to grafana cloud. How do I apply this python code to my situation? I'm not that technical so I get lost easily when applying something to my own situation.</p>