def METHOD_NAME(instance, aggregator, datadog_agent, dd_run_check):
    # add some stats
    connection = psycopg2.connect(
        host=common.HOST,
        port=common.PORT,
        user=common.USER,
        password=common.PASS,
        database=common.DB,
        connect_timeout=1,
    )
    connection.set_isolation_level(psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT)
    cur = connection.cursor()
    cur.execute('SELECT * FROM persons;')
    instance.update(
        {
            'collect_per_client_metrics': True,
        }
    )
    # run the check
    check_with_clients = PgBouncer('pgbouncer', {}, [instance])
    check_with_clients.check_id = 'test:123'
    dd_run_check(check_with_clients)
    env_version = common.get_version_from_env()
    assert_metric_coverage(env_version, aggregator, include_clients=True)