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

add api definition for sql module of dashboard #546

Merged
merged 7 commits into from
Sep 4, 2024

Conversation

chris-sun-star
Copy link
Member

Summary

add api definition for sql module of dashboard

Solution Description

}

type PlanStatistic struct {
PlanMeta
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

json:",inline" should be added to this line if the PlanMeta is expected to be included in response json.

}

type PlanStatisticByServer struct {
PlanStatistic
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as PlanMeta field in PlanStatistic, json tag should be added.

}

type SqlInfo struct {
SqlMetaInfo
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing JSON tag here too.

}

type SqlFilter struct {
BaseSqlRequestParam
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing json tag here too

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Copy link
Collaborator

@powerfooI powerfooI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@powerfooI powerfooI merged commit 30ab5ef into oceanbase:master Sep 4, 2024
7 checks passed
@chris-sun-star chris-sun-star deleted the sql-monitor branch September 9, 2024 02:53
lizzy-0323 pushed a commit to lizzy-0323/ob-operator that referenced this pull request Sep 26, 2024
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

Successfully merging this pull request may close these issues.

2 participants