multitenant-up

作成者: posthog

Build, deploy, and port-forward the multi-tenant control plane on local Kubernetes. Use when you need to test duckgres in multi-tenant mode with per-team…

npx skills add https://github.com/posthog/duckgres --skill multitenant-up

Boot up the multi-tenant K8s stack:

  1. Build and deploy:

    just run-multitenant-local
    
  2. Kill any stale port-forwards and start fresh ones:

    pkill -f 'port-forward.*duckgres' 2>/dev/null; sleep 1
    kubectl -n duckgres port-forward svc/duckgres 5432:5432 &>/dev/null &
    kubectl -n duckgres port-forward deployment/duckgres-control-plane 8080:8080 &>/dev/null &
    
  3. Grab the admin API token:

    kubectl -n duckgres logs deployment/duckgres-control-plane | grep 'admin API token'
    
  4. Report to the user:

    • Admin dashboard: http://localhost:8080 (show the token)
    • PG: PGSSLMODE=require PGPASSWORD=postgres psql -h localhost -U postgres
    • Default credentials: postgres / postgres

posthogのその他のスキル

managing-experiment-lifecycle
posthog
実験の状態遷移をガイドします:起動、一時停止、再開、終了、バリアントの出荷、アーカイブ、リセット、複製。前提条件などをカバーします。
official
configuring-experiment-analytics
posthog
Configures the analytics side of a PostHog experiment — exposure criteria (default `$feature_flag_called` vs custom exposure events), primary and secondary…
official
error-tracking-hono
posthog
PostHogのHono向けエラートラッキング
official
error-tracking-react
posthog
PostHogのReact向けエラートラッキング
official
integration-android
posthog
Androidアプリケーション向けPostHogインテグレーション
official
integration-ruby
posthog
PostHog統合:Ruby SDKを使用するRubyアプリケーション向け
official
tuning-incremental-sync-config
posthog
同期の設定はExternalDataSchemaに保存され、external-data-schemas-partial-updateを使用していつでも変更できます。ほとんどの変更は非破壊的(次の同期で反映)ですが、一部(sync_typeの切り替え、プライマリキーの変更)は、同期データの破損を防ぐために慎重な対応が必要です。
official
instrument-integration
posthog
このスキルを使用して、アプリケーションにPostHog SDKを追加します。PostHogを初めてセットアップする場合や、PostHogの初期化が必要なPRをレビューする場合に使用してください。SDKのインストール、プロバイダーのセットアップ、基本設定をカバーします。任意のフレームワークや言語に対応しています。
official