Tagging from a dictionary - python

Is it possible to set tags from a dictionary? I have a dict of True / False values that I want to tag and aggregate but the public api docs only shows elasticapm.tag(ecommerce=True, dollar_value=47.12) which requires supplying a variable name, so I cant iterate over my dict and add the tags like this

for k,v in payload.items():

Many thanks

Hi James,

How about:



1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.