1 Star 0 Fork 0

KubeWharf / malachite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
方俊 提交于 2023-05-12 16:23 . docs(core): update readme

Malachite

Overview

  • Malachite is a daemon written in Rust, which is responsible for node-level and cgroup-level metrics collection, e.g., memory usage and network bandwidth.
  • Malachite support cgroup, both V1 and V2, which can provide running information of k8s Pods and Containers.
  • Malachite mainly obtains relevant metrics from pseudo-filesystems, e.g., /proc and /sys, and expand its capabilities with EBPF program. All of these can be switched on and off dynamically to save metric collection overhead.

Quick Start

Build

git clone https://github.com/kubewharf/malachite

cd malachite

make build

Run

make run

Use Case

get Node Memory info

curl "http://localhost:8000/api/v1/system/memory"

get cgroup info with relative path

curl "http://localhost:8000/api/v1/cgroup/groups/?cgroup_user_path=/kubepods/burstable/xxx"

Deploying

Please refer to Charts for detailed helm charts.

Community

Contact

If you have any questions or wish to contribute, you are welcome to communicate via GitHub issues or pull requests. Alternatively, you may reach out to our Maintainers.

License

Malachite is under the Apache 2.0 license. See the LICENSE file for details.

1
https://gitee.com/kubewharf/malachite.git
git@gitee.com:kubewharf/malachite.git
kubewharf
malachite
malachite
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891