<commit_before>// eslint-disable no-nested-ternary
import _ from 'lodash';
import moment from 'moment';
import {getErrorType} from './spanRow';

// To ensure data doesn't scroll off the screen, we need all timestamps, not just
// client/server ones.
export function addTimestamps(span, timestamps) {
  span.annotations.forEach(a => timestamps.push(a.timestamp));
  if (!span.timestamp) return;<commit_msg>Reverts accidental inclusion of annotation timestamps in trace plotting<commit_after>// eslint-disable no-nested-ternary
import _ from 'lodash';
import moment from 'moment';
import {getErrorType} from './spanRow';

// To ensure data doesn't scroll off the screen, we need all timestamps, not just
// client/server ones.
export function addTimestamps(span, timestamps) {
  if (!span.timestamp) return;
{'fraction_non_alphanumeric': 0.11055900621118013, 'fraction_numerical': 0.0, 'mean_word_length': 5.106060606060606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5617108', 'n_tokens_mistral': 240, 'n_tokens_neox': 231, 'n_words': 83}