Skip to content
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

Force Tracing : get a trace ID we can search for when this is forced. #6774

Open
Vanshikav123 opened this issue Oct 5, 2023 · 5 comments
Open

Comments

@Vanshikav123
Copy link
Contributor

Is your proposal related to a problem?

As we got the Force Tracing feature enabled we should also have a feature such that we can get the traceID when we search for when this is forced

Describe the solution you'd like

we can use the TraceId header and upgrade the force Tracing checkbox such that if it is enabled then on hovering on it we can get the traceID else a message that enable checkbox to get the TraceID

@Vanshikav123
Copy link
Contributor Author

Hello @yeya24 can I get some suggestions on this issue?

@yeya24
Copy link
Contributor

yeya24 commented Oct 10, 2023

	// traceIdResponseHeader is a response header name that stores trace ID.
	traceIDResponseHeader = "X-Thanos-Trace-Id"

We set X-Thanos-Trace-Id header in the query response. You can get the header value and display it in the UI.

@Vanshikav123
Copy link
Contributor Author

	// traceIdResponseHeader is a response header name that stores trace ID.
	traceIDResponseHeader = "X-Thanos-Trace-Id"

We set X-Thanos-Trace-Id header in the query response. You can get the header value and display it in the UI.

want do you think how should it be displayed in the UI should i do it in the way i provided the solution or you have any other suggestions ?

@yeya24
Copy link
Contributor

yeya24 commented Oct 10, 2023

@Vanshikav123 I don't have much to share. You can think about it and open a pr for feedback

@oluwashina100
Copy link

Trace-Id: b46e9aa0-775c-46a8-a60a-2e30e3f6eef7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants