cit-lab / apm-probe

A basic machine probe for gather machine information and send to collector
Apache License 2.0
0 stars 0 forks source link

Possible probes #1

Open at15 opened 9 years ago

at15 commented 9 years ago

Machine sigar (but does it support new linux kernel?

java https://github.com/jmxtrans/jmxtrans send jmx to kairosdb https://dropwizard.github.io/metrics need a custom reporter to send data to kairosdb or I can write a logback plugin because metrics also support using logback, and many other application also use logback.

http://prometheus.io/docs/instrumenting/clientlibs/ Prometheus has many features that this project need (should have just modify it ....

https://github.com/Graylog2/graylog2-server this use sigar and support syslog seems?

python https://github.com/google/grr/tree/master/client grr can collect and show data, and it use https://pypi.python.org/pypi/psutil for gather data i guess

at15 commented 9 years ago

currently, the solution is

  1. for java application that use logback, log to syslog, use collector to listen to udp port and parse then send to kairosdb https://github.com/cit-lab/apm-collector/commit/734e50a4dec99c048611b4ffa407aeb9836b9ce6
  2. for dropwizard metrics, use syslog too, just need another parser
  3. for machine hardware information, sigar is already working in collector https://github.com/cit-lab/apm-collector/commit/21a903368adac1a5b73b28f38cd1e5f3c48ac0b5
  4. for process information, use sigar is also ok
at15 commented 9 years ago

now we use own collector https://github.com/cit-lab/apm-collector/issues/7 and probe just send current process pid to the collector, and let collector gather information and send to backend