@coralogix/rum-cli 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ The Coralogix RUM CLI is a command-line interface tool that simplifies the proce
|
|
|
9
9
|
- [Coralogix Real User Monitoring Docs](https://coralogix.com/docs/real-user-monitoring/)
|
|
10
10
|
|
|
11
11
|
- [Coralogix SDK for Browsers](https://www.npmjs.com/package/@coralogix/browser)
|
|
12
|
+
|
|
12
13
|
# Installation
|
|
13
14
|
|
|
14
15
|
To install the Coralogix RUM CLI, follow these steps:
|
|
@@ -31,7 +32,7 @@ Here are some examples of how to use the Coralogix RUM CLI:
|
|
|
31
32
|
|
|
32
33
|
# Upload source maps
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
## Options
|
|
35
36
|
|
|
36
37
|
- `-k, --private-key <privateKey>`: Private key to authenticate with the Coralogix API.
|
|
37
38
|
- `-a, --application <application>`: Name of the application.
|
|
@@ -47,7 +48,9 @@ Here are some examples of how to use the Coralogix RUM CLI:
|
|
|
47
48
|
|
|
48
49
|
The source map folder size limit is 100MB in this project. Please ensure that it does not exceed this limit.
|
|
49
50
|
|
|
50
|
-
|
|
51
|
+
## Integration
|
|
52
|
+
|
|
53
|
+
### <u> CI Integration: </u>
|
|
51
54
|
|
|
52
55
|
1. Create a new file named `upload-source-maps.sh` and open it for editing.
|
|
53
56
|
|
|
@@ -72,7 +75,8 @@ COMMIT_HASH=$(git rev-parse HEAD)
|
|
|
72
75
|
coralogix-rum-cli upload-source-maps -k "$PRIVATE_KEY" -a "$APPLICATION" -v "$VERSION" -f "$SOURCE_MAPS_PATH" -e "$ENV" -c "$COMMIT_HASH" -n "$REPO_NAME" -o "$ORG_NAME"
|
|
73
76
|
```
|
|
74
77
|
|
|
75
|
-
###
|
|
78
|
+
### <u> Non-CI Integration: </u>
|
|
79
|
+
|
|
76
80
|
1. Open a terminal window,and run the following command:
|
|
77
81
|
```bash
|
|
78
82
|
coralogix-rum-cli upload-source-maps -k "$PRIVATE_KEY" -a "$APPLICATION" -v "$VERSION" -f "$SOURCE_MAPS_PATH" -e "$ENV" -c "$COMMIT_HASH" -n "$REPO_NAME" -o "$ORG_NAME"
|