|
1 |
| - |
2 |
| -## Introduction |
3 |
| - |
4 |
| -Tencent Server side Web(TSW) is a Node.js infrastructure which is designed for improving the efficiency of locating problems, providing multiple functions for front-end developers: online dyeing/packet capture, holographic logging and abnormity discovery. TSW, focusing on the operation and maintenance of businesses, is suitable for web and mobile applications based on http or websocket protocols. It can be readily integrated with existing systems. |
5 |
| - |
6 |
| - |
7 |
| - |
8 |
| -#### Online dyeing/packet capture |
9 |
| - |
10 |
| -TSW supports packet capture based on user granularity. |
11 |
| - |
12 |
| -- Dye labelled user by users' feature IDs |
13 |
| -- Collect packets within corresponding requests' lifecycles for dyed users. |
14 |
| -- Provid functions to view and download captured packets. |
15 |
| -- Support Fiddler(windows), Charles(mac) and HAR format. |
16 |
| - |
17 |
| -#### Holographic logging |
18 |
| - |
19 |
| -TSW provides powerful logging abilities for developers to locate problems quickly. |
20 |
| - |
21 |
| -- Record packets within requests' lifecycles holographically in the form of log flow. |
22 |
| -- Aggregate log flows based on user granularity. |
23 |
| -- View log flows by user features. Help analyzing and solving problems efficiently. |
24 |
| - |
25 |
| -#### Abnormity discovery |
26 |
| - |
27 |
| -- Monitor preset indicators in real time |
28 |
| -- Push alarms for code exceptions |
29 |
| - |
30 |
| -## Requirement |
31 |
| -- OS: Windows/Mac/Linux |
32 |
| -- Node.js: 8.0.0+ |
33 |
| - |
34 |
| -## Getting started |
35 |
| - |
36 |
| -- Before installing, [download and install Node.js](https://nodejs.org/en/download/). Node.js 8.0.0 or higher is required. |
37 |
| - |
38 |
| -- Clone the repo: `git clone https://github.com/Tencent/TSW.git` |
39 |
| - |
40 |
| -- Enter the TSW: `cd TSW` |
41 |
| - |
42 |
| -- NPM : `npm install --no-optional` |
43 |
| - |
44 |
| -- Config ``TSW/conf/config.js`` |
45 |
| - ```js |
46 |
| - this.httpAddress = '0.0.0.0' |
47 |
| - |
48 |
| - this.httpPort = 80; |
49 |
| - ``` |
50 |
| - |
51 |
| -- Run `node index.js` to start Node.js server |
52 |
| - |
53 |
| -- Open `http://127.0.0.1/` in your browser. |
54 |
| - |
55 |
| - |
56 |
| -## Documentation |
57 |
| - |
58 |
| -- More Tutorials [https://tswjs.org/guide/index](https://tswjs.org/guide/index) |
59 |
| - |
60 |
| -- Manual [https://tswjs.org/doc/api/index](https://tswjs.org/doc/api/index) |
61 |
| - |
62 |
| -## Supporting facilities |
63 |
| - |
64 |
| -- TSW Open Platform [https://tswjs.org](https://tswjs.org) |
65 |
| - |
66 |
| -## Contributing |
67 |
| - |
68 |
| -Find a bug or have a feature request? Please read the [issues](https://github.com/Tencent/TSW/issues) guidelines and search for existing and closed issues. |
69 |
| - |
70 |
| -If your problem or idea is not addressed yet, please read through our [contributing guidelines](./CONTRIBUTING.md) and open a new [issues](https://github.com/Tencent/TSW/issues). |
71 |
| - |
72 |
| -## License |
73 |
| - |
74 |
| -Tencent Server Web is released under [MIT license](./LICENSE). |
75 |
| - |
76 |
| -## Contacts |
77 |
| - |
78 |
| -tsw@tencent.com |
| 1 | + |
| 2 | +## Introduction |
| 3 | + |
| 4 | +Tencent Server side Web(TSW) is a Node.js infrastructure which is designed for improving the efficiency of locating problems, providing multiple functions for front-end developers: online dyeing/packet capture, holographic logging and abnormity discovery. TSW, focusing on the operation and maintenance of businesses, is suitable for web and mobile applications based on http or websocket protocols. It can be readily integrated with existing systems. |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | +#### Online dyeing/packet capture |
| 9 | + |
| 10 | +TSW supports packet capture based on user granularity. |
| 11 | + |
| 12 | +- Dye labelled user by users' feature IDs |
| 13 | +- Collect packets within corresponding requests' lifecycles for dyed users. |
| 14 | +- Provid functions to view and download captured packets. |
| 15 | +- Support Fiddler(windows), Charles(mac) and HAR format. |
| 16 | + |
| 17 | +#### Holographic logging |
| 18 | + |
| 19 | +TSW provides powerful logging abilities for developers to locate problems quickly. |
| 20 | + |
| 21 | +- Record packets within requests' lifecycles holographically in the form of log flow. |
| 22 | +- Aggregate log flows based on user granularity. |
| 23 | +- View log flows by user features. Help analyzing and solving problems efficiently. |
| 24 | + |
| 25 | +#### Abnormity discovery |
| 26 | + |
| 27 | +- Monitor preset indicators in real time |
| 28 | +- Push alarms for code exceptions |
| 29 | + |
| 30 | +## Requirement |
| 31 | +- OS: Windows/Mac/Linux |
| 32 | +- Node.js: 8.0.0+ |
| 33 | + |
| 34 | +## Getting started |
| 35 | + |
| 36 | +- Before installing, [download and install Node.js](https://nodejs.org/en/download/). Node.js 8.0.0 or higher is required. |
| 37 | + |
| 38 | +- Clone the repo: `git clone https://github.com/Tencent/TSW.git` |
| 39 | + |
| 40 | +- Enter the TSW: `cd TSW` |
| 41 | + |
| 42 | +- NPM : `npm install --no-optional` |
| 43 | + |
| 44 | +- Config ``TSW/conf/config.js`` |
| 45 | + ```js |
| 46 | + this.httpAddress = '0.0.0.0' |
| 47 | + |
| 48 | + this.httpPort = 80; |
| 49 | + ``` |
| 50 | + |
| 51 | +- Run `node index.js` to start Node.js server |
| 52 | + |
| 53 | +- Open `http://127.0.0.1/` in your browser. |
| 54 | + |
| 55 | + |
| 56 | +## Documentation |
| 57 | + |
| 58 | +- More Tutorials [https://tswjs.org/guide/index](https://tswjs.org/guide/index) |
| 59 | + |
| 60 | +- Manual [https://tswjs.org/doc/api/index](https://tswjs.org/doc/api/index) |
| 61 | + |
| 62 | +## Supporting facilities |
| 63 | + |
| 64 | +- TSW Open Platform [https://tswjs.org](https://tswjs.org) |
| 65 | + |
| 66 | +## Contributing |
| 67 | + |
| 68 | +Find a bug or have a feature request? Please read the [issues](https://github.com/Tencent/TSW/issues) guidelines and search for existing and closed issues. |
| 69 | + |
| 70 | +If your problem or idea is not addressed yet, please read through our [contributing guidelines](./CONTRIBUTING.md) and open a new [issues](https://github.com/Tencent/TSW/issues). |
| 71 | + |
| 72 | +## License |
| 73 | + |
| 74 | +Tencent Server Web is released under [MIT license](./LICENSE). |
| 75 | + |
| 76 | +## Contacts |
| 77 | + |
| 78 | +tsw@tencent.com |
0 commit comments