Skip to content
This repository was archived by the owner on Nov 21, 2022. It is now read-only.

Commit 415fd77

Browse files
arcolifeArchit Sharma
authored and
Archit Sharma
committed
README: add TOC
1 parent 51d27ee commit 415fd77

File tree

2 files changed

+54
-20
lines changed

2 files changed

+54
-20
lines changed

README.md

Lines changed: 54 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
1-
Sarjitsu
2-
========
3-
4-
Sarjitsu ingests a SAR (System Activity Reporter) binary data file of any
5-
format and produces dynamic visualizations based on Grafana. The name is inspired from 'SAR + jistsu',
6-
so to speak, unleashing the power of SAR data.
1+
Table of Contents
2+
=================
3+
4+
- [Sarjitsu](#sarjitsu)
5+
- [Installation](#installation)
6+
- [Quick Install](#for-the-impatient)
7+
- [Customized Installation](#for-the-ones-whove-found-inner-peace)
8+
- [Additional Notes](#additional-note)
9+
- [App Flow](#app-flow)
10+
- [Architecture](#architecture)
11+
- [Control Flow](#control-flow)
12+
- [FAQs](#faqs)
13+
- [Contributions](#contributions)
14+
- [TODOs](#todos)
15+
- [Issue Tracker](#issue-tracker)
16+
- [License](#license)
17+
18+
# Sarjitsu
19+
20+
Sarjitsu ingests a SAR (System Activity Reporter) binary data file (located under `/var/log/sa/`) ..and produces dynamic visualizations based on Grafana. The name is inspired from 'SAR + jistsu', so to speak, unleashing the power of SAR data.
721

822
The app is split in 5 container instances as follows:
923

@@ -21,20 +35,15 @@ The app is split in 5 container instances as follows:
2135

2236
Application flow is explained in detail in the section `APP FLOW` below.
2337

24-
## INSTALLATION
38+
# INSTALLATION
2539

2640
- Step 0: Make sure you have [docker](https://www.docker.com/) installed.
2741

2842
### For the impatient:
2943

3044
- single step setup script `$ ./setup.sh`
3145

32-
WARNING: This script would remove all previously running instances of sarjitsu.
33-
34-
Be sure to run `# iptables -F` from the host, in case it's not accessible outside.
35-
Otherwise check your firewall settings.
36-
37-
- To stop all running container instances and cleanup sarjitsu, run `$ ./cleanup_sarjitsu`
46+
WARNING: This script would remove all previously running instances of sarjitsu.
3847

3948
### For the ones who've found inner peace:
4049

@@ -74,10 +83,14 @@ Installing by customizing the modularized components, per say, having their own
7483
$ ./setup.sh
7584
```
7685

77-
TBD: Add service discovery
86+
WARNING: This script would remove all previously running instances of sarjitsu.
7887

7988
### Additional Note
8089

90+
Be sure to run `# iptables -F` from the host, in case it's not accessible outside. Otherwise check your firewall settings.
91+
92+
- To stop all running container instances and cleanup sarjitsu, run `$ ./cleanup_sarjitsu`
93+
8194
Below mentioned ports will be used for port mapping from container to host, and could be configured in `conf/sarjitsu.conf`. Default bindings are:
8295

8396
```sh
@@ -107,9 +120,7 @@ Also be sure that if you have custom HOST(s) configured, they should match the f
107120
- Grafana > 2.5 and <= 3.0 (containerized version: 3.0.1-1)
108121
- Postgres == 9.5 (containerized version: 9.5 (dockerhub latest))
109122

110-
TBD: an update to sarjitsu soon, for nested docs. Refer to [PR #4694 of grafana](https://github.com/grafana/grafana/pull/4694) for more.
111-
112-
## APP FLOW
123+
# APP FLOW
113124

114125
### Architecture
115126

@@ -131,9 +142,13 @@ Sarjitsu's frontend service segragates data into various panels, based on params
131142

132143
Description of those parameters could be obtained in detail by running the command `$ man sar` on a linux terminal. Or you could read about them [here on the official man page for sar command](http://linux.die.net/man/1/sar)
133144

134-
## FAQs
145+
# FAQs
146+
147+
#### Which sysstat versions are supported?
148+
149+
Files generated in RHEL 5 OS (old enough) ..upto the ones generated by the latest sysstat version.
135150

136-
- How is it unique compared to other existing solutions?
151+
#### How is it unique compared to other existing solutions?
137152

138153
What sarjitsu does, is it gives you the unique ability throw in any version of
139154
`sa binary files` from your system's `/var/log/sa/` folder, to produce visualizations
@@ -148,7 +163,26 @@ Description of those parameters could be obtained in detail by running the comma
148163

149164
It is not tied to a specific machine, but is an independent solution, as a web app.
150165

151-
- Is it portable/scalable ?
166+
#### Is it portable/scalable ?
152167

153168
Sarjitsu is scalable since it keeps the datasource, frontend and backend separately
154169
and is based on completely scalable and portable solution, i.e., Elasticsearch, Postgres, Grafana and NodeJs ..in their respective containerized environments using Docker.
170+
171+
# Contributions
172+
173+
### TODOs
174+
175+
- Add service discovery
176+
- An update to sarjitsu, for nested docs. Refer to [PR #4694 of grafana](https://github.com/grafana/grafana/pull/4694) for more.
177+
178+
For more, refer to `docs/TODO.md`
179+
180+
If you think there's a bug in sarjitsu, you're welcome to open an issue here on github and could submit PRs for the same. Any refactoring suggestions/PRs to the app are also welcome.
181+
182+
### Issue Tracker
183+
184+
GitHub Issues and Pull Requests managed via [Waffle.io](https://waffle.io/arcolife/sarjitsu)
185+
186+
### LICENSE
187+
188+
Refer to GPL v3 `LICENSE` file included in the repo, for reference.

TODO.md renamed to docs/TODO.md

File renamed without changes.

0 commit comments

Comments
 (0)