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
### High Resolution Timestamps (beta) {#high-resolution-timestamps}
480
+
### High Resolution Timestamps (beta)
481
481
482
482
By default, the start time of a span is taken from `Date.now()` and, hence, has only millisecond resolution.
483
483
Via `cds.requires.telemetry.tracing.hrtime = true`, you can instruct the plugin to specify the start and end times of spans, which it does with nanosecond resolution.
@@ -500,7 +500,7 @@ Please note that `process.env.VCAP_APPLICATION` and `process.env.CF_INSTANCE_GUI
500
500
501
501
502
502
503
-
## Custom Spans (beta) {#custom-spans}
503
+
## Custom Spans (beta)
504
504
505
505
Custom spans can be added to the trace hierarchy via [`tracer.startActiveSpan()`](https://open-telemetry.github.io/opentelemetry-js/interfaces/_opentelemetry_api.Tracer.html#startActiveSpan).
506
506
For this, you need to create your own tracer via [TraceAPI.getTracer()](https://open-telemetry.github.io/opentelemetry-js/classes/_opentelemetry_api.TraceAPI.html#getTracer).
0 commit comments