@Test void addsAutocompleteValue_suppressesWhenSameDay() throws Exception {
    server.enqueue(SUCCESS_RESPONSE);
    server.enqueue(SUCCESS_RESPONSE);

    Span s = Span.newBuilder().traceId("1").id("1").timestamp(1).putTag("environment", "A").build();
    accept(s);
    accept(s.toBuilder().id(2).build());

    server.takeRequest(); // skip first
    // the tag is in the same date range as the other, so it should not write the tag again
    assertThat(server.takeRequest().request().contentUtf8())
      .doesNotContain("autocomplete");
  }
Less overhead as a span json isn't rewritten to include a millis timestamp
zipkin-storage/elasticsearch/src/test/java/zipkin2/elasticsearch/ElasticsearchSpanConsumerTest.java