-
Notifications
You must be signed in to change notification settings - Fork 36
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
optl: Histogram to Counter #1467
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1467 +/- ##
=======================================
Coverage ? 71.63%
=======================================
Files ? 241
Lines ? 10720
Branches ? 0
=======================================
Hits ? 7679
Misses ? 2570
Partials ? 471 ☔ View full report in Codecov by Sentry. |
96b5d36
to
7dcc32d
Compare
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.
Looks good.
Could we update go in the separate PR?
Also, something is happend with build, could you have a look at job result?
I think first we need to update .github before, since we are using reusable workflow, and there is v1.18. |
@LionelJouin Merged |
Thank you @denis-tingaikin, how does it work? I can still see this go version error: https://github.com/networkservicemesh/sdk/actions/runs/5343501614/jobs/9759105840?pr=1467 |
@LionelJouin My guess that you need simply force push the branch |
For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
Still got errors, I tried |
Could you add option go test -race ./... -count 1 Seems to me we have issues in the sdk. |
Thank you, just tried, and same, all tests passed with no problem. |
@denis-tingaikin did you changed anything? Now only macos is failing (I don't have macos) |
@LionelJouin I've restarted job a few times and seems like everything is passed. I think we should merge it and stabilize CI in separate PR @glazychev-art thoughts? |
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.
I agree. Most likely, the instabilities are not related to this PR.
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1467 Commit: e977214 Author: Lionel Jouin Date: 2023-06-26 21:40:14 +0200 Message: - optl: Histogram to Counter (#1467) For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram. Update to golang 1.20 Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Description
For the kind of metrics currently colllected in NSM (rx/tx packets/bytes, drops...), Having counters is more appropriate than using histogram.
Probably I will need to save the previous value and apply the difference since counter only have a "Add" function.
I also updated the open telemetry dependency to v1.16.0. Updating to golang 1.20 is required for this version of OpenTelemetry.
Issue link
#1464
networkservicemesh/deployments-k8s#9216
How Has This Been Tested?
Types of changes