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

Export node latency query api. #6279

Closed
wants to merge 0 commits into from

Conversation

IRONICBo
Copy link
Contributor

@IRONICBo IRONICBo commented May 1, 2024

We have collected all agents latencies in PR: #6120, then we need to export data to api server and report it to antrea controller.

The commits base on PR #6120.


func (r *REST) Destroy() {
}

Copy link
Contributor Author

@IRONICBo IRONICBo May 2, 2024

Choose a reason for hiding this comment

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

create / get / list should be mt, just define some apis.

// NodeIPLatencyEntry contains the latency stats of a Node.
type NodeIPLatencyEntry struct {
// The node's gateway IP address.
GatewayIP string `json:"gatewayIPs,omitempty" protobuf:"bytes,1,opt,name=gatewayIPs"`
Copy link
Contributor Author

@IRONICBo IRONICBo May 9, 2024

Choose a reason for hiding this comment

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

Change GatewayIP.

Create NodeName.

@IRONICBo IRONICBo force-pushed the feat/node-latency-query-api branch 2 times, most recently from d4319b8 to 7f35342 Compare May 14, 2024 18:23
@IRONICBo IRONICBo closed this Jun 3, 2024
@IRONICBo IRONICBo force-pushed the feat/node-latency-query-api branch from 7f35342 to baea218 Compare June 3, 2024 17:38
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.

1 participant