Sketching a graph to query a time-series database | Synapse