Maciej "Iwan" Iwanowski
|
185412fa1a
|
Always using interface and improving tests
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
|
2020-04-23 22:53:41 +02:00 |
|
Maciej "Iwan" Iwanowski
|
2af8b4215a
|
Using interface instead of unexported struct as returned type
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
|
2020-04-23 20:52:07 +02:00 |
|
iwankgb
|
854445c010
|
Carefully fixing style (#2509)
* Use golangci-lint to add lint presubmit test, and fix linter errors
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
|
2020-04-22 16:26:36 -07:00 |
|
iwankgb
|
0dd4098374
|
golanci-lint based cleanup (#2503)
* Cleanups based on linter
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
|
2020-04-20 10:53:19 -07:00 |
|
Davanum Srinivas
|
94508e8a2f
|
Switch to klog v2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
|
2020-04-09 22:54:37 -04:00 |
|
Davanum Srinivas
|
4da6d809be
|
Move from glog to klog
Change-Id: Ic92f57c2d7f268d8d985797974883c1a537d6993
|
2018-11-08 18:06:28 -05:00 |
|
Tim St. Clair
|
0d4e44fa34
|
Don't create a EventStore if the event limit is set to 0
|
2016-04-25 16:50:17 -07:00 |
|
Lei Xue
|
dbbe38dfed
|
re-order the import package
|
2015-11-30 16:43:22 +08:00 |
|
Jimmi Dyson
|
1f679cee70
|
Clean up unused struct fields (via structcheck linter)
|
2015-11-27 22:06:16 +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 |
|