-
Notifications
You must be signed in to change notification settings - Fork 483
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
Highlight error spans #4
Comments
@pavolloffay Yes it does - see the image in our blog post: http://www.hawkular.org/blog/2017/04/19/hawkular-apm-jaeger.html The selected span at the bottom showing the properties has 'error=true' and the line has a pink/red background. |
See attached picture, there is probably something wrong. Code looks good https://github.com/uber/jaeger-ui/search?utf8=%E2%9C%93&q=isErrorSpan&type= |
I'm wondering if the API is returning the error = "true" value has a string and is missing the equality check. Can you attach the JSON payload of the trace? |
Is it sensitive to the type of the tag? Is the tag value being stored as a boolean - although possibly it shouldn't matter (just in case). |
@objectiser indeed it is type sensitive see attached code above. JSON from web UI: https://pastebin.com/KfV5R9Y6 so it is |
Probably mapping from zipkin thrift to internal model is buggy. I have also noticed that OT component tag is filtered out when using zipkin thrift. cc @yurishkuro What do we do with this?
|
we should fix the UI to respect
mmm, I wouldn't do it just yet. |
or maybe better, we can add an adjuster on the server side, and fix strings to bools on ingestion or on serving to UI |
Could we get this fixed by simply testing on a string "true"? |
@pavolloffay yes, but that will only address the UI issue, any future data analysis code would need to keep checking for two values. I think it's best to sanitize the data on the server. Having said that, I am not against the UI fix. |
src/components/TracePage/TraceTimelineViewer/utils.js:107:export const isErrorSpan = span => hasTagKey(span.tags, 'error', true); easy to fix, but need a unit test |
+1 I just wanted to confirm that we agree before opening PR. I will do it tomorrow. |
Add DDG Index with Loading, Error, and temporary header and done views
Add DDG Index with Loading, Error, and temporary header and done views Signed-off-by: vvvprabhakar <[email protected]>
Hi,
does UI support highlighting error spans?
The text was updated successfully, but these errors were encountered: