Skip to content

Add bpf log level getter (#560)#562

Merged
kmesh-bot merged 3 commits intokmesh-net:mainfrom
Okabe-Rintarou-0:fix/bpf_log
Jul 12, 2024
Merged

Add bpf log level getter (#560)#562
kmesh-bot merged 3 commits intokmesh-net:mainfrom
Okabe-Rintarou-0:fix/bpf_log

Conversation

@Okabe-Rintarou-0
Copy link
Copy Markdown
Member

What type of PR is this?

bug

What this PR does / why we need it:
image
Which issue(s) this PR fixes:
Fixes #560

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Signed-off-by: 923048992@qq.com <923048992@qq.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 11, 2024

Codecov Report

Attention: Patch coverage is 64.28571% with 15 lines in your changes missing coverage. Please review.

Project coverage is 49.25%. Comparing base (098a402) to head (6ac828c).
Report is 9 commits behind head on main.

Files Coverage Δ
pkg/status/status_server.go 33.18% <64.28%> (+6.98%) ⬆️

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb0bd28...6ac828c. Read the comment docs.

func GetJson(url string, val any) {
resp, err := http.Get(url)
if err != nil {
fmt.Printf("Error making GET request: %v\n", err)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: log url as well

@@ -0,0 +1,35 @@
package helper
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we donot need to put it in a separate pkg

Signed-off-by: 923048992@qq.com <923048992@qq.com>
Signed-off-by: 923048992@qq.com <923048992@qq.com>
@LiZhenCheng9527
Copy link
Copy Markdown
Contributor

/lgtm

Copy link
Copy Markdown
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

/lgtm

@kmesh-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

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

The pull request process is described here

Details 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

@kmesh-bot kmesh-bot merged commit de74f6b into kmesh-net:main Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bpf logger not exist

4 participants