{"type":"rich","version":"1.0","author_name":"npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd","author_url":"https://nostr.ae/npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2014-05-07\n📝 Original message:I think there a few different possible ways to go here.\n\nOne is to try and simplify the setup of all the components so it all gets\ninstalled together. That might be feasible in some quite restricted setups\nbut the installation instructions for Graphite look kind of terrifying.\n\nAnother is to export stats over regular TCP and make them public so\nliterally anyone can listen to the stats feed for any node. Then people who\ndig stats and graphs could work on stats aggregators that give global\nnetwork visibility independently, effectively crawling the p2p network for\ndata. It'd have the advantage of having zero setup for the node operators\nand not require much in the way of resources.\n\nFor what it's worth, although the environment is a bit different inside\nGoogle the latter approach is used. Monitoring servers locate servers of\ninterest via a discovery service, connect to them and start streaming stats\ndata into a database service that can then be queried later to get graphs.\n\nThe stats are also run through various rules to obtain alerts about\nproblematic conditions. For example, if a subset of the network splits it\nmight be hard to notice that if the node operators aren't paying attention\nand Matt's fork alert/emailing code isn't set up. But if there was a site\ncrawling nodes and aggregating chain heights by version, that could trigger\nan alert to people who *are* paying attention.\n\nI know from practical experience that monitoring and analysis tends to\nappeal more to certain types of people than others. So I quite like the\n\"let anyone monitor\" approach. However, it may not be appropriate in a P2P\nnetwork, I did not think about it much.\n\nObviously I'm assuming none of the stats expose privacy sensitive data.\n\n\n\nOn Wed, May 7, 2014 at 10:18 PM, Wladimir \u003claanwj at gmail.com\u003e wrote:\n\n\u003e On Wed, May 7, 2014 at 9:57 PM, Jameson Lopp \u003cjameson.lopp at gmail.com\u003e\n\u003e wrote:\n\u003e \u003e -----BEGIN PGP SIGNED MESSAGE-----\n\u003e \u003e Hash: SHA1\n\u003e \u003e\n\u003e \u003e I agree that it would be awesome to offer these types of stats with the\n\u003e installer; unfortunately the route I've taken has dependencies on several\n\u003e other other pieces of software to do all the heavy lifting of stats\n\u003e aggregation and chart rendering. I'm assuming that you would not want to\n\u003e build any of that processing into Bitcoin Core itself; would you be opposed\n\u003e to packaging other software along with the installer?\n\u003e\n\u003e Depends on just how much stuff it is. The idea is primarily to have an\n\u003e installer for running a (wallet-less) node as an OS background\n\u003e service.\n\u003e\n\u003e Having some statistics available would be worth some extra download\n\u003e size, otherwise it would be pretty much invisible.\n\u003e\n\u003e We'd already decided that we would need something like Python for the\n\u003e stats service. Implementing things like web services in C++ is just\n\u003e not realistic given the time constraints and the great already-written\n\u003e code that is out there. As an optional tool it should be external, not\n\u003e part of bitcoind itself.\n\u003e\n\u003e I suppose the chart rendering happens client-side? In that case the\n\u003e web service just has to collect and provide the data, and serve static\n\u003e html/js files.\n\u003e\n\u003e Wladimir\n\u003e\n\u003e\n\u003e ------------------------------------------------------------------------------\n\u003e Is your legacy SCM system holding you back? Join Perforce May 7 to find\n\u003e out:\n\u003e \u0026#149; 3 signs your SCM is hindering your productivity\n\u003e \u0026#149; Requirements for releasing software faster\n\u003e \u0026#149; Expert tips and advice for migrating your SCM now\n\u003e http://p.sf.net/sfu/perforce\n\u003e _______________________________________________\n\u003e Bitcoin-development mailing list\n\u003e Bitcoin-development at lists.sourceforge.net\n\u003e https://lists.sourceforge.net/lists/listinfo/bitcoin-development\n\u003e\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140507/2826ee4a/attachment.html\u003e"}
