Go to file
kongfei 3f26768565 fix ds serviceaccount mount 2022-06-16 21:45:03 +08:00
.github release image to docker hub 2022-06-14 15:12:16 +08:00
agent registry kubernetes plugin 2022-06-14 17:12:58 +08:00
conf add kubernetes plugin 2022-06-14 17:21:37 +08:00
config os.Expand kubernetes url 2022-06-14 23:47:10 +08:00
docker new base image 2022-06-14 21:22:03 +08:00
inputs input: docker should be init failed if the daemon not started 2022-06-15 19:51:46 +08:00
k8s fix ds serviceaccount mount 2022-06-16 21:45:03 +08:00
logs keep hostname of logs consistent with metrics (#10) 2022-06-10 08:47:04 +08:00
parser add name prefix for plugin prometheus 2022-05-30 08:09:06 +08:00
pkg add docker plugin v1 2022-06-07 10:36:17 +08:00
types code refactor 2022-04-25 14:51:52 +08:00
writer remove some configurations of writer 2022-05-28 09:24:30 +08:00
.gitignore Build image (#19) 2022-06-13 14:02:57 +08:00
.goreleaser.yaml new base image 2022-06-14 21:19:20 +08:00
LICENSE add LICENSE 2022-05-16 11:58:50 +08:00
Makefile Build image (#19) 2022-06-13 14:02:57 +08:00
README.md update daemonset yaml 2022-06-15 11:37:08 +08:00
go.mod prometheus plugin: support get scrape urls from consul 2022-06-09 18:53:25 +08:00
go.sum prometheus plugin: support get scrape urls from consul 2022-06-09 18:53:25 +08:00
main.go reorganize log config 2022-06-02 19:29:49 +08:00
main_posix.go try to support windows 2022-05-29 17:03:03 +08:00
main_windows.go write log to file when running on windows 2022-05-29 20:49:09 +08:00

README.md

Categraf

Categraf is a monitoring agent for nightingale/prometheus/m3db/victoriametrics/thanos/influxdb/tdengine.

QuickStart

QuickStart

Releases

Releases

Build

# export GO111MODULE=on
# export GOPROXY=https://goproxy.cn
go build

Deploy categraf as daemonset

edit k8s/categraf.yaml, replace NSERVER_SERVICE_WITH_PORT with service ip:port of nserver in your cluster, replace CATEGRAF_NAMESPACE with namespace value, then run:

kubectl apply -n monitoring -f ks8/categraf.yaml

Test

./categraf --test

# usage:
./categraf --help

Pack

tar zcvf categraf.tar.gz categraf conf

Plan

FAQ

FAQ

Thanks

Categraf is developed on the basis of Telegraf and Exporters. Thanks to the great open source community.