Skip to content
No description, website, or topics provided.
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitignore
Dockerfile
Makefile
README.md
ddgo.go

README.md

DDGO

This cli create Datadog monitoring settings semi-automatically.

How to build on Docker

# Build golang image
$ docker build -t build-golang:1.8 -f Dockerfile .

# make xbuild with mounting working dir
$ docker run -v ${PWD}:/go/src/github.com/nntsugu/ddgo -w /go/src/github.com/nntsugu/ddgo build-golang:1.8 make xbuild

After that you can see zip/tar files under the snapshot directory. Please use the suitable one for your OS.

How to use it

Run the following command then all monitoring settings in PATH_TO_MONITORING_CONF_DIR will be created on Datadog.

$ ddgo -f PATH_TO_DATADOG_KEYS -m PATH_TO_MONITORING_CONF_DIR

PATH_TO_DATADOG_KEYS

datadog:
  api_key: <<API KEY>>
  app_key: <<APPLICATION KEY>>

You can get the above keys by the following URL.

PATH_TO_MONITORING_CONF_DIR

  • see examples/monitoring_setting
  • You can get json from existing setting via export function of Datadog.
You can’t perform that action at this time.