-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat(logs): add tag attribute autocomplete for logs #2404
Conversation
I have added Also in |
@nityanandagohain Why do we need Also |
in autocomplete for keys, I think we can ignore TagType as we can return both attribute and resource keys In autocomplete for values, we need to know the tagType, DataType of the key. |
In that case, we need tagType. |
The
Also fine with the DataType. It would be easy to review and follow this here #2244 as you can make suggestions directly there. |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
@nityanandagohain I see that you are not creating a separate function for fetching aggregates attributes, I think there can be a future use case to return filtered attributes based on aggregate operator |
@srikanthccv so you are asking if a key is missing in how tag_attributes table then how should it be handled in our query range v3 API right? Or you are asking about value suggestion? as value suggestion won't be possible if key is not present. |
@makeavish @srikanthccv the aggreateAttribute function is added now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one question, LGTM.
Leaving it yourself to merge just in case if you want to test it more or make any minor changes. |
@nityanandagohain I only see the top-level fields in the staging app. Are there no other attributes? Can you make it so that there will be some attributes of different types for testing and developing for frontend folks? |
@srikanthccv we have to deploy the signoz_otel_collector, have we done that ? |
Yes, that must have happened since your collector PR merged first, so images would have been pushed. @prashant-shahi earlier said to take care of that and it will work. |
@srikanthccv And open API for health and version of the signoz-otel-collector (perhaps via query-service) would have been very helpful. |
Fixes #2248