You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: send-tracing-data-to-aspecto/aspecto-sdk/nodejs/customize-defaults/advanced.md
-24
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,6 @@ Available install configurations (all are optional):
55
55
|`requireConfigForTraces`|`ASPECTO_REQUIRE_CONFIG_FOR_TRACES`| boolean |`false`| When `true`, the SDK will not trace anything until remote sampling configuration arrives (few hundreds ms). Can be used to enforce sampling configuration is always applied, with the cost of losing traces generated during service startup. |
56
56
|`logger`| - | logger interface || Logger to be used in this tracing library. Common use for debugging `logger: console`|
57
57
|`collectPayloads`|`ASPECTO_COLLECT_PAYLOADS`| boolean |`true`| Should Aspecto SDK collect payloads of operations |
58
-
|`local`| - | boolean |`false`| When set to true, enable [live traces](https://www.npmjs.com/package/@aspecto/opentelemetry#live-traces)|
59
58
|`otlpCollectorEndpoint`|`OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`| string |`https://otelcol-fast.aspecto.io/v1/trace`| Target URL to which the OTLP http exporter is going to send spans |
60
59
|`exportBatchSize`|`ASPECTO_EXPORT_BATCH_SIZE`| number |`100`| How many spans to batch in a single export to the collector |
61
60
|`exportBatchTimeoutMs`|`ASPECTO_EXPORT_BATCH_TIMEOUT_MS`| number |`1000` (1s) | Maximum time in ms for batching spans before sending to collector |
@@ -79,26 +78,3 @@ To export data over JSON instead of protobuf, set the environment variable `ASP
79
78
Set the environment variable `DISABLE_ASPECTO` to any value, to disable Aspecto.\
80
79
Affect lambda and GCF wrappers as well.\
81
80
Useful when running unit tests, or as a simple kill switch.
82
-
83
-
####  **Live Trace**
84
-
85
-
Live trace allows you to capture traces from all the microservices that you're running locally (both on the host env and docker) with`local`mode enabled. To activate live trace mode use `local` option like so:
Click on the link to open the Live Trace, 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). \
102
-
If you don't see a trace from some microservice (or none of them), click the newly-generated link.
0 commit comments