-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Trace static fields and structs for response. #6469
Conversation
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.
👍 Looks good to me! Reviewed everything up to 6fce317 in 1 minute and 13 seconds
More details
- Looked at
413
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
5
drafted comments based on config settings.
1. pkg/query-service/model/response.go:272
- Draft comment:
TheSearchSpanResponseItemV2
struct is introduced but not used anywhere in the codebase. Ensure that this struct is utilized or planned for future use to avoid dead code. - Reason this comment was not posted:
Confidence changes required:50%
The PR introduces a new structSearchSpanResponseItemV2
but does not provide any context or usage for it. It is important to ensure that new code is utilized or at least planned for future use.
2. pkg/query-service/model/response.go:291
- Draft comment:
TheTraceSummary
struct is introduced but not used anywhere in the codebase. Ensure that this struct is utilized or planned for future use to avoid dead code. - Reason this comment was not posted:
Confidence changes required:50%
The PR introduces a new structTraceSummary
but does not provide any context or usage for it. It is important to ensure that new code is utilized or at least planned for future use.
3. pkg/query-service/constants/constants.go:451
- Draft comment:
TheNewStaticFieldsTraces
map is introduced but not used anywhere in the codebase. Ensure that this map is utilized or planned for future use to avoid dead code. - Reason this comment was not posted:
Confidence changes required:50%
The PR introduces a new mapNewStaticFieldsTraces
but does not provide any context or usage for it. It is important to ensure that new code is utilized or at least planned for future use.
4. pkg/query-service/constants/constants.go:569
- Draft comment:
TheDeprecatedStaticFieldsTraces
map is introduced but not used anywhere in the codebase. Ensure that this map is utilized or planned for future use to avoid dead code. - Reason this comment was not posted:
Confidence changes required:50%
The PR introduces a new mapDeprecatedStaticFieldsTraces
but does not provide any context or usage for it. It is important to ensure that new code is utilized or at least planned for future use.
5. pkg/query-service/constants/constants.go:1
- Draft comment:
Avoid using thecomponent/index.tsx
file structure approach, as it makes it difficult to debug and find components using global search tools like VS Code. This applies to the entire file. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The comment is about a TypeScript file structure, which is not applicable to this Go file. The comment does not address any changes made in the diff and seems misplaced.
I might be missing some context about the project structure, but based on the file content, the comment seems irrelevant.
The file content and the language used (Go) strongly indicate that the comment is misplaced.
The comment should be deleted as it is not relevant to the changes made in this Go file.
Workflow ID: wflow_77iZeYRzSh8Xypwb
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
So are we moving from camelCase to snakeCase? Just wanted to know for context. I see some changes in the previous PR as well @nityanandagohain |
* fix: update static fields and add response structs * fix: update ch names * fix: move models to it's own file
ref for static fields https://github.com/SigNoz/signoz-otel-collector/blob/main/cmd/signozschemamigrator/schema_migrator/traces_migrations.go
FOR #5713
Important
Adds new static fields for traces, deprecates old ones, and introduces new response structs for trace details.
NewStaticFieldsTraces
andDeprecatedStaticFieldsTraces
inconstants.go
.StaticFieldsTraces
usinginit()
function.SpanItemV2
andTraceSummary
structs intrace.go
for trace detail responses.This description was created by for ce7b509. It will automatically update as commits are pushed.