mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-05-12 06:16:04 +01: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