RunicOtlpOptions interface

Module @runic-artifex/vite-plugin-runic in @runic-artifex/vite-plugin-runic 0.23.0

interface RunicOtlpOptions

Where and how the development server exports the page's spans of Bridge calls.

Properties

url

readonly url?: string;

The OTLP/HTTP traces URL, such as http://localhost:4318/v1/traces. Defaults to OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, or else OTEL_EXPORTER_OTLP_ENDPOINT with /v1/traces appended.

headers

readonly headers?: Readonly<Record<string, string>>;

Headers of each export, such as an API key. Defaults to OTEL_EXPORTER_OTLP_TRACES_HEADERS or OTEL_EXPORTER_OTLP_HEADERS.

serviceName

readonly serviceName?: string;

The service.name of the page's spans. Defaults to OTEL_SERVICE_NAME with -page appended, or else the Vite root's package name with -page appended, so the page and the .NET host are separate services of one trace.