Commit Graph

14 Commits

Author SHA1 Message Date
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
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
Jacek Szubert
0b1e83eae1 Create incident/update component status only after specified amount of failed connection trials 2017-03-12 19:51:25 +11:00
Mitsuo Takaki
cb5137c526 Fixing default list parameter 2017-02-11 01:15:09 -08:00
Mitsuo Takaki
3830063ba4 Renaming Agent classes to decorators to comply with the design pattern 2017-02-11 01:09:12 -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
Mitsuo Takaki
ca358eab2b Verifying component status when we initialize to set the initial state. Tests are failing, but checking it in nonetheless. 2016-05-18 09:34:58 -07:00
Mitsuo Takaki
f563526a2a Creating push_metrics() method to start pushing the URL latency, if it the metric id is configured. 2016-05-03 02:28:58 -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
f254bddd0f Fixing log format and extracting main logic to a separate class. 2016-04-30 13:39:02 -07:00
Mitsuo Takaki
c5520450ba Adding new expectation (Regex) and creating unit tests. 2016-04-29 08:48:53 -07:00
Mitsuo Takaki
2f3106da60 Creating agent that schedules the monitoring task. 2016-04-28 01:51:59 -07:00
Mitsuo Takaki
4c8cbc6d67 Changing approach to update component status, but still missing push metrics. 2016-04-28 01:10:19 -07:00