mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
Creating push_metrics() method to start pushing the URL latency, if it the metric id is configured.
This commit is contained in:
@@ -18,7 +18,8 @@ class Agent(object):
|
||||
cachet server.
|
||||
"""
|
||||
self.configuration.evaluate()
|
||||
self.configuration.push_status_and_metrics()
|
||||
self.configuration.push_status()
|
||||
self.configuration.push_metrics()
|
||||
|
||||
def start(self):
|
||||
"""Sets up the schedule based on the configuration file."""
|
||||
|
||||
Reference in New Issue
Block a user