-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'timestamp' of undefined #1776
Comments
Sounds familiar to me.. are you running latest?
…On 4 Nov 2017 00:32, "lhsm" ***@***.***> wrote:
Hi.
Zipkin UI starts with error
error_handler.js?934c:54 EXCEPTION: Cannot read property 'timestamp' of
undefined ErrorHandler.handleError @ error_handler.js?934c:54
error_handler.js?934c:59 ORIGINAL STACKTRACE: ErrorHandler.handleError @
error_handler.js?934c:59 error_handler.js?934c:60 TypeError: Cannot read
property 'timestamp' of undefined at eval (webpack-internal:///165:117:70)
at Array.sort (native) at Array.sort (webpack-internal:///875:21:15) at
Trace.sortTrace (webpack-internal:///165:117:23) at eval
(webpack-internal:///165:120:23) at Array.forEach (<anonymous>) at
Trace.sortTrace (webpack-internal:///165:119:27) at eval
(webpack-internal:///165:120:23) at Array.forEach (<anonymous>) at
Trace.sortTrace (webpack-internal:///165:119:27) at Trace.getSortedSpans
(webpack-internal:///165:80:14) at new Trace (webpack-internal:///165:55:32)
at eval (webpack-internal:///165:157:65) at Array.map (<anonymous>)
If i understand correctly expected structure of traces (response of
api/v1/traces) is ..{"traceId": "trace", ..., "**annotations**"} .. -
annotations is mandatory.
But in my case trace looks like [ [ { "traceId": "fca49abacae88255",
"id": "fca49abacae88255", "name": "", "timestamp": 1509704101447000,
"duration": 55875, "annotations": [ { "timestamp": 1509704101502875,
"value": "ss", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 }
} ] }, { "traceId": "fca49abacae88255", "id": "8382a3fc6365f507", "name":
"", "parentId": "fca49abacae88255", "timestamp": 1509704101455000,
"duration": 22310, "binaryAnnotations": [ { "key": "OUTPUT_MESSAGE",
"value": "", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 } },
{ "key": "lc", "value": "unknown", "endpoint": { "serviceName": "", "ipv4":
"", "port": 8080 } } ] } ] ]
"Traditional" ui works fine with that trace
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1776>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD616WWw622R1AtIeZP9qqGzGAhpn5zks5sy0A0gaJpZM4QRW0q>
.
|
Same issue here with the latest version of |
This could be a bug, when all labels are empty or unknown. Is it
intentional that you have a trace with no service or span name?
…On 14 Nov 2017 7:01 am, "Bruno Bonfils" ***@***.***> wrote:
Same issue here with the latest version of openzipkin/zipkin-ui docker
image
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1776 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD6159pOJVbkTzImtR9JRXUmuXvaxiMks5s2MpJgaJpZM4QRW0q>
.
|
oh you are referring to https://github.com/openzipkin/zipkin-ui someone can fix the bug, but the project is likely to be canceled because no one has been maintaining it.. see also #1577 and openzipkin-attic/docker-zipkin#160 At any rate, this issue should be moved to https://github.com/openzipkin/zipkin-ui |
Sorry, i mixed up the target project. Create one openzipkin-attic/zipkin-ui#42 just in case |
Hi.
Zipkin UI starts with error
error_handler.js?934c:54 EXCEPTION: Cannot read property 'timestamp' of undefined ErrorHandler.handleError @ error_handler.js?934c:54 error_handler.js?934c:59 ORIGINAL STACKTRACE: ErrorHandler.handleError @ error_handler.js?934c:59 error_handler.js?934c:60 TypeError: Cannot read property 'timestamp' of undefined at eval (webpack-internal:///165:117:70) at Array.sort (native) at Array.sort (webpack-internal:///875:21:15) at Trace.sortTrace (webpack-internal:///165:117:23) at eval (webpack-internal:///165:120:23) at Array.forEach (<anonymous>) at Trace.sortTrace (webpack-internal:///165:119:27) at eval (webpack-internal:///165:120:23) at Array.forEach (<anonymous>) at Trace.sortTrace (webpack-internal:///165:119:27) at Trace.getSortedSpans (webpack-internal:///165:80:14) at new Trace (webpack-internal:///165:55:32) at eval (webpack-internal:///165:157:65) at Array.map (<anonymous>)
If i understand correctly expected structure of traces (response of
api/v1/traces
) is..{"traceId": "trace", ..., "**annotations**"} ..
- annotations is mandatory.But in my case trace looks like
[ [ { "traceId": "fca49abacae88255", "id": "fca49abacae88255", "name": "", "timestamp": 1509704101447000, "duration": 55875, "annotations": [ { "timestamp": 1509704101502875, "value": "ss", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 } } ] }, { "traceId": "fca49abacae88255", "id": "8382a3fc6365f507", "name": "", "parentId": "fca49abacae88255", "timestamp": 1509704101455000, "duration": 22310, "binaryAnnotations": [ { "key": "OUTPUT_MESSAGE", "value": "", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 } }, { "key": "lc", "value": "unknown", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 } } ] } ] ]
"Traditional" ui works fine with that trace
The text was updated successfully, but these errors were encountered: