Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 1b9a882

Browse files
Nir Hadassigitbook-bot
Nir Hadassi
authored andcommitted
GitBook: [master] one page modified
1 parent be42579 commit 1b9a882

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

configure.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can pass the following configuration to the Aspecto client:
3030

3131
| Option | Type | Description |
3232
| :--- | :--- | :--- |
33-
| env | string | set environment name manually instead of using `env` environment variable |
33+
| env | string | set environment name manually instead of using `NODE_ENV` environment variable |
3434
| aspectoAuth | UUID | set aspecto token from code instead of using `aspecto.json` |
3535
| packageName | string | set packageName manually instead of reading it from `package.json` |
3636
| packageVersion | string | set packageVersion manually instead of reading it from `package.json` |
@@ -48,7 +48,7 @@ Live Flows captures all payloads and traces in your local environment and automa
4848
Activate it using `{local:true}`, like this:
4949

5050
```text
51-
require('@aspecto/opentelemetry')({ local: true,});
51+
require('@aspecto/opentelemetry')({ local: true });
5252
```
5353

5454
Live flows works in two modes:
@@ -68,14 +68,15 @@ This is the default mode. It allows you to capture flows from all the microservi
6868
=====================================================================================================================================
6969
```
7070

71-
Click on the link to open the Live Flow, to see traces from all the microservices that are running on your environment that have local mode enabled. The link is valid for a limited period of time \(couple of days, but it may change in the future\). If you don't see trace from some microservice \(or none of them\), click the newly-generated link.
71+
Click on the link to open the Live Flow, to see traces from all the microservices that are running on your environment that have local mode enabled. The link is valid for a limited period of time \(a couple of days, but it may change in the future\).
72+
If you don't see a trace from some microservice \(or none of them\), click the newly-generated link.
7273

7374
#### Isolated mode
7475

75-
In this mode you can only see flows from one microservice. Also, in this case, all the data is being sent directly to the browser. To activate isolated mode use `isolate` option like so:
76+
In this mode, you can only see flows from one microservice. Also, in this case, all the data is being sent directly to the browser. To activate isolated mode use `isolate` option like so:
7677

7778
```text
78-
require('@aspecto/opentelemetry')({local: true,isolate: true});
79+
require('@aspecto/opentelemetry')({ local: true, isolate: true });
7980
```
8081

8182
In isolated mode, the message in the console will look like this \(with `port` parameter\):

0 commit comments

Comments
 (0)