I'd like to track metrics for my App Engine app segmented by endpoint:
I've found metrics that look like they'd be helpful, like http/server/response_count
and http/server/response_latencies
but there doesn't seem to be a way to group them by endpoint. How can I do this?
I found that I could get what I wanted by creating log-based metrics:
The trick is to add a label based on the path (protoPayload.resource
):
Now group by path
in the metrics explorer: