How to get memory usage per target

I have been working together with Prometheus and Grafana where I am trying to integrate them both together. My problem currently is that my node exporter is currently redirecting to port 9100 which I was able to do:


By doing


However this would just sum up the whole computer status but what I want to do is that I would like to get RAM usage of each target:

# Sample config for Prometheus.

  scrape_interval:     1s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  evaluation_interval: 1s # Evaluate rules every 15 seconds. The default is every 1 minute.
  # scrape_timeout is set to the global default (10s).

  # Attach these labels to any time series or alerts when communicating with
  # external systems (federation, remote storage, Alertmanager).
      monitor: 'example'

# Alertmanager configuration
  - static_configs:
    - targets: ['localhost:9093']

# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
  # - "first_rules.yml"
  # - "second_rules.yml"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
  - job_name: node
    # If prometheus-node-exporter is installed, grab stats about the local
    # machine by default.
      - targets: [

and now I am stuck where I do not know how or if its even possible to get the RAM usage that is being used by the different ports?

The output I would like to do is:


Bumping and hoping I could get any help :slight_smile:

This topic was automatically closed after 365 days. New replies are no longer allowed.