|
1 | | -## LambdaTest |
| 1 | +## LambdaLogs |
2 | 2 |
|
3 | 3 | [](https://www.lambdatest.com/) |
4 | 4 | <!-- <img src="https://www.lambdatest.com/resources/images/guideline/ltlambdabrand.svg" width="600" height="300"> --> |
5 | 5 |
|
6 | | -### Company information |
| 6 | +### About LambdaTest |
7 | 7 | [LambdaTest](https://www.lambdatest.com/) is a continuous quality testing cloud platform that helps developers and testers ship code faster. Over 2 Million users across 130 countries and leading enterprises rely on LambdaTest for their testing needs. LambdaTest platform provides secure, scalable, and insightful test orchestration for customers at different points in their DevOps (CI/CD) lifecycle |
8 | 8 |
|
9 | | -### Why participate in an Octernship with LambdaTest |
| 9 | +# About |
| 10 | +LambdaLogs is a powerful network log visualization tool designed to help businesses identify potential issues with their websites and endpoints quickly and easily. By scraping site data and storing network logs in a database, LambdaLogs provides an efficient way to perform daily audits and identify failing endpoints before they cause problems. |
10 | 11 |
|
11 | | -LambdaTest is building a seamless omnichannel digital experience testing platform for modern businesses across industries. Think of us as the test execution and orchestration backbone for leading global digital businesses. We work closely with the larger open-source and testing community through a lot of our initiatives. |
| 12 | +With its intuitive front-end interface, LambdaLogs enables users to easily visualize network logs and quickly identify areas for improvement. Whether you're a small business owner or a large enterprise, LambdaLogs provides the insights and data you need to keep your website running smoothly and efficiently. |
12 | 13 |
|
13 | | -One of LambdaTest’s major product components is our visualization offering. In this role, you will get a chance to work as a full-stack engineer for this offering. You will specifically be working on graphs and logs that are crucial for development teams to understand various aspects of their test execution. You’ll work closely with our engineering and product teams and get to do both the engineering and documentation parts of the process. Your work will be a game changer for more than 2mn users, across 10,000+ companies and 130+ countries. |
| 14 | +So if you're looking for a powerful tool to help you optimize your website and improve your business operations, look no further than LambdaLogs. |
14 | 15 |
|
15 | | -### Octernship Role Description |
16 | | -<!--- Use this section to describe the role in as much detail as necessary. Please include the GitHub Classroom assignment submission date, length of the Octernship, and the monthly stipend ---> |
17 | | -We're looking for a full-stack developer to join our engineering team. |
| 16 | +## Logs Page |
| 17 | +<img alt="LambdaLogs Logs Page" src="https://user-images.githubusercontent.com/68425016/227501453-e64d5d4d-b31a-4724-a24f-5715069b16e9.png" style="margin-left:10px; margin-bottom:10px;" width="100%" align="center"/> |
| 18 | +<br /><br /> |
18 | 19 |
|
19 | | -| Octernship info | Timelines and Stipend | |
20 | | -| ------------- | ------------- | |
21 | | -| Assignment Deadline | 8 April 2023 | |
22 | | -| Octernship Duration | 3 Months | |
23 | | -| Monthly Stipend | $500 USD | |
| 20 | +## Status Code Visualization Page (Line Chart) |
| 21 | +<img alt="LambdaLogs Status Logs Page" src="https://user-images.githubusercontent.com/68425016/227501830-d4dc21f7-4717-40b4-9264-311696e5b55f.png" style="margin-left:10px; margin-bottom:10px;" width="100%" align="center"/> |
| 22 | +<br /><br /> |
24 | 23 |
|
25 | | -### Recommended qualifications |
26 | | -<!--- Use this section to describe what skills a student might need to complete the problem statement on GitHub Classroom ---> |
27 | | -- Experience with Git & GitHub |
28 | | -- Writing modern JavaScript/Node.js/Golang/Python |
29 | | -- Passion for open source & web standards |
| 24 | +## Status Code Visualization Page (Pie Chart) |
| 25 | +<img alt="LambdaLogs Status PieChart" src="https://user-images.githubusercontent.com/68425016/227502438-f324a918-f10c-4af7-90dc-0a77f63f281e.png" style="margin-left:10px; margin-bottom:10px;" width="100%" align="center"/> |
| 26 | +<br /><br /> |
30 | 27 |
|
31 | | -### Eligibility |
32 | | -To participate, you must be: |
33 | | -* A [verified student](https://education.github.com/discount_requests/pack_application) on Global Campus |
34 | | -* 18 years or older |
35 | | -* Active contributor on GitHub (monthly) |
| 28 | +# Development Setup |
36 | 29 |
|
37 | | -# Assignment |
38 | | -## Test Logs Visualization with Graphs |
39 | | -As a company, I run ~2 Million Selenium test Network logs a day on cloud. Build an ability to graphically visualize the logs using a low end resource cloud architecture framework. This code should be able to package and run on self-hosted machines or on cloud with proxy settings and public APIs for subscribed customers. |
| 30 | +## Setup virtualenv |
| 31 | +```sh |
40 | 32 |
|
| 33 | + pip install virtualenv |
| 34 | + virtualenv venv |
| 35 | + |
| 36 | + # Activate For Linux |
| 37 | + source venv/bin/activate |
41 | 38 |
|
42 | | -### Task instructions |
| 39 | + # Activate For Windows |
| 40 | + ./venv/Scripts/activate |
43 | 41 |
|
44 | | -The following are the prerequisites for the task: |
45 | | -- Setup Selenium on your local machine |
46 | | -- Write the script for opening the URL (https://www.lambdatest.com/) |
47 | | -- Click on each header navigation items |
48 | | -- Store the network logs generated on the browser to your local machine. |
49 | | -- Repeat the process for more than 100 tests |
| 42 | + # install dependencies |
| 43 | + pip install -r server/requirements.txt |
| 44 | +``` |
50 | 45 |
|
51 | | -The following are the requirements for the task: |
52 | | -Use a lightweight graph library which can render a time series of 365 days on the x-axis and y-axis should be the following: |
53 | | -- Total count of logs |
54 | | -- Logs count/average stacked by log type (mime-type) |
55 | | -- Logs count/average stacked by log level (Status Codes) |
56 | | -- Logs should be able to filter on the UI by any available key-value. |
57 | | -- Logs should be searchable with a keyword using an API to fetch the results. |
| 46 | +## Setup Elastic-Search using docker |
| 47 | +```sh |
| 48 | + docker pull elasticsearch |
| 49 | + docker run -p 127.0.0.1:9200:9200 -p 127.0.0.1:9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.17.9 |
| 50 | +``` |
58 | 51 |
|
59 | | -You can use the recommended tech stack for developing this fullstack application: |
60 | | -- ElasticSearch or any text search engine. |
61 | | -- ReactJS |
62 | | -- Go lang (or) Python for server |
| 52 | +## Run Scrapper |
| 53 | +```sh |
| 54 | + cd server |
| 55 | + python scrapper/scrapper.py |
| 56 | +``` |
63 | 57 |
|
64 | | -### Task Expectations: |
65 | | -Students are expected to use the GitHub Flow when working on their task. This includes |
| 58 | +## Run Backend |
| 59 | +```sh |
| 60 | + cd server/app |
| 61 | + uvicorn main:app --reload |
| 62 | +``` |
| 63 | + |
| 64 | +## Run Frontend |
| 65 | +```sh |
| 66 | + cd frontend |
| 67 | + npm install |
| 68 | + npm start |
| 69 | +``` |
| 70 | + |
| 71 | +### Ready to go now |
| 72 | + |
| 73 | +Then go to `http://0.0.0.0:3000/` to see the frontend |
| 74 | + |
| 75 | +Add `http://0.0.0.0:8000/docs` for API Docs. |
66 | 76 |
|
67 | | -1. Making changes on the auto generated `feedback` branch to complete the task |
68 | | -2. Using the auto generated **Feedback Pull Request** for review and submission |
69 | | -3. Using GitHub Discussions to ask any relevant questions regarding the project |
70 | 77 |
|
71 | 78 | ### Resources |
72 | 79 | - Install [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) |
73 | 80 | - Sample GitHub [Issue](https://github.com/npm/cli/issues/6051) |
74 | 81 | - [ElasticSearch](https://www.elastic.co/guide/index.html) documentation |
75 | 82 | - [ReactJS](https://reactjs.org/docs/getting-started.html) documentation |
76 | | -- [Go lang](https://go.dev/doc/) or [Python](https://www.python.org/doc/) documentation |
77 | | -- [Gin](https://gin-gonic.com/docs/) or [FastAPI](https://fastapi.tiangolo.com/) documentation |
| 83 | +- [Python](https://www.python.org/doc/) documentation |
| 84 | +- [FastAPI](https://fastapi.tiangolo.com/) documentation |
0 commit comments