securenow 1.0.0 → 1.0.2
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 +15 -1
- package/package.json +5 -5
- package/tracing.js +1 -1
package/README.md
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
1
|
# securenow
|
|
2
|
-
npm package for securenow
|
|
2
|
+
[npm package for securenow] : (http://securenow.ai/)
|
|
3
|
+
|
|
4
|
+
# installation
|
|
5
|
+
To install SecureNow, follow these steps:
|
|
6
|
+
|
|
7
|
+
1. Request your API key from [SecureNow](http://securenow.ai/).
|
|
8
|
+
2. Install the package using npm:
|
|
9
|
+
```
|
|
10
|
+
npm i --save securenow
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
set the api key in your environement variable :
|
|
14
|
+
```bash
|
|
15
|
+
export securenow=<API-KEY>
|
|
16
|
+
```
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "securenow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Plug&Secure for nodejs apps",
|
|
5
5
|
"main": "tracing.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@opentelemetry/sdk-node": "^1.0.0",
|
|
8
|
-
"@opentelemetry/auto-instrumentations-node": "^1.0.0",
|
|
9
|
-
"@opentelemetry/exporter-trace-otlp-http": "^1.0.0",
|
|
10
7
|
"@opentelemetry/resources": "^1.0.0",
|
|
11
|
-
"@opentelemetry/semantic-conventions": "^1.0.0"
|
|
8
|
+
"@opentelemetry/semantic-conventions": "^1.0.0",
|
|
9
|
+
"@opentelemetry/auto-instrumentations-node": "^0.40.3",
|
|
10
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.47.0",
|
|
11
|
+
"@opentelemetry/sdk-node": "^0.47.0"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {},
|
|
14
14
|
"keywords": [],
|
package/tracing.js
CHANGED
|
@@ -15,7 +15,7 @@ const sdk = new opentelemetry.NodeSDK({
|
|
|
15
15
|
traceExporter,
|
|
16
16
|
instrumentations: [getNodeAutoInstrumentations()],
|
|
17
17
|
resource: new Resource({
|
|
18
|
-
[SemanticResourceAttributes.SERVICE_NAME]: 'securenow-free'
|
|
18
|
+
[SemanticResourceAttributes.SERVICE_NAME]: process.env.securenow || 'securenow-free'
|
|
19
19
|
})
|
|
20
20
|
});
|
|
21
21
|
|