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