Added readme for tables in Sloop (#108)

Added readme for tables in Sloop
This commit is contained in:
sana-jawad 2020-02-20 12:42:41 -08:00 коммит произвёл GitHub
Родитель 7d94723dfa
Коммит c7ebc8596f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 32 добавлений и 0 удалений

Двоичные данные
other/data_distribution.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 25 KiB

Просмотреть файл

@ -0,0 +1,32 @@
# Tables in Sloop
<img src="https://github.com/salesforce/sloop/raw/master/other/sloop_logo_color_small_notext.png">
----
There are four tables in Sloop to store data:
1. Watch table
1. Resources summary table
1. Event count table
1. Watch activity table
----
Details:
1. Watch table:
It has the raw kube watch data. It is the source of truth for the whole data.
1. Resource Summary: It stores the resources information including name, creation date, deployment details and last update time.
1. Event table: It stores the event details that took place for a resource. The information includes event type, message and time stamp.
1. Watch Activity table: It stores any watch activity received. It has the information that was there a change from the last known state or not.
## Data Distribution
The data distribution in terms of size among the tables is shown below. As expected, watch table occupies the most space as it contains the raw data. Rest of the tables are derived from it.
![DataDistribution](../../../../other/data_distribution.png?raw=true "Data Distribution among Sloop tables")