-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: implement deployment details page for infra monitoring #6699
base: feat/infra-monitoring-k8s
Are you sure you want to change the base?
feat: implement deployment details page for infra monitoring #6699
Conversation
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
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> |
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.
❌ Changes requested. Reviewed everything up to e8cea7e in 1 minute and 40 seconds
More details
- Looked at
5887
lines of code in34
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. frontend/src/container/InfraMonitoringK8s/Deployments/utils.tsx:112
- Draft comment:
TheorderBy
field usescpu
, which might not be a valid column. Verify the column name against the actual data structure. - Reason this comment was not posted:
Comment did not seem useful.
2. frontend/src/container/InfraMonitoringK8s/Deployments/utils.tsx:238
- Draft comment:
Ensure that the keys used ingroupBy
exist indeployment.meta
to avoid potential errors. - Reason this comment was not posted:
Comment did not seem useful.
3. frontend/src/container/InfraMonitoringK8s/Deployments/DeploymentDetails/Traces/utils.tsx:57
- Draft comment:
Use design tokens or predefined color constants instead of hardcoding color values for consistency. - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_aVWZaA37kwwHWebn
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
return options.queryKey; | ||
} | ||
|
||
return [REACT_QUERY_KEY.GET_HOST_LIST, requestData]; |
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.
The query key REACT_QUERY_KEY.GET_HOST_LIST
seems incorrect for fetching deployments. Consider using a more specific key for deployments.
return ( | ||
<div className="pod-group"> | ||
{groupByValues.map((value) => ( | ||
<Tag key={value} color="#1D212D" className="pod-group-tag-item"> |
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.
Use design tokens or predefined color constants instead of hardcoding color values for consistency.
Summary
Implement the deployment details page in Infra Monitoring
Related Issues / PR's
N/A
Screenshots
N/A
Affected Areas and Manually Tested Areas
Infra Monitoring section
Important
Implement detailed view for Kubernetes deployments in Infra Monitoring, including metrics, logs, traces, and events.
getK8sDeploymentsList
ingetK8sDeploymentsList.ts
to fetch deployment data.useGetK8sDeploymentsList
hook inuseGetK8sDeploymentsList.ts
for querying deployment data.DeploymentDetails
component inDeploymentDetails.tsx
to display deployment metrics, logs, traces, and events.K8sDeploymentsList
component inK8sDeploymentsList.tsx
for listing deployments.DeploymentMetrics
,DeploymentLogs
,DeploymentTraces
, andDeploymentEvents
components for detailed views.DeploymentDetails.styles.scss
andK8sDeploymentsList.tsx
.utils.tsx
for formatting deployment data and configuring columns.This description was created by for e8cea7e. It will automatically update as commits are pushed.