Code Monkey home page Code Monkey logo

snap-plugin-collector-nginx's Introduction

Snap Collector plugin - Nginx

Collector get Nginx metrics from Nginx application and pass it to blueflood and Metric square to store it in cassandra

  1. Getting Started
  1. Community Support
  2. Contributing
  3. License

Getting Started

A working snap agent and a running instance of Nignx application which expose a rest api in json format to get access to real time nignx metrics.

System Requirements

Operating Systems

  • Linux
  • Mac OS X

Build

Fork https://github.com/Staples-Inc/snap-plugin-collector-nginx Clone repo into $GOPATH/src/github.com/Staples-Inc/:

$ git clone https://github.com/<yourGithubID>/snap-plugin-collector-nginx.git

Build the plugin by running make within the cloned repo:

$ make

This builds the plugin in /build/rootfs/

Run

Make sure that your $SNAP_PATH is set, e.g.:

$ export SNAP_PATH=<snapDirectoryPath>/build/linux/x86_64

Run the snap agent with the config file:

$SNAP_PATH/snapteld --plugin-trust 0 --log-level 1 --config $GOPATH/src/github.com/Staples-Inc/snap-plugin-collector-nginx/config.json

Load the collector plugin:

$SNAP_PATH/snaptel plugin load $GOPATH/src/github.com/Staples-Inc/snap-plugin-collector-nginx/build/rootfs/snap-plugin-collector-nginx

Verify

To Verify nginx mertics:

$SNAP_PATH/snaptel metric list

Configuration and Usage

  • Set up the Snap framework As part of snapd global config
  • Load the plugin and create a task, you can find example config and task manifest files in "examples" directory

Community Support

This repository is one of many plugins in Snap, a powerful telemetry framework. The full project is at http://github.com:intelsdi-x/snap. To reach out on other use cases, visit Slack.

Contributing

We currently have no future plans for this plugin. If you have a feature request, please add it as an issue and/or submit a pull request

License

This plugin is Open Source software released uder the Apache 2.0 License

snap-plugin-collector-nginx's People

Contributors

jtlisi avatar mkleina avatar ssenthil416 avatar

Watchers

 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.