code: def emit(self, span_datas):
          
  
          try:
              zipkin_spans = self.translate_to_zipkin(span_datas)
              result = requests.post(
                  url=self.url,
                  data=json.dumps(zipkin_spans),
                  headers=ZIPKIN_HEADERS)
  
              if result.status_code not in SUCCESS_STATUS_CODE:
                  logging.error(
                      "Failed to send spans to Zipkin server! Spans are {}"
                      .format(zipkin_spans))
          except Exception as e:  # pragma: NO COVER
              logging.error(getattr(e, 'message', e))
docs: Send SpanData tuples to Zipkin server, default using the v2 API.
  
          :type span_datas: list of :class:
              `~opencensus.trace.span_data.SpanData`
          :param list of opencensus.trace.span_data.SpanData span_datas:
              SpanData tuples to emit