mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
add: disclaimer
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
export const SERVICE_NAME = "portabase-dashboard";
|
export const SERVICE_NAME = "portabase-dashboard";
|
||||||
export const TELEMETRY_METER_NAME = "portabase-telemetry";
|
export const TELEMETRY_METER_NAME = "portabase-telemetry";
|
||||||
|
|
||||||
|
// NOTE: This token is intentionally in plaintext, it's a write-only telemetry
|
||||||
|
// ingestion token (send-only, no read access), so it's public by design, just
|
||||||
|
// like a Sentry DSN or a PostHog public key. Not a leaked secret.
|
||||||
export const OTLP_AUTH_TOKEN =
|
export const OTLP_AUTH_TOKEN =
|
||||||
"4625713e72b4ec4eaac8a93716f3a83a3afc7fe17dfb8424c57aa82c459d4a8e";
|
"4625713e72b4ec4eaac8a93716f3a83a3afc7fe17dfb8424c57aa82c459d4a8e";
|
||||||
|
|
||||||
export function getOtlpEndpoint(): string {
|
export function getOtlpEndpoint(): string {
|
||||||
return process.env.NODE_ENV === "production"
|
return process.env.NODE_ENV === "production"
|
||||||
? "https://telemetry.portabase.io"
|
? "https://telemetry.portabase.io"
|
||||||
: "http://localhost:4318";
|
// : "http://localhost:4318";
|
||||||
// : "https://sandbox.telemetry.portabase.io";
|
: "https://sandbox.telemetry.portabase.io";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user