| Index: infra_libs/event_mon/config.py
|
| diff --git a/infra_libs/event_mon/config.py b/infra_libs/event_mon/config.py
|
| index ccdd6a445bfe6d3c7690d47a922e5ed9f0fd13fd..8dc7d9f004a7f9849582a6d9b85eed0cb1371a49 100644
|
| --- a/infra_libs/event_mon/config.py
|
| +++ b/infra_libs/event_mon/config.py
|
| @@ -165,6 +165,15 @@ def setup_monitoring(run_type='dry',
|
| dry_run=dry_run)
|
|
|
|
|
| +def get_default_event():
|
| + """Returns a copy of the default event."""
|
| +
|
| + # We return a copy here to tell people not to modify the event directly.
|
| + ret = ChromeInfraEvent()
|
| + ret.CopyFrom(_cache['default_event'])
|
| + return ret
|
| +
|
| +
|
| def set_default_event(event):
|
| """Change the default ChromeInfraEvent used to compute all events.
|
|
|
|
|