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

MetalK8s UI: Replace the node metrics by the new chart component #3526

Conversation

ChengYanJin
Copy link
Contributor

@ChengYanJin ChengYanJin commented Sep 7, 2021

Component: UI, montoring

Context:
image

Summary:

  • embed with the core-ui v0.21.2

Acceptance criteria:


Closes: #ISSUE_NUMBER

@ChengYanJin ChengYanJin requested a review from a team as a code owner September 7, 2021 13:26
@bert-e
Copy link
Contributor

bert-e commented Sep 7, 2021

Hello chengyanjin,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Sep 7, 2021

Conflict

A conflict has been raised during the creation of
integration branch w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component with contents from improvement/replace-the-node-volume-metrics-by-the-new-chart-component
and development/2.11.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component origin/development/2.11
 $ git merge origin/improvement/replace-the-node-volume-metrics-by-the-new-chart-component
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch from 918c6b7 to 2d5b6d7 Compare September 7, 2021 13:46
ui/src/containers/NodePageMetricsTab.js Outdated Show resolved Hide resolved
ui/src/services/graphUtils.js Outdated Show resolved Hide resolved
ui/src/services/graphUtils.js Outdated Show resolved Hide resolved
ui/src/services/graphUtils.js Outdated Show resolved Hide resolved
ui/src/services/graphUtils.js Outdated Show resolved Hide resolved
ui/src/services/graphUtils.js Outdated Show resolved Hide resolved
ui/src/components/NodeCPBandwidthChart.js Outdated Show resolved Hide resolved
);

// in
const cpBandWidthInPrometheusQuery = `sum(irate(node_network_receive_bytes_total{instance=~"${instanceIP}:${PORT_NODE_EXPORTER}",device="${controlPlaneInterface}"}[5m]))`;
Copy link
Contributor

Choose a reason for hiding this comment

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

can be factorized with the previous ones

nodeIPAddress,
metricPrefixes,
);
} else if (!isCPBandWidthAvgDataLoading && showAvg) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
} else if (!isCPBandWidthAvgDataLoading && showAvg) {
} else if (!isCPBandWidthDataLoading && !isCPBandWidthAvgDataLoading && showAvg) {

ui/src/components/NodeCPBandwidthChart.js Outdated Show resolved Hide resolved
@ChengYanJin ChengYanJin changed the title MetalK8s UI: Replace the node volume metrics by the new chart component MetalK8s UI: Replace the node metrics by the new chart component Sep 8, 2021
@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch 3 times, most recently from d43ff10 to c78ff55 Compare September 8, 2021 16:30
@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch from 95607f3 to a0eac09 Compare September 9, 2021 14:38
@ChengYanJin
Copy link
Contributor Author

/status

@bert-e
Copy link
Contributor

bert-e commented Sep 9, 2021

Status

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Sep 9, 2021

Conflict

A conflict has been raised during the creation of
integration branch w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component with contents from improvement/replace-the-node-volume-metrics-by-the-new-chart-component
and development/2.11.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component origin/development/2.11
 $ git merge origin/improvement/replace-the-node-volume-metrics-by-the-new-chart-component
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component

@bert-e
Copy link
Contributor

bert-e commented Sep 9, 2021

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch from ffa2d66 to e60ca36 Compare September 10, 2021 16:02
@bert-e
Copy link
Contributor

bert-e commented Sep 10, 2021

History mismatch

Merge commit #ffa2d6664f6ff3675d77636fb794c17d4914d939 on the integration branch
w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component is merging a branch which is neither the current
branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component nor the development branch
development/2.11.

It is likely due to a rebase of the branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component and the
merge is not possible until all related w/* branches are deleted or updated.

Please use the reset command to have me reinitialize these branches.

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch 2 times, most recently from 2ecd992 to 8e3af5d Compare September 10, 2021 16:21
@ChengYanJin
Copy link
Contributor Author

/reset

@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2021

Lossy reset warning

There seems to be manual commits on integration branches (e.g. conflict
resolutions) that will be lost if you chose to reset.

You can use the force_reset command if you still want me
to delete those branches.

@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2021

History mismatch

Merge commit #ffa2d6664f6ff3675d77636fb794c17d4914d939 on the integration branch
w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component is merging a branch which is neither the current
branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component nor the development branch
development/2.11.

It is likely due to a rebase of the branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component and the
merge is not possible until all related w/* branches are deleted or updated.

Please use the reset command to have me reinitialize these branches.

@ChengYanJin
Copy link
Contributor Author

/force_reset

@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2021

Reset complete

I have successfully deleted this pull request's integration branches.

@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2021

Conflict

A conflict has been raised during the creation of
integration branch w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component with contents from improvement/replace-the-node-volume-metrics-by-the-new-chart-component
and development/2.11.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component origin/development/2.11
 $ git merge origin/improvement/replace-the-node-volume-metrics-by-the-new-chart-component
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component

@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2021

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch from 71d7301 to a4d5d06 Compare September 13, 2021 15:22
@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2021

History mismatch

Merge commit #71d73011719a9e709246a414107a32d86854f4da on the integration branch
w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component is merging a branch which is neither the current
branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component nor the development branch
development/2.11.

It is likely due to a rebase of the branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component and the
merge is not possible until all related w/* branches are deleted or updated.

Please use the reset command to have me reinitialize these branches.

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch from 4b178d9 to 57080f6 Compare September 14, 2021 08:47
@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch from 57080f6 to 7d2dab7 Compare September 14, 2021 09:04
@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2021

History mismatch

Merge commit #7570279566672be050c0a873f9001db2efc2e8a9 on the integration branch
w/2.11/improvement/replace-the-node-volume-metrics-by-the-new-chart-component is merging a branch which is neither the current
branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component nor the development branch
development/2.11.

It is likely due to a rebase of the branch improvement/replace-the-node-volume-metrics-by-the-new-chart-component and the
merge is not possible until all related w/* branches are deleted or updated.

Please use the reset command to have me reinitialize these branches.

@ChengYanJin ChengYanJin force-pushed the improvement/replace-the-node-volume-metrics-by-the-new-chart-component branch from 7d2dab7 to ed9ab60 Compare September 14, 2021 12:40
@ChengYanJin
Copy link
Contributor Author

merged in #3529

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.

3 participants