MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / motelExporterEnv

Function motelExporterEnv

e2e/setup/motel.ts:62–74  ·  view source on GitHub ↗
(
  motel: SuiteMotel | null,
  appBaseUrl: string,
)

Source from the content-addressed store, hash-verified

60 * OTLP tracer (same-origin /v1/traces, proxied by the dev server — motel
61 * serves no CORS headers). */
62export const motelExporterEnv = (
63 motel: SuiteMotel | null,
64 appBaseUrl: string,
65): Record<string, string> =>
66 motel
67 ? {
68 AXIOM_TRACES_URL: `${motel.url}/v1/traces`,
69 AXIOM_TOKEN: "motel-local",
70 AXIOM_DATASET: "executor-e2e",
71 VITE_PUBLIC_OTLP_TRACES_URL: `${appBaseUrl}/v1/traces`,
72 MOTEL_URL: motel.url,
73 }
74 : {};

Callers 1

setupFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected