aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug_js.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-24 00:12:48 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-24 23:34:05 +0800
commitbde2ff034317db977354e0855e6406f9428899ea (patch)
treecc6983f45719968ff883dc9246fec81f5a17bec1 /rpc/api/debug_js.go
parent803b3c4a825ed0ac5d22c93fc3159651b8c590b2 (diff)
downloadgo-tangerine-bde2ff034317db977354e0855e6406f9428899ea.tar.gz
go-tangerine-bde2ff034317db977354e0855e6406f9428899ea.tar.zst
go-tangerine-bde2ff034317db977354e0855e6406f9428899ea.zip
cmd/geth, rpc/api: move the metrics into the new console
Diffstat (limited to 'rpc/api/debug_js.go')
-rw-r--r--rpc/api/debug_js.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc/api/debug_js.go b/rpc/api/debug_js.go
index 35fecb75f..e48e4df06 100644
--- a/rpc/api/debug_js.go
+++ b/rpc/api/debug_js.go
@@ -50,6 +50,11 @@ web3._extend({
],
properties:
[
+ new web3._extend.Property({
+ name: 'metrics',
+ getter: 'debug_metrics',
+ outputFormatter: function(obj) { return obj; }
+ })
]
});
`