Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

KIALI-2437 Show "n/a" when there is an error reading the error tr…#1017

Closed
josejulio wants to merge 2 commits intokiali:masterfrom
josejulio:KIALI-2437
Closed

KIALI-2437 Show "n/a" when there is an error reading the error tr…#1017
josejulio wants to merge 2 commits intokiali:masterfrom
josejulio:KIALI-2437

Conversation

@josejulio
Copy link
Copy Markdown
Contributor

@josejulio josejulio commented Feb 22, 2019

…ace count

** Describe the change **

Shows n/a instead of -1 in the UI when there was an error reading the "error trace" count.

I'm not sure if we want to give more context about the error or if is fine as is for now.

** Screenshot **

peek 25-02-2019 09-54

@jotak
Copy link
Copy Markdown
Contributor

jotak commented Feb 22, 2019

"Unknown" is much better than "-1" but I fear it's still not so much meaningful. What about a red failure icon?
The tooltip is great

BTW, in case there is an error like this, is the tab still accessible?

cc @aljesusg @abonas

@pilhuhn
Copy link
Copy Markdown
Contributor

pilhuhn commented Feb 22, 2019

Yes, unknown is not much better than -1. What about "n/a" ? Would need UX input.

@josejulio josejulio requested a review from abonas February 22, 2019 15:37
@josejulio josejulio changed the title KIALI-2437 Show "Unknown" when there is an error reading the error tr… KIALI-2437 Show "n/a" when there is an error reading the error tr… Feb 25, 2019
@josejulio
Copy link
Copy Markdown
Contributor Author

Updated to show n/a

@pilhuhn @jotak @abonas

@aljesusg
Copy link
Copy Markdown
Contributor

No, Please this was something that I forget to change. When the value is -1 the traces should show the normal traces of the services because that means that there is a problem getting traces of jaeger

<span>n/a</span>
</OverlayTrigger>
)}
{errorTraces > 0 && (
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @josejulio , I was working in another PR to fix this that I forgot. when the value is -1 the Error traces tab should be a tab with name "Traces" ans show all the traces of this service. -1 means that there is a problem getting traces in Jaeger this could mean a timeout. When there is not JaegerURL configured the traces tab is hide.

@josejulio
Copy link
Copy Markdown
Contributor Author

Fixed with #1025

@josejulio josejulio closed this Feb 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants