Hacker Newsnew | past | comments | ask | show | jobs | submit | mspier's commentslogin

Depends on what you mean by Node.JS CPU profiles, if captured by `perf script`, then yes, otherwise, not yet.


Can you open a issue/feature request on Github?



Not Node.JS specifically, but just npm for dependencies and task running to build the React client from source. If you're not looking to build the client from source, the distributed client bundle should suffice and only Python is required.


We really love animals! :-) JK. Just obfuscating class names with animal names before publishing the blog post.


Hehe! Thanks for the clarification -- I wondered if everyone was going bananas over at your company! This explains it (:


Still better than some unpronounceable old-norse names we had on a few projects. :-)


It's bootstrap (see bower.json dependencies), but with our own layer on top of that.


Can you open an issue on GitHub and post more details? Any errors on the JavaScript console?


True. But that's the first release of Vector. We expect to make our custom PCP agents public soon.


Sorry I should clarify I was making that statement for my understanding, not to degrade the project!


That's right. Any suggestion of better reusable charts?


Honestly? Just write your own SVG code. If you inspect the elements the output data is super simple and easy to understand. NVD3 just wraps D3.js which just wraps utilities that output relatively basic data. Well, d3js is a data-binding system that's way too god damned complicated if all you want to do is make some simple charts which is how it's used 99% of the time.

I've spent more time trying to manipulate chart libraries into doing almost the same thing but just different enough to cause pain and suffering. Output your own path data and it's a million times easier.

For reference here's what I made: http://forrestthewoods.com/unbalanced-design-of-super-smash-...


IMO nvd3 is one of the better high-level charting libraries in terms of number of charts, out-of-the box styles and interactivity.


It isn't d3 based (uses canvas instead of svg), but flot is fantastic as well:

http://flotcharts.org


Happy to discuss your concerns. PCP 3.10 should be available on Ubuntu's official repo pretty soon too.


His concerns seem plain to me. Unauthenticated channels for software distribution or software installation instructions are bad.

The techblog isn't using SSL, and the git pull url for PCP is using the git protocol which is also unauthenticated, rather than the authenticated https transport (ssh is only an option when user accounts make sense).

Someone's at a conference and follows the link over public wifi. They get the same page but with "here's how to get PCP: ftp evil.io or git clone git://git.evil.io/pcp" Even if the webpage were ssl-enabled so that an attacker can't rewrite the pcp.io links, an attacker or evil network operator could MITM git.pcp.io or ftp.pcp.io. (FTP?!)

Being in Ubuntu's repo doesn't make it safe if Ubuntu's maintainers have no (semi-)trustworthy way of getting the code.


Ubuntu's maintainers can check the MD5SUM file on ftp.pcp.io:

  ftp://ftp.pcp.io/projects/pcp/download/MD5SUM
The project seems to be hosted by Red Hat these days.


FTP is just as unauthenticated as everything else above, so having MD5SUMs available over FTP doesn't really change the situation.


Any chance you could provide standard Debian builds rather than Ubuntu specific?


Goal is a bit different. Vector doesn't collect and persist metrics. We needed something that had as little overhead as possible so it could be deployed to all our hosts and simplify the process of analyzing those metrics.


If its not collecting and persisting metrics, is it more of a glorified htop?


Not really. htop doesn't visualize historical trends from numerous sources at the same time. Vector also allows us to interface with other metric sources, beyond /proc.


doesn't htop require you to go onto the box? We haven't released our custom pcp modules yet which allow more complex visualizations such as flamegraph generation from perf event sampling.


Yes, exactly - htop is a curses application that shows instantaneous samples of a few system metrics, but it mostly lists processes - this is nothing like Vector at all...


Wait, really?

Why not? Storage is cheap. Do you use something else to get historical visibility into metrics?


Yes, Atlas, which is also open source: http://techblog.netflix.com/2014/12/introducing-atlas-netfli... . Atlas monitors cloud-wide, and stores historical metrics at a one minute granularity.

Vector is for per-instance custom drilldowns. I gave a talk last year where I showed how they both fit together: http://www.brendangregg.com/blog/2014-09-27/from-clouds-to-r...


Got it... and thank you Brendan!


I think the reason is they have a bunch of ephemeral hosts which they don't want to put in a central web interface or collect statistics on. They are only interested in getting some insight as to what went wrong with this host so they can fix it in the future.


Grafana, Graphite, StatsD, Skyline.


pcp is happy to collect & persist metrics; vector just doesn't happen to render them. pcp offers other ways to interact with live or archive-saved data, including other webapps.


Neither does collectd, it just gathers and transmits the data to an endpoint you specify. It's also quite lightweight (once you address the memory leaks, at least).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: