I have installed the node_exporter within the userspace of a linux system user. Everything works and I get the metrics in my grafana. But what I get is apperently the metrics for the whole host system (interesting, that I can get so much data about the host system as a simple user). But what I want is to see the CPU usage or RAM usage etc. just for my user, is that possible?
-
AFAIK, node_exporter itself doesn't provide such functionality, and it would be particularly misleading for memory due to buffers, shares and such. But if youare sure that you really need this, you can utilise textile collectors of node_exporter, and write a script that will be preparing needed data. Good starting point for this might be stackoverflow.com/a/28194733/21363224– markalexSep 18 at 6:07