Commit Graph

29 Commits

Author SHA1 Message Date
mtakaki
5be0217c00 #10 - Creating auxiliary client class to generate configuration class (#78)
* #10 - Creating auxiliary client class to generate configuration class based on cachet's component list.

* Updating the python version in codacy to reduce false positives

* Moving some of the cachet operations to the client class to clean up the configuration class and making better constants

* Refactoring status to have proper classes and adding more tests. Refactoring the requests tests to use requests-mock.

* Removing unused imports from test_scheduler

* Adding more tests and the ability to run the client from command line

* Updating README and client arg parsing

* Fixing broken unit tests
2020-01-18 13:55:07 -08:00
mtakaki
a13a42d51c Multithreading #66 (#76)
* feat(multihreading): each url has it's own thread

* Fixing broken unit tests

* Improving readability when there are multiple URLs registerd and creating new action to upload metrics

* Improving error message when there's no file found

* Bumping the version

Co-authored-by: Alex Berenshtein <aberenshtein@yotpo.com>
2020-01-05 10:25:06 -08:00
Mitsuo Takaki
9a73063a6f Adding a troubleshooting section 2019-10-30 08:03:43 -07:00
Mitsuo Takaki
e132f8660b #72 - Adding the ability to control incident status 2019-10-25 08:10:12 -07:00
Mitsuo Takaki
cb6f405e82 Updating the instructions on how to run it 2019-10-24 07:35:51 -07:00
mazhead
3af53ce9b6 Add client header option to requests (#61)
* Add header option

* Add header option

* Add unit test for headers

* Add client header

* Remove environ for HEADER

environ does not support dictionaries, so HEADER can't be passed.
2019-03-31 01:18:48 -07:00
Patrick Fruh
f1e69bf39b Fixed metric latency unit and logging (#49)
* move latency_unit into cachet dictionary

* log actual metric latency_unit

* also update config in readme

* also update config description in readme
2019-02-24 21:59:02 -08:00
Mitsuo Takaki
fbc87b7846 Updating the build badge 2019-02-22 02:19:09 -08:00
mtakaki
10e0141454 Upgrading to python3 (#60)
* Migrating to python 3.7.2, but docker image is not working properly.

Need to continue investigating why it's not properly running.

* Trying to fix the build and fixing logging in the scheduler initialization.

* Trying to fix the build

* Collecting test results

* Fixing the dockerfile

* Updating the development dependencies
2019-02-22 02:17:13 -08:00
mtakaki
57fc100d49 Merge branch 'master' into allowed_fails 2018-03-19 23:38:52 -07:00
Mitsuo Takaki
1899e95642 #38 - Adding support to milliseconds and different units for latency and changing http status to a range, instead of a single value. 2018-03-18 16:58:02 -07:00
Jacek Szubert
0b1e83eae1 Create incident/update component status only after specified amount of failed connection trials 2017-03-12 19:51:25 +11:00
Jacek Szubert
f7381aa2bc Added configuration for incident visibility 2017-03-03 16:26:58 +11:00
Mitsuo Takaki
cfd0ddcb2b Removing specific docker tag from the docker example
Signed-off-by: Mitsuo Takaki <mitsuotakaki@gmail.com>
2017-02-11 14:27:44 -08:00
Mitsuo Takaki
0ed87469ce Bumping the version to release 0.3 2017-02-11 12:26:22 -08:00
Mitsuo Takaki
e4bd02c44f Fixing sample configuration with the actions as a list. 2017-02-11 01:04:42 -08:00
Mitsuo Takaki
e8d4b88c79 Changing the actions to enum list so it's more flexible. 2017-02-11 01:02:27 -08:00
Jacek Szubert
740f726b48 Make update status optional 2017-02-10 14:50:07 +11:00
Gardner Bickford
96346926cd Updating README to use https url instead of git url. Removing trailing slash from documentation to address issue #18 2016-10-27 11:00:28 -05:00
Making GitHub Delicious
fe0325dc9e add waffle.io badge 2016-06-29 23:38:27 -06:00
Mitsuo Takaki
9c8c89c1dd Improving docker documentation to be simpler than overriding the command. 2016-05-13 17:49:15 -07:00
Mitsuo Takaki
9051f2d9b3 Updating the badges to link to docker and adding pypi badge for latest release 2016-05-13 01:19:54 -07:00
Mitsuo Takaki
8fce82b721 Fixing Dockerfile to be more flexible (using CMD instead of ENTRYPOINT) and adding docker badges. 2016-05-04 20:11:30 -07:00
Mitsuo Takaki
a91a1ad0ea Adding Codacy code quality score. 2016-05-02 23:39:38 -07:00
Mitsuo Takaki
2a385c93b6 Adding reference to PyPI 2016-05-02 23:14:29 -07:00
Mitsuo Takaki
bcc2e2cf19 Moving the config to its own folder so it works better with docker, when mounting the local folder. Adding more documentation about running in docker. 2016-05-02 23:07:32 -07:00
Mitsuo Takaki
072aed1024 Adding better documentation and more tests, but still missing tests for Scheduler 2016-05-01 00:41:33 -07:00
Mitsuo Takaki
c655a26deb Adding codeship's build status and coverall's metric 2016-04-29 16:01:03 -07:00
Mitsuo Takaki
2f3106da60 Creating agent that schedules the monitoring task. 2016-04-28 01:51:59 -07:00