monitoring: fix transaction duration graph
Created by: michaellzc
close https://github.com/sourcegraph/sourcegraph/issues/34317
Test plan
Local
actually doesn't really make sense to test locally because there's only one db
sg run redis-postgres
open a new tab
sg start monitoring
the graph should still show something
Live
the graph should show two (or more) lines instead of just one