Skip to content
This repository has been archived by the owner on May 2, 2021. It is now read-only.

#29 Metrics for vpp agent #136

Merged
merged 4 commits into from
Apr 6, 2020
Merged

#29 Metrics for vpp agent #136

merged 4 commits into from
Apr 6, 2020

Conversation

haiodo
Copy link
Contributor

@haiodo haiodo commented Mar 3, 2020

#29 Metrics chain element for vpp agent.

@haiodo
Copy link
Contributor Author

haiodo commented Mar 3, 2020

@edwarnicke I'm still not fully sure how it works, since working on docker integration tests for this case. Hope will finish today.

@ondrej-fabry
Copy link

PR with support for on-demand stats: ligato/vpp-agent#1634

@haiodo
Copy link
Contributor Author

haiodo commented Mar 3, 2020

Thanks @ondrej-fabry, 0-interval will be ideal case for us.

@haiodo
Copy link
Contributor Author

haiodo commented Mar 11, 2020

@ondrej-fabry Any idea when 3.0.x with 0-interval will be available? Thanks.

@ondrej-fabry
Copy link

Will release new version this week.

@ondrej-fabry
Copy link

@haiodo I just released version 3.1.0. Full changelog: https://github.com/ligato/vpp-agent/blob/v3.1.0/CHANGELOG.md#v3.1.0

haiodo added 4 commits April 1, 2020 13:55
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
Correct logging

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
Update to latest vppagent

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
@haiodo
Copy link
Contributor Author

haiodo commented Apr 6, 2020

@edwarnicke it is updated for few time ago, could you please take a look on a moment. Thanks.

}

// NewServer creates a new metrics collector instance
func NewServer(vppClient configurator.StatsPollerServiceClient) networkservice.NetworkServiceServer {
Copy link
Member

Choose a reason for hiding this comment

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

Could we using a grpc.ClientConnInterface hre instead of passing in the client itself, see: https://github.com/networkservicemesh/sdk-vppagent/blob/master/pkg/networkservice/commit/client.go#L43

The reason being that, when we put together a chain, we can use the same vppAgentCC for both commit and metrics :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, let me update PR.

Copy link
Member

Choose a reason for hiding this comment

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

Actually... just realized when I went to try to do this with heal that it can make testing much harder. Feel free to ignore this comment.

@haiodo haiodo requested a review from edwarnicke April 6, 2020 16:04
@edwarnicke edwarnicke merged commit 2be341b into networkservicemesh:master Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants