I've set up Stackdriver, and was able to log latencies with gcloud python library, as well as the instance on which the latency occur.
logger.log_struct({"latency": latency, 'host' : host})
Since speed is very important to our UX, we'd like to monitor and decrease the latency of our technology.
That's why I'm trying to display a graph with the average latency of the technology in a Stackdriver dashboard.
I've created a log-based metric, but this metric sounds more to count the number of logs than doing an average.
Though, the dashboard already display other latencies (such network latency, or request latency) so I think it sounds possible, isnt it ?