k-cloud-labs / kinitiras

A programmable rule engine for k8s admission webhook
https://k-cloud-labs.github.io/kinitiras-doc
Apache License 2.0
158 stars 10 forks source link

feat: add trace and pprof #14

Closed yusank closed 1 year ago

yusank commented 1 year ago

What type of PR is this?

/kind feature

What this PR does / why we need it:

To trace bugs and performance issues.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

DON'T merge this PR before update go mod fils

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

github-actions[bot] commented 1 year ago

Please add a label from the following list: ['bug', 'documentation', 'duplicate', 'enhancement', 'good first issue', 'help wanted', 'invalid', 'question', 'size/L', 'size/M', 'wontfix']

codecov[bot] commented 1 year ago

Codecov Report

Merging #14 (df24eca) into main (6827122) will increase coverage by 40.00%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             main       #14       +/-   ##
============================================
+ Coverage   60.00%   100.00%   +40.00%     
============================================
  Files           2         2               
  Lines          55       104       +49     
============================================
+ Hits           33       104       +71     
+ Misses         22         0       -22     
Impacted Files Coverage Δ
cmd/app/options/options.go 100.00% <100.00%> (+50.00%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.