in sample_application.py [0:0]
def publisher(metrics): print('Publishing metrics') pprint.pprint(metrics)