Skip to content

Conversation

@akvlad
Copy link
Contributor

@akvlad akvlad commented Jul 23, 2022

Scrape top output (RAM & CPU) and send it to qryn

input {
  top {
    ps => ["node index.js (how process command is displayed in ps aux)", "another command" ],
    pids => [1234, 456, <program PID> ... ]
    pidfiles => ["/tmp/proc1.pid", "/tmp/proc2.pid"]
  }
}

output {
  stdout{}
}

The plugin produces message consumable by output_loki or any other compatible.

@CLAassistant
Copy link

CLAassistant commented Jul 23, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants