Commit Graph

15 Commits

Author SHA1 Message Date
Rohit Jnagal
06c9dcd3bb Fix handling of time ranges in timed store.
The current logic assumes that entries are added to the store in
monotonically increasing order for time. This is not true when
we add creation events for existing containers.
2015-05-07 16:44:22 +00:00
Victor Marmol
28dfea761c Add events StoragePolicy. 2015-05-01 10:42:17 -07:00
Victor Marmol
1c25746cf0 Limit events to 100,000 of each type.
This gives us a bit over one event per second for one day. Assuming 250
bytes per event, the max memory usage is ~24MiB per event type.
2015-05-01 00:03:41 -07:00
Victor Marmol
734df4d18c Place an absolute limit on elements in TimedStore. 2015-05-01 00:03:41 -07:00
Victor Marmol
62d670d386 Limit the number of events stored to 24h.
There is a TODO to make this configurable.
2015-04-25 18:04:52 -07:00
Victor Marmol
f0ea740328 Fix subcontainer queries in subcontainers.
Queries for root were not being correctly diagnosed.
2015-04-21 08:22:47 -07:00
Victor Marmol
11462d80bc Lowering log levels.
Reduce common logging using Kubernetes logging standards.
2015-04-13 15:05:41 -07:00
Katie Knister
ee4bdc2698 Improvements to events integration test 2015-04-10 13:33:22 -07:00
Rohit Jnagal
bfdabe84ff Readability changes for events.
Ordered structs around a bit and updated comments.
2015-04-06 06:22:31 +00:00
Victor Marmol
c0121e15ce Default MaxNumEvents to 10 2015-04-01 10:04:09 -07:00
Victor Marmol
4cb69036f8 Move Event to info since it is a public API object. 2015-04-01 09:17:43 -07:00
Katie Knister
3c7e67991d Created a way to remove unused channels from an eventHandler's watchers list 2015-03-25 16:36:48 -07:00
Katie Knister
6e14267c3c Added a basic api interface for events 2015-02-26 14:14:25 -08:00
Katie Knister
9c68c949e2 added locks to make events library threadsafe 2015-02-19 14:37:33 -08:00
Katie Knister
97a6836f89 Created an events handler library 2015-02-18 11:40:15 -08:00