zipkin数据对于第1行的“名称”列是否太长?

时间:2019-03-12 21:39:39

标签: java zipkin opentracing

我有错误:

2019-03-12 21:32:38.727 DEBUG 1 --- [         task-5] z.s.i.ZipkinHttpCollector                : Cannot store spans [1a2e2be0635a4ac7/1a2e2be0635a4ac7] due to DataAccessException(SQL [insert ignore into `zipkin_annotations` (`trace_id`, `span_id`, `a_key`, `a_type`, `a_timestamp`, `endpoint_service_name`) values (1886493536654346951, 1886493536654346951, 'ss', -1, 1552426358574625, 'complaints.lmprod.media5.com')]; (conn=22) Data too long for column 'name' at row 1)
zipkin                      | 
zipkin                      | org.jooq.exception.DataAccessException: SQL [insert ignore into `zipkin_annotations` (`trace_id`, `span_id`, `a_key`, `a_type`, `a_timestamp`, `endpoint_service_name`) values (1886493536654346951, 1886493536654346951, 'ss', -1, 1552426358574625, 'complaints.lmprod.media5.com')]; (conn=22) Data too long for column 'name' at row 1
zipkin                      |   at org.jooq_3.11.9.MYSQL.debug(Unknown Source) ~[?:?]
zipkin                      |   at org.jooq.impl.Tools.translate(Tools.java:2384) ~[jooq-3.11.9.jar!/:?]
zipkin                      |   at org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:832) ~[jooq-3.11.9.jar!/:?]
zipkin                      |   at org.jooq.impl.BatchMultiple.execute(BatchMultiple.java:123) ~[jooq-3.11.9.jar!/:?]
zipkin                      |   at org.jooq.impl.BatchMultiple.execute(BatchMultiple.java:75) ~[jooq-3.11.9.jar!/:?]
zipkin                      |   at zipkin2.storage.mysql.v1.MySQLSpanConsumer$BatchInsertSpans.apply(MySQLSpanConsumer.java:167) ~[zipkin-storage-mysql-v1-2.12.5.jar!/:?]
zipkin                      |   at zipkin2.storage.mysql.v1.MySQLSpanConsumer$BatchInsertSpans.apply(MySQLSpanConsumer.java:58) ~[zipkin-storage-mysql-v1-2.12.5.jar!/:?]
zipkin                      |   at zipkin2.storage.mysql.v1.DataSourceCall.doExecute(DataSourceCall.java:57) ~[zipkin-storage-mysql-v1-2.12.5.jar!/:?]
zipkin                      |   at zipkin2.storage.mysql.v1.DataSourceCall$1CallbackRunnable.run(DataSourceCall.java:69) [zipkin-storage-mysql-v1-2.12.5.jar!/:?]
zipkin                      |   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
zipkin                      |   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
zipkin                      |   at java.lang.Thread.run(Thread.java:834) [?:?]
zipkin                      | Caused by: java.sql.BatchUpdateException: (conn=22) Data too long for column 'name' at row 1
zipkin                      |   at org.mariadb.jdbc.MariaDbStatement.executeBatchExceptionEpilogue(MariaDbStatement.java:288) ~[mariadb-java-client-2.4.0.jar!/:?]
zipkin                      |   at org.mariadb.jdbc.MariaDbStatement.executeBatch(MariaDbStatement.java:1296) ~[mariadb-java-client-2.4.0.jar!/:?]
zipkin                      |   at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128) ~[HikariCP-3.3.1.jar!/:?]
zipkin                      |   at com.zaxxer.hikari.pool.HikariProxyStatement.executeBatch(HikariProxyStatement.java) ~[HikariCP-3.3.1.jar!/:?]
zipkin                      |   at org.jooq.tools.jdbc.DefaultStatement.executeBatch(DefaultStatement.java:100) ~[jooq-3.11.9.jar!/:?]
zipkin                      |   at org.jooq.tools.jdbc.DefaultStatement.executeBatch(DefaultStatement.java:100) ~[jooq-3.11.9.jar!/:?]
zipkin                      |   at org.jooq.impl.BatchMultiple.execute(BatchMultiple.java:104) ~[jooq-3.11.9.jar!/:?]
zipkin                      |   ... 8 more

但是zipkin_annotations没有字段名称。 为什么我看到此错误?如何解决?

之后,Zipkin UI变为空: enter image description here

0 个答案:

没有答案