def _get_atts(feature, fields, geom):
    data = [feature.GetFID()]
    geometry = feature.geometry()
    if geom and geometry:
        data.append(_geom_str(geometry))
    values = feature.items()
    data += [values[field] for field in fields]
    return data
Sanitize the name of a metric to remove unwanted chars
dataset/ETHPy150Open cgarrard/osgeopy-code/ospybook/ospybook/__init__.py/_get_atts--crossover with--dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/nagiosperfdata/nagiosperfdata.py/NagiosPerfdataCollector._sanitize