code: def set_gae_attributes(span):
      
      for env_var, attribute_key in GAE_ATTRIBUTES.items():
          attribute_value = os.environ.get(env_var)
  
          if attribute_value is not None:
              pair = {attribute_key: attribute_value}
              pair_attrs = Attributes(pair)\
                  .format_attributes_json()\
                  .get('attributeMap')
  
              _update_attr_map(span, pair_attrs)
docs: Set the GAE environment common attributes.