chore: move hostname to resource attributes for logs qf#6303
chore: move hostname to resource attributes for logs qf#6303vikrantgupta25 merged 2 commits intodevelopfrom
Conversation
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
There was a problem hiding this comment.
👍 Looks good to me! Reviewed everything up to 6928f97 in 9 seconds
More details
- Looked at
13lines of code in1files - Skipped
0files when reviewing. - Skipped posting
2drafted comments based on config settings.
1. frontend/src/pages/LogsExplorer/utils.tsx:71
- Draft comment:
The change from 'tag' to 'resource' for the 'hostname' attribute aligns with the type used for other similar attributes like 'service.name' and 'k8s.cluster.name'. Ensure this change is consistent with the intended use of 'resource' in your application. - Reason this comment was not posted:
Confidence changes required:20%
The change from 'tag' to 'resource' for the 'hostname' attribute seems consistent with other similar attributes.
2. frontend/src/pages/LogsExplorer/utils.tsx:71
- Draft comment:
The change from 'tag' to 'resource' for the 'hostname' attribute is consistent with other similar entries and does not violate any specified rules. - Reason this comment was not posted:
Confidence changes required:0%
The code does not violate any of the specified rules. It uses enums, imports, and exports correctly. The change from 'tag' to 'resource' is consistent with other similar entries.
Workflow ID: wflow_WkKI4IYJd9VP8h9i
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
1 similar comment
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
|
It should be |
There was a problem hiding this comment.
👍 Looks good to me! Incremental review on 3c1ae9a in 8 seconds
More details
- Looked at
13lines of code in1files - Skipped
0files when reviewing. - Skipped posting
1drafted comments based on config settings.
1. frontend/src/pages/LogsExplorer/utils.tsx:69
- Draft comment:
The change fromhostnametohost.nameis consistent with the naming convention used for other resource attributes, such asservice.nameandk8s.cluster.name. This improves consistency and clarity. - Reason this comment was not posted:
Confidence changes required:10%
The change from 'hostname' to 'host.name' aligns with the resource attribute naming convention used elsewhere in the code.
Workflow ID: wflow_QLKOIwuxK5xi9ZBs
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
ahh good catch! fixed this. |
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
Summary
hostnamefor logs quick filters.Related Issues / PR's
fixes - https://signoz-team.slack.com/archives/C02TJ466H8U/p1730132055397139
Screenshots
NA
Affected Areas and Manually Tested Areas
Important
Change
hostnamefilter key tohost.nameand type toresourceinLogsQuickFiltersConfig.hostnamefilter key fromhostnametohost.nameinLogsQuickFiltersConfiginutils.tsx.tagtoresourceforhostname.This description was created by
for 3c1ae9a. It will automatically update as commits are pushed.