ions.phase;
        return [buildLocatorDisplayString(item.locator), ` (${roles})`, m];
    }

    function etcdLeadershipLogsValue(item) {

        // If source is isEtcdLeadership, the term is always there.
        const term = item.message.annotations['term']

        // We are only charting the intervals with a node.
        const nodeVal = item.locator.keys['node']

        // Get etcd-member value (this will be present for a leader change).
        let etcdMemberVal = item.locator.keys['etcd-member'] 