Skip to content

long0419/sts-agent

 
 

Repository files navigation

Build Status

The StackState Agent collects events and metrics and brings them to your StackState instance for further analysis.

It includes telemetry information from various sources, as well as topology information based on connbeat.

Setup your environment

Required:

  • python 2.7
  • bundler (to get it: gem install bundler)
# Clone the repository
git clone git@github.com:StackVista/sts-agent.git

# Create a virtual environment and install the dependencies:
cd sts-agent
bundle install
rake setup_env
# NOTE: on mac osx python2 might be missing as an exectuable, failing the setup_env. Add this as a symlink

# Activate the virtual environment
source venv/bin/activate

# Lint
bundle exec rake lint

# Run a flavored test
bundle exec rake ci:run[apache]

Test suite

More about how to write tests and run them here

How to configure the Agent

If you are using packages on linux, the main configuration file lives in /etc/sts-agent/datadog.conf. Per-check configuration files are in /etc/sts-agent/conf.d. We provide an example in the same directory that you can use as a template.

How to write your own checks

Writing your own checks is easy using our checks.d interface. Read more about how to use it on our Guide to Agent Checks.

About

The StackState agent gathers telemetry and topology for StackState.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.6%
  • Ruby 2.9%
  • Shell 2.7%
  • HTML 0.3%
  • Nginx 0.1%
  • ApacheConf 0.1%
  • Other 0.3%