def _extract_annotations_from_span(span):
    """Extract and convert time event annotations to Honeycomb annotations"""
    if span.time_events is None:
        return []

    annotations = []
    for time_event in span.time_events:
        annotation = time_event.annotation
        if not annotation:
            continue

        annotations.append({'timestamp': time_event.timestamp,
                            'value': annotation.description})

    return annotations