spark-dash
Pypi
usage
- Run streamlit
$ run-dashboard
Local URL: http://localhost:8501
Network URL: http://172.31.41.91:8501
- Explore dashboard
-
main dashboard
a. 현재 spark 관련 container의 CPU 및 MEM 사용량을 보여줍니다.
b. 자동 Scale in/out까지 시간 진행률(60초 중에 얼마나 왔는지)
c. 수동 Scale in/out 버튼
-
Scale log dashboard
a. 데이터를 나타낼 log file 선택
b. 선택된 log file을 DataFrame으로 표출
c. 선택된 log file에서 시간별 Worker의 수를 line plot으로 표출
d. 선택된 log file에서 Scale In/Out이 일어난 횟수를 bar plot으로 표출
-
Usage log dashboard
a. 데이터를 나타낼 log file 선택
b. 선택된 log file을 DataFrame으로 표출
c. 선택된 log file에서 CPU 사용량을 line plot으로 표출
d. 선택된 log file에서 현재 CPU 사용상태를 bar plot으로 표출
-
Configure
$ cat config.ini
[limit]
max_cpu_use=1 # 10%
min_cpu_use=1 # 10%
[scale]
min_cnt=1
max_cnt=10
scale in/out이 일어나는 cpu %와 최대/최소 worker의 갯수를
config.ini파일에 지정
dependency
Release files for spark-dash 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spark_dash-0.3.3.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spark_dash-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / spark_dash-0.3.3.tar.gz
| Download URL | spark_dash-0.3.3.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f7a8f5c19089bf2c4e04a1825459a96ea23daa3172b14f882583488dee010ee
|
|
BLAKE2b-256 checksum How to use checksums |
dfc337e5dd63d631b618462fd405c4efad3c646471e63bf83444111e64c79434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.19.3 CPython/3.11.9 Linux/5.15.167.4-microsoft-standard-WSL2
|
Release files / spark_dash-0.3.3-py3-none-any.whl
| Download URL | spark_dash-0.3.3-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52dc31094533ef5bcb26a6170a39251c3c54b212fe8bb694b6d27f4794287c4a
|
|
BLAKE2b-256 checksum How to use checksums |
6767c531407463b27890482b48daa10519d12b552df74ff893a0a382bf2dd8b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.19.3 CPython/3.11.9 Linux/5.15.167.4-microsoft-standard-WSL2
|