def get_all_run_metadata_keys(session=None):
    session = session or get_session()
    keys = session.query(models.RunMetadata.key).distinct().all()
    return [key[0] for key in keys]
Get a list of all the keys used in the run_metadata table
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_all_run_metadata_keys