-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate expvar
and a modular approach to integration with each package
#150
Comments
In GitLab by @ashleyvega on Jan 23, 2019, 15:47 changed the description |
In GitLab by @ashleyvega on Jan 24, 2019, 11:58 Added {
"cmdline": [
"./tradingbotservice",
"-config",
"scripts/config/bot-multinet-config.yml"
],
"memstats": {
"Alloc": 1953000,
"TotalAlloc": 15623768,
"Sys": 72284408,
"Lookups": 0,
"Mallocs": 312417,
"Frees": 295620,
"HeapAlloc": 1953000,
"HeapSys": 66256896,
"HeapIdle": 61939712,
"HeapInuse": 4317184,
"HeapReleased": 0,
"HeapObjects": 16797,
"StackInuse": 851968,
"StackSys": 851968,
"MSpanInuse": 77064,
"MSpanSys": 98304,
"MCacheInuse": 6912,
"MCacheSys": 16384,
"BuckHashSys": 1450012,
"GCSys": 2379776,
"OtherSys": 1231068,
"NextGC": 4194304,
"LastGC": 1548330817118455300,
"PauseTotalNs": 819714,
"PauseNs": [
276123,
71974,
73054,
39447,
67062,
83100,
208954,
0,
## many zero entries ##
0
],
"PauseEnd": [
1548330816555094800,
1548330816581530000,
1548330816593709600,
1548330816605611500,
1548330816616334000,
1548330816626943000,
1548330817118455300,
0,
## many zero entries ##
0
],
"NumGC": 7,
"NumForcedGC": 0,
"GCCPUFraction": 0.005355909619491515,
"EnableGC": true,
"DebugGC": false,
"BySize": [
## skip lots of entries ##
{
"Size": 256,
"Mallocs": 141,
"Frees": 101
},
{
"Size": 2048,
"Mallocs": 393,
"Frees": 371
},
{
"Size": 16384,
"Mallocs": 0,
"Frees": 0
},
{
"Size": 19072,
"Mallocs": 1,
"Frees": 0
}
]
}
} |
In GitLab by @ashleyvega on Jan 24, 2019, 13:58 changed the description |
In GitLab by @ashleyvega on Jan 24, 2019, 14:50 but putting |
In GitLab by @ashleyvega on Jan 24, 2019, 16:04 marked this issue as related to go-trade-bot#17 |
In GitLab by @ashleyvega on Jan 28, 2019, 09:53 changed the description |
In GitLab by @ashleyvega on Jan 28, 2019, 10:28 changed the description |
In GitLab by @cdm on Feb 20, 2019, 14:10 @ashleyvega would be worth chatting with @jeremyletang soon to get his thoughts on how/if we need this for the vega binaries. |
In GitLab by @ashleyvega on Feb 20, 2019, 14:12 @cdm Sounds good. In go-trade-bot it's been easy to add, and is controlled by a config file option. It shouldn't be difficult to do likewise in trading-core. |
In GitLab by @cdm on Apr 1, 2019, 10:38 changed title from {-Logging: -}Investigate |
In GitLab by @cdm on Apr 1, 2019, 14:51 @jeremyletang would |
In GitLab by @cdm on Apr 1, 2019, 14:51 If so I can move into 1904 |
In GitLab by @jeremyletang on Apr 1, 2019, 14:52 @cdm, discussed this with @EVODelavega earlier today, I think he may have opinion about this. |
In GitLab by @cdm on Apr 1, 2019, 15:17 Ah excellent @EVODelavega if you'd like this to be added as a priority please move into 1904 |
In GitLab by @ashleyvega on Mar 3, 2020, 11:26 closed |
In GitLab by @cdm on Jan 23, 2019, 15:07
@ashleyvega has suggested using
expvar
(https://golang.org/pkg/expvar/) library for instrumentation/debugging.Useful links
expvar
: ~5ksirupsen/logrus
: ~11kjinzhu/configor
: 50protobuf/proto
: ~11kprometheus/client_golang
:dgraph-io/badger
:See also
The text was updated successfully, but these errors were encountered: