Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

chore: remove osm-controller cert issuance metrics #4113

Conversation

johnsonshi
Copy link
Contributor

Removes metrics store initialization of certificate
issuance metrics for the osm-controller. Cert issuance
metrics are currently initialized by osm-controller but
never updated. Thus, the cert issuance metrics are always
zero.

Certificate issuance metrics are instead maintained by
osm-injector.

Signed-off-by: Johnson Shi [email protected]

Description:

Testing done:

Affected area:

Functional Area
New Functionality [ ]
CI System [ ]
CLI Tool [ ]
Certificate Management [x]
Control Plane [ ]
Demo [ ]
Documentation [ ]
Egress [ ]
Ingress [ ]
Install [ ]
Networking [ ]
Observability [ ]
Performance [ ]
SMI Policy [ ]
Security [ ]
Sidecar Injection [ ]
Tests [ ]
Upgrade [ ]
Other [x]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? No

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? No

Removes metrics store initialization of certificate
issuance metrics for the osm-controller. Cert issuance
metrics are currently initialized by osm-controller but
never updated. Thus, the cert issuance metrics are always
zero.

Certificate issuance metrics are instead maintained by
osm-injector.

Signed-off-by: Johnson Shi <[email protected]>
@johnsonshi johnsonshi requested a review from a team as a code owner September 14, 2021 23:23
@codecov-commenter
Copy link

Codecov Report

Merging #4113 (bdb9693) into main (5e9a349) will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4113      +/-   ##
==========================================
+ Coverage   69.12%   69.18%   +0.05%     
==========================================
  Files         205      205              
  Lines       11240    11238       -2     
==========================================
+ Hits         7770     7775       +5     
+ Misses       3418     3411       -7     
  Partials       52       52              
Flag Coverage Δ
unittests 69.18% <ø> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/osm-controller/osm-controller.go 14.10% <ø> (+0.17%) ⬆️
pkg/crdconversion/crdconversion.go 75.00% <0.00%> (+5.43%) ⬆️

Continue to review full report at Codecov.

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

@johnsonshi johnsonshi merged commit 963cf8f into openservicemesh:main Sep 16, 2021
@johnsonshi johnsonshi deleted the remove-cert-issuance-metrics-from-controller branch September 16, 2021 22:25
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