Mitsuo Takaki
9e5d42f8b8
Fixing broken build, due to updates to the libraries
2019-10-24 21:31:04 -07:00
Mitsuo Takaki
cb6f405e82
Updating the instructions on how to run it
2019-10-24 07:35:51 -07:00
mazhead
a296cfc1aa
Dont update if same ( #64 )
...
* Return status as integer
During the first start the if statement on line 237 does not get evaluated correctly and will not "return"
Therefore by any restart the first evaluation triggers a update even if the original status is same.
* Prevent unecessery push
By a case where allowed_fails > 0 and one failure is received the url monitor pushes a unnecessary update as the component state was not changed, resulting in a notification of "component is operational", but in fact the component was still operation before the update.
This creates another api call (get) towards the cachet, but it is a better trade-off to prevent unnecessary notifications for end-users.
2019-04-04 08:44:34 -07:00
mazhead
9569818bb0
Return status as integer ( #63 )
...
During the first start the if statement on line 237 does not get evaluated correctly and will not "return"
Therefore by any restart the first evaluation triggers a update even if the original status is same.
2019-04-04 08:39:25 -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
Mitsuo Takaki
eae51967c4
Fixing the broken test
2019-02-24 22:01:54 -08: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
393aaa0b30
Adding coverage to development dependencies
2019-02-23 21:52:05 -08:00
Mitsuo Takaki
950ef86f33
Trying to integrate codacy and coveralls back into the build, now using circleci
2019-02-23 21:46:16 -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
Mitsuo Takaki
ea4b8ccd4e
Trying to fix build
2019-02-03 23:34:54 -08:00
Mitsuo Takaki
200b255e6b
Trying to fix build
2019-02-03 23:31:38 -08:00
Mitsuo Takaki
300ac29a24
Trying to fix build
2019-02-03 23:27:09 -08:00
Mitsuo Takaki
609cc57fd9
Trying to fix circleci build
2019-02-03 23:21:30 -08:00
Mitsuo Takaki
36f4ef6cee
Trying to fix circleci build
2019-02-03 23:19:20 -08:00
Mitsuo Takaki
8fc0f7c77f
Trying to fix circleci build
2019-02-03 23:12:41 -08:00
Mitsuo Takaki
54cfda3177
Upgrading dependencies to fix vulnerabilities
2019-01-19 13:55:05 -08:00
Mitsuo Takaki
a9035362b9
Upgrading dependencies to fix vulnerabilities
2019-01-19 13:38:57 -08:00
mtakaki
2c354b0960
Merge pull request #36 from jacekszubert/dont_push_status
...
Update component status only when it has changed
2018-09-07 00:32:42 -07:00
Mitsuo Takaki
5b6c34741a
Fixing circleci configuration
2018-06-27 23:00:05 -07:00
Mitsuo Takaki
29eb92790f
Setting up circle-ci, as codeship is currently not supporting builds from forks
2018-06-11 23:31:13 -07:00
mtakaki
1f1bab6398
Merge branch 'master' into dont_push_status
2018-03-20 00:20:33 -07:00
mtakaki
79bb5c5c3a
Merge pull request #33 from jacekszubert/allowed_fails
...
Create incident/update component status only after specified amount
2018-03-19 23:41:49 -07:00
mtakaki
57fc100d49
Merge branch 'master' into allowed_fails
2018-03-19 23:38:52 -07:00
Mitsuo Takaki
5cfef6392e
Adding setup.cfg for pypi
2018-03-18 22:47:44 -07:00
Mitsuo Takaki
68a5609abc
Bumping up the version to 0.4
2018-03-18 22:36:58 -07:00
mtakaki
028488b503
Merge pull request #44 from mtakaki/mtakaki_manual_testing
...
Running some manual tests and updating Dockerfile
2018-03-18 22:21:43 -07:00
Mitsuo Takaki
4c336ec714
Running some manual tests and updating Dockerfile
2018-03-18 22:17:29 -07:00
mtakaki
2adb5ca095
Merge pull request #43 from mtakaki/mtakaki_38_latency_ms
...
#38 - Adding support to milliseconds and different units for latency …
2018-03-18 17:54:18 -07:00
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
726f5377b1
Merge pull request #42 from mtakaki/mtakaki_fix_build
...
Fixing the build and upgrading pytest and pytest-cov to latest
2018-03-18 14:45:51 -07:00
Mitsuo Takaki
9e66736f48
Fixing the build and upgrading pytest and pytest-cov to latest
2018-03-18 14:43:41 -07:00
mtakaki
5e5e74938b
Merge branch 'master' into dont_push_status
2017-05-30 22:28:37 -07:00
mtakaki
350d125d26
Merge branch 'master' into allowed_fails
2017-03-12 11:57:32 -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
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
mtakaki
284ef97168
Merge pull request #35 from jacekszubert/better_url_handling
...
Better url scheme handling
2017-03-11 16:54:37 -08:00
Jacek Szubert
22d032308f
Better url scheme handling
2017-03-11 18:58:11 +11:00
Jacek Szubert
da7568300e
Update component status only when it has changed
2017-03-09 18:25:45 +11:00
Jacek Szubert
fd0cca2060
Push default metric value for failed connection trials
2017-03-09 13:35:05 +11:00
mtakaki
ffa141d114
Merge pull request #32 from jacekszubert/default_schema
...
Use http as a default schema
2017-03-08 00:43:23 -08:00
Jacek Szubert
ab9957761c
Use http as a default schema
2017-03-08 16:55:55 +11:00
mtakaki
6c1b95961e
Merge pull request #31 from jacekszubert/remove_unused_functs
...
Remove unused functions
2017-03-06 01:14:02 -08:00
mtakaki
c36e42ea11
Merge branch 'master' into remove_unused_functs
2017-03-06 01:11:04 -08:00
mtakaki
19e6811900
Merge pull request #30 from jacekszubert/private_incidents
...
Added configuration for incident visibility
2017-03-06 01:09:53 -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
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