Commit Graph

26 Commits

Author SHA1 Message Date
Mitsuo Takaki
d3c14e6491 Addressing codacy issues 2018-03-18 17:44:01 -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
mtakaki
8ce89e452f Merge pull request #34 from jacekszubert/default_metric
Push default metric value for failed connection trials
2017-03-11 18:56:08 -08:00
Jacek Szubert
22d032308f Better url scheme handling 2017-03-11 18:58:11 +11:00
Jacek Szubert
fd0cca2060 Push default metric value for failed connection trials 2017-03-09 13:35:05 +11:00
Jacek Szubert
ab9957761c Use http as a default schema 2017-03-08 16:55:55 +11:00
mtakaki
c36e42ea11 Merge branch 'master' into remove_unused_functs 2017-03-06 01:11:04 -08:00
Jacek Szubert
cf43e568b1 Remove unused functions 2017-03-06 15:17:49 +11:00
Jacek Szubert
f7381aa2bc Added configuration for incident visibility 2017-03-03 16:26:58 +11: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
c59126fd0f Exposing the configuration to avoid the current parsing problems. #20 2017-01-20 00:58:55 -08:00
RAHUL GOEL
969a2b1580 Correction in Import statement of configuration.py
In current version of code status file was being imported as cachet_url_monitor.status while configuration.py and status.py being kept in same folder.
Hence replaced imported statement as import status as st.
2016-06-24 22:16:24 +05:30
Mitsuo Takaki
d63420ac01 Documenting better the code and small tweaks to the unit tests. 2016-05-20 02:23:39 -07:00
Mitsuo Takaki
a3a91edadc Adding support to overriding some of the configuration through environment variables. 2016-05-19 23:41:20 -07: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
0f53ff8678 Initial attempt at creating incidents when an URL becomes unhealthy. Missing to actually call it from the scheduler. #3 2016-05-16 01:31:53 -07:00
Mitsuo Takaki
6f70206603 Improving the validation to show all missing keys. 2016-05-03 23:37:36 -07:00
Mitsuo Takaki
d7bf54fa0a Validating the configuration file and improving the initial output with the expectations. 2016-05-03 22:41:48 -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
Mitsuo Takaki
37bec316ff Initial implementation but taking a different approach. 2016-04-27 21:45:24 -07:00