ducklake-test

作成者: posthog

Start duckgres with DuckLake (S3-backed storage with PostgreSQL metadata) for local testing. Use when testing duckgres against DuckLake or reproducing Fivetran…

npx skills add https://github.com/posthog/duckgres --skill ducklake-test

Start duckgres with DuckLake configuration:

  1. Start dependencies (PostgreSQL metadata store + MinIO object storage):

    docker-compose up -d
    
  2. Kill any existing duckgres process:

    pkill -f duckgres || true
    
  3. Ensure config file exists at duckgres_local_test.yaml:

    host: "0.0.0.0"
    port: 35437
    data_dir: "./data"
    users:
      postgres: "postgres"
    extensions:
      - ducklake
    ducklake:
      metadata_store: "postgres:host=localhost port=5433 user=ducklake password=ducklake dbname=ducklake"
      object_store: "s3://ducklake/data/"
      s3_provider: "config"
      s3_endpoint: "localhost:9000"
      s3_access_key: "minioadmin"
      s3_secret_key: "minioadmin"
      s3_region: "us-east-1"
      s3_use_ssl: false
      s3_url_style: "path"
    
  4. Build and run duckgres:

    go build -o duckgres . && ./duckgres --config duckgres_local_test.yaml
    
  5. Connect with psql (in another terminal):

    PGPASSWORD=postgres psql "host=127.0.0.1 port=35437 user=postgres sslmode=require"
    

To cleanup: pkill -f duckgres && docker-compose down

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