MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / readSentry

Function readSentry

apps/api/src/config/env/validate.ts:220–227  ·  view source on GitHub ↗
(source: EnvSource)

Source from the content-addressed store, hash-verified

218});
219
220const readSentry = (source: EnvSource) => ({
221 SENTRY_DSN: source.SENTRY_DSN ?? "",
222 SENTRY_TRACES_SAMPLE_RATE: toFloat(
223 source.SENTRY_TRACES_SAMPLE_RATE,
224 0,
225 "SENTRY_TRACES_SAMPLE_RATE"
226 ),
227});
228
229const readOpenTelemetry = (source: EnvSource) => ({
230 OTEL_EXPORTER_OTLP_ENDPOINT: source.OTEL_EXPORTER_OTLP_ENDPOINT ?? "",

Callers 1

readRawFunction · 0.85

Calls 1

toFloatFunction · 0.85

Tested by

no test coverage detected