-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "otel-js-full-example",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start:docker:containers": "docker-compose -f docker/docker-compose.yml up -d",
"stop:docker:containers": "docker-compose -f docker/docker-compose.yml down",
"start:store": "USE_COLLECTOR=Y npm run start:store:nocollector",
"start:store:nocollector": "OTEL_SERVICE_NAME=store OTEL_SERVICE_VERSION=0.2.1 node -r ./src/otel/otel-util.js src/services/store.js",
"start:inventory": "USE_COLLECTOR=Y npm run start:inventory:nocollector",
"start:inventory:nocollector": "OTEL_SERVICE_NAME=inventory OTEL_SERVICE_VERSION=0.1.0 node -r ./src/otel/otel-util.js src/services/inventory.js",
"start:client": "USE_COLLECTOR=Y npm run start:client:nocollector",
"start:client:nocollector": "OTEL_SERVICE_NAME=client OTEL_SERVICE_VERSION=1.2.0 node -r ./src/otel/otel-util.js src/services/client.js",
"start:instrumentedClient": "USE_COLLECTOR=Y npm run start:instrumentedClient:nocollector",
"start:instrumentedClient:nocollector": "OTEL_SERVICE_NAME=instrumentedClient OTEL_SERVICE_VERSION=1.3.0 node -r ./src/otel/otel-util.js src/services/instrumentedClient.js",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@opentelemetry/api": "^1.3.0",
"@opentelemetry/exporter-metrics-otlp-grpc": "^0.34.0",
"@opentelemetry/exporter-trace-otlp-grpc": "^0.34.0",
"@opentelemetry/instrumentation": "^0.34.0",
"@opentelemetry/instrumentation-express": "^0.31.2",
"@opentelemetry/instrumentation-http": "^0.34.0",
"@opentelemetry/resources": "^1.7.0",
"@opentelemetry/sdk-metrics": "^1.8.0",
"@opentelemetry/sdk-trace-node": "^1.7.0",
"@opentelemetry/semantic-conventions": "^1.7.0",
"axios": "^1.1.3",
"express": "^4.18.2"
},
"devDependencies": {
"eslint": "^8.26.0",
"husky": "^8.0.1"
}
}