mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
feat(telemetry): wire ktx PostHog project for live ingestion
This commit is contained in:
parent
91772e5bce
commit
31bc96cc77
4 changed files with 18 additions and 8 deletions
|
|
@ -10,8 +10,11 @@ from collections.abc import Mapping
|
|||
from ktx_daemon.telemetry.events import build_telemetry_event
|
||||
from ktx_daemon.telemetry.identity import load_telemetry_identity
|
||||
|
||||
POSTHOG_PROJECT_API_KEY = ""
|
||||
POSTHOG_HOST = ""
|
||||
# PostHog public project ingestion key - safe to embed; capture-only, no read access.
|
||||
POSTHOG_PROJECT_API_KEY = (
|
||||
"phc_xbvZpbu8ZNLnogTbY7MEMWhCF2rzzApYsDndjKaRBXXx" # pragma: allowlist secret
|
||||
)
|
||||
POSTHOG_HOST = "https://us.i.posthog.com"
|
||||
|
||||
|
||||
def _host(env: Mapping[str, str]) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue