[#424] morph: Fix cache metrics
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Use separate morph cache metrics for node and IR Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
4449006862
commit
26b305f82b
5 changed files with 17 additions and 8 deletions
|
@ -15,3 +15,7 @@ func (NoopRegister) IncSwitchCount() {
|
|||
func (NoopRegister) SetLastBlock(uint32) {}
|
||||
func (NoopRegister) IncNotificationCount(string) {}
|
||||
func (NoopRegister) ObserveInvoke(string, string, string, bool, time.Duration) {}
|
||||
|
||||
type NoopMorphCacheMetrics struct{}
|
||||
|
||||
func (m *NoopMorphCacheMetrics) AddMethodDuration(string, bool, time.Duration) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue