Skip to content

aibou/datadog-for-golang-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://github.com/fukata/golang-stats-api-handler のメトリックをdatadogに送るカスタムチェックスクリプトです。

Run go-server on local and fetch metrics (if necessary)

go get github.com/fukata/golang-stats-api-handler
go run server.go
curl -i http://localhost:8080/api/stats/

Put the additinal check script and config file on your datadog directory

If you use OSX, you need to put gostats.py to:

/opt/datadog-agent/etc/checks.d/

and put gostats.yaml to:

/opt/datadog-agent/etc/conf.d/

Restart datadog-agent and confirm

About

github.com/fukata/golang-stats-api-handler のメトリックをdatadogに送るためのカスタムチェックスクリプトです。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published