SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
17.61k stars 1.1k forks source link

[FR] UI indicates whether your query filter uses a Tag or Resource attribute #5359

Open atmask opened 1 week ago

atmask commented 1 week ago

Seomtimes there are valid uses cases where a resource attribute and a tag attribute have the same name. It took a long time to realize that the query bar for logs wasn't respecting the selected type between tag and resource (related issue: https://github.com/SigNoz/signoz/issues/5150). To discover this I had to dig into the network tab on chrome and find the query.

The UI should have a visual indication that let's user's know whether their query filter key is using a tag or resource. This could be as simply as T or R icon

image

nityanandagohain commented 1 week ago

@GeekBoySupreme please let us know your thoughts on this form design point of view.

GeekBoySupreme commented 1 week ago

I think you'd have the icon on the suggestion dropdown too for it to be relevant/useful. And you can also colour code the T and R - so the pill can be of some colour for tag attribute and something else for resource attribute.