Coder Social home page Coder Social logo

brennwert / py-dynasynthetic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from micha-k/py-dynasynthetic

0.0 1.0 0.0 39 KB

A python library providing access to data gathered by Dynatrace Synthetic Monitoring

License: MIT License

Python 100.00%

py-dynasynthetic's Introduction

Py-DS - Python Dynatrace Synthetic

Build Status Coverage Status

Structure

This repository contains

  • dynasynthetic/DynatraceDatafeedAPI - a low level abstraction of the dynatrace datafeed api
  • dynasynthetic(DynatraceSyntheticAPI - a high level abstraction representing various use cases, including the threshhold evaluation
  • dynasynthetic/CommandlineClient - a commandline application, acting as a consumer of the DynatraceSyntheticAPI
  • dynasynthetic_cli.py - executable for the commandline client
  • check_dynasynthetic.py - executable to run the commandline client in a nagios check style

Setup development environment

Create virtual environment for development

    virtualenv -p python2.7 venv

Use virtuel environment

    source venv/bin/activate

Run tests using tox

    tox

Use application

Set your credentials as env variables

    export DS_USER='your username'; DS_PASS=$(echo -n 'your password' | md5)

Use cli application (example: list all metrics)

    ./dynasynthetic_cli.py list -l metrics -u $DS_USER -p $DS_PASS

Perform nagios check in a metric

    ./check_dynasynthetic.py monitor -m uxtme -s 12345 -c 3000 -w 2000  -u $DS_USER -p $DS_PASS

py-dynasynthetic's People

Contributors

brennwert avatar

Watchers

 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.