How to measure every API call in your Go app (in fewer than 30 lines of code)



  • How to measure every API call in your Go app (in fewer than 30 lines of code)

    I recently gave a talk at GrafanaCon LA, which was heavily inspired by my blog post on check output metric extraction. During the talk, I dove into a popular monitoring use case with Sensu, InfluxDB, and Grafana — let’s call it the SIG stack 😎. While I got to share some awesome features in Sensu that ultimately allow users to collect, store, and visualize their metrics, the conference was about Grafana, and folks wanted to see dashboards! Now, I’m a Go dev, not a data scientist, so I don’t have quick access to large sample sets, and while it’s super easy to spin up Sensu in production and start scraping nodes to collect fancy metrics, I wanted something more... and the attendees of GrafanaCon wanted something moar!



    https://blog.sensu.io/how-to-measure-every-api-call-in-your-go-app

 

© Lightnetics 2019