in opmon/statistic.py [0:0]
def name(cls):
"""Return snake-cased name of the statistic."""
# https://stackoverflow.com/a/1176023
name = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", cls.__name__)
return re.sub("([a-z0-9])([A-Z])", r"\1_\2", name).lower()