Giter VIP home page Giter VIP logo

datadog-openshift's Introduction

Monitoring Openshift with Datadog

The Datadog cartridge lets you install the Datadog Agent on your gears and collect metrics from your apps. This cartridge supports both scalable and non-scalable apps.

Requirements

  • An OpenShift app (with the ‘sysstat’ Linux package installed)
  • The OpenShift RHC client tool
  • A Datadog account

How to install the Datadog cartridge

  1. Get your Datadog API key here and define the DATADOG_API_KEY environment variable in your OpenShift app:
rhc set-env DATADOG_API_KEY=your_api_key -a myapp
  1. Add the cartridge to your gear:
rhc cartridge-add http://cartreflect-claytondev.rhcloud.com/github/datadog/datadog-openshift -a myapp
  1. Ssh to your gear to work with the agent:

If you have trouble connecting to your gear, read this guide.

You can use several commands to interact with the Agent:

  • Start the Agent
    $OPENSHIFT_DATADOG_DIR/bin/control start
    
  • Stop the Agent
    $OPENSHIFT_DATADOG_DIR/bin/control stop
    
  • Restart the Agent
    $OPENSHIFT_DATADOG_DIR/bin/control restart
    
  • Get the status of the Agent
    $OPENSHIFT_DATADOG_DIR/bin/control status
    
  • Get detailed information about the Agent
    $OPENSHIFT_DATADOG_DIR/bin/control info
    

Configuration files for the integrations are located here: cd $OPENSHIFT_DATADOG_DIR/dd-agent/agent/conf.d/

  1. At this point, the Agent should be running on the gear and appear on the Infrastructure Overview. You can configure integrations in Datadog to monitor databases, caches, etc. Here the list of the available integrations, complete with configuration instructions.

Scalable apps

In the case of a scalable app, the Datadog Agent will be installed and configured automatically on every new gear created for scalibility purpose.

More information about the Datadog Agent

See the detailed documentation on our website: http://docs.datadoghq.com/guides/basic_agent_usage/

datadog-openshift's People

Contributors

aquabindi avatar leocavaille avatar alq666 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.