Answers: <p>What datasource are you using?
  How do you transfer data from your collector (node_exporter) to grafana?</p>
  <p>You could use a combination of telegraf agents and influxdb to create tags (eg users) and then filter your metrics based on those tags.</p>
  
Answers: CC BY-SA 4.0
Answers: 2023-09-29T11:23:45.157Z
Answers: 2023-09-29T11:23:45.157Z
Answers: getleft
Body: <p>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?</p>
  
Comments: CC BY-SA 4.0
Comments: 2023-09-18T06:07:39.943Z
Comments: 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 https://stackoverflow.com/a/28194733/21363224
Comments: markalex
Tags: <prometheus><grafana>
Title: get node_exporter metrics for a single system user
UserDisplayName: Vietna
ThreadText: # get node_exporter metrics for a single system user
  
  (Asked by: username_0 on 2023-09-17)
  
  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?
  
  **Tags:** prometheus, grafana
  
  > **Comments:**
  > **username_1**: 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 https://stackoverflow.com/a/28194733/21363224  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-09-29. Score: 0
  
  What datasource are you using?
  How do you transfer data from your collector (node\_exporter) to grafana?
  
  You could use a combination of telegraf agents and influxdb to create tags (eg users) and then filter your metrics based on those tags.
  
  
  ---
  
  