What is the difference between "agent" and "node_exporter" integrations

  • What Grafana version and what operating system are you using?
    Grafana version = v0.43.2
    OS = Oracle LINUX 80

  • What are you trying to achieve?
    I am new to Grafana and trying to understand the Grafana Static Agent configuration file. I understand that Grafana Alloy is the new version but before I switch to Alloy, I would like to understand how Grafana Static Configuration works.

While I understand what metrics “node_exporter” integration collects, I am trying to understand what metrics the “agent” integration collects. According to Grafana documentation:
“the agent integration collects metrics from that running instance of the Grafana Agent.”

So, what are those agent metrics and and how I can display them?

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

integrations:
agent:
enabled: true
instance: “agent-integration-instance”
scrape_integration: true

node_exporter:
enabled: true
instance: “node-exporter-integration-instance”
scrape_integration: true

I’m not sure but wouldn’t those metrics be of Grafana Agent itself (based on the description you provided)? So metrics like “how many series did Grafana Agent added” or “HTTP requests handled by agent” or “how many spans / traces did Grafana Agent send” (metrics might be just examples and those might not even be real but those kind of Agent statistics I’d expect from such an integration).