Generating a performance-monitoring graph