Skip to content

6zacode-toolbox/metrics-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metrics-collector

Generic collector os performance readings collectors

Details

Collectors:

Sinks:

  • Kakfa
  • Minio

Frequency:

  • Every 10 mins

Parameters - IN

Source: Digital Ocean

https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring

Requires:

  • DIGITALOCEAN_TOKEN
  • List of HostIds

Limits:

  • Current rate limits are 5000 requests per hour and 250 requests per minute.

Source: Prometheus

Requires: PROMETHEUS_ADDRESS

Metrics list:

CPU, Memory, Disk, i/o, Network

- CPU_Temperature
- sensor_lm_temperature_celsius
- engine_daemon_container_states_containers
- engine_daemon_engine_cpus_cpus
- engine_daemon_engine_memory_bytes
- node_memory_HighFree_bytes
- node_filesystem_free_bytes

Parameters - OUT

  • S3: Minio + Parquet

Structure:

  • Metric/Host/Data(Time,Reading)

Running

docker build -t app-scala .

docker run -e PROMETHEUS_HOST="127.0.0.1:9090"   app-scala

Developing

docker run -it -w /app \
        --name scala-sandbox \
        -e PROMETHEUS_HOST="127.0.0.1:9090" \
        -v $HOME/_cache/.ivy2:/root/.ivy2  \
        -v $HOME/_cache/.sbt:/root/.sbt \
        -v $HOME/_DEV/dockerhostapi:/source \
        -v $PWD:/app \
        --rm sbtscala/scala-sbt:eclipse-temurin-jammy-8u352-b08_1.8.2_2.12.17 /bin/bash

About

Generic collector os performance readings collectors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published