METRICS-3206: As an AIRG I would like to see connect/disconnect synthetic queries when the agent generates external resource for SQL queries