new Tag("BOOL", TagType.BOOL).setVBool(false),
new Tag("LONG", TagType.LONG).setVLong(Long.MAX_VALUE),
new Tag("span.kind", TagType.STRING).setVStr("server"),
new Tag("STRING", TagType.STRING)
.setVStr(
"Judge of a man by his questions rather than by his answers. -- Voltaire"));
assertThat(log.fields)
.containsExactly(
new Tag("message", TagType.STRING).setVStr("annotation #1"),
new Tag("bool", TagType.BOOL).setVBool(true),
new Tag("long", TagType.LONG).setVLong(1337L),
new Tag("string", TagType.STRING)
.setVStr("Kind words do not cost much. Yet they accomplish much. -- Pascal"));
log = span.logs.get(1);
assertThat(log.timestamp).isEqualTo(1519629871123456L);
assertThat(log.fields)
.containsExactly(
new Tag("message", TagType.STRING).setVStr("sent message"),
new Tag("id", TagType.LONG).setVLong(42L),
new Tag("compressed_size", TagType.LONG).setVLong(69),