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

add metrics for libp2p #506

Merged
merged 2 commits into from
Oct 12, 2023
Merged

add metrics for libp2p #506

merged 2 commits into from
Oct 12, 2023

Conversation

wuming333666
Copy link

What type of PR is this?
/kind design

What this PR does / why we need it:
add libp2p metrics,
Helpful for troubleshooting
Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@kubeedge-bot kubeedge-bot added the kind/design Categorizes issue or PR as related to design. label Oct 10, 2023
@kubeedge-bot kubeedge-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 10, 2023
@Poorunga
Copy link
Member

Poorunga commented Oct 10, 2023

@wuming333666 You need add sign-off in your commits. Refer to https://github.com/kubeedge/edgemesh/pull/506/checks?check_run_id=17554341863

@@ -3,6 +3,8 @@ package tunnel
import (
"context"
"fmt"
rcmgr "github.com/libp2p/go-libp2p/p2p/host/resource-manager"
Copy link
Member

Choose a reason for hiding this comment

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

Golang package import order:

  1. Built-in
  2. Third parties
  3. Project related

Otherwise CI will fail.

Copy link
Author

Choose a reason for hiding this comment

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

Ok, I will change that

@Poorunga
Copy link
Member

@wuming333666 Hi, How should I contact you? Are you willing to share your contact information? Such as email or WeChat?

@wuming333666
Copy link
Author

@wuming333666 Hi, How should I contact you? Are you willing to share your contact information? Such as email or WeChat?

my email is [email protected]

"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/klog/v2"
"sigs.k8s.io/yaml"

ocprom "contrib.go.opencensus.io/exporter/prometheus"
Copy link
Member

Choose a reason for hiding this comment

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

move pkg ocprom to third-part pkg zoom

cjw added 2 commits October 11, 2023 19:22
@Poorunga
Copy link
Member

/lgtm
/approve

@kubeedge-bot kubeedge-bot added the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2023
@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Poorunga

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2023
@kubeedge-bot kubeedge-bot merged commit 94ef20d into kubeedge:main Oct 12, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/design Categorizes issue or PR as related to design. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants