up
This commit is contained in:
parent
a5be3a97e8
commit
d4188b2405
1 changed files with 3 additions and 0 deletions
|
|
@ -46,6 +46,9 @@ export default (mainHandler: Main): Types.ServerMethods => {
|
||||||
GetLndMetrics: async ({ ctx, req }) => {
|
GetLndMetrics: async ({ ctx, req }) => {
|
||||||
return mainHandler.metricsManager.GetLndMetrics(req)
|
return mainHandler.metricsManager.GetLndMetrics(req)
|
||||||
},
|
},
|
||||||
|
GetLndForwardingMetrics: async ({ ctx, req }) => {
|
||||||
|
return mainHandler.metricsManager.GetLndForwardingMetrics(req)
|
||||||
|
},
|
||||||
ResetMetricsStorages: async ({ ctx }) => {
|
ResetMetricsStorages: async ({ ctx }) => {
|
||||||
return mainHandler.utils.tlvStorageFactory.ResetStorages()
|
return mainHandler.utils.tlvStorageFactory.ResetStorages()
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue