[Telemetry] Update anonymous telemetry API key (#882)

This commit is contained in:
Deshraj Yadav
2023-10-31 12:34:54 -07:00
committed by GitHub
parent 5255a37c93
commit 455f059c6f
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@
"isWhiteLabeled": true, "isWhiteLabeled": true,
"analytics": { "analytics": {
"posthog": { "posthog": {
"apiKey": "phc_MSQ1GVfzkm7dRpktoKUGzWPlpkYhmVpcUtmLk1RwkQs", "apiKey": "phc_PHQDA5KwztijnSojsxJ2c1DuJd52QCzJzT2xnSGvjN2",
"apiHost": "https://app.embedchain.ai/ingest" "apiHost": "https://app.embedchain.ai/ingest"
} }
}, },

View File

@@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
class AnonymousTelemetry: class AnonymousTelemetry:
def __init__(self, host="https://app.posthog.com", enabled=True): def __init__(self, host="https://app.posthog.com", enabled=True):
self.project_api_key = "phc_XnMmNHzwxE7PVHX4mD2r8K6nfxVM48a2sq2U3N1p2lO" self.project_api_key = "phc_PHQDA5KwztijnSojsxJ2c1DuJd52QCzJzT2xnSGvjN2"
self.host = host self.host = host
self.posthog = Posthog(project_api_key=self.project_api_key, host=self.host) self.posthog = Posthog(project_api_key=self.project_api_key, host=self.host)
self.user_id = self.get_user_id() self.user_id = self.get_user_id()