Skip to content

nntsugu/ddgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published