Movatterモバイル変換


[0]ホーム

URL:


DX PlatformX

DX is a developer intelligence platform used by engineeringleaders and platform engineers. Coder notifications can be transformed toPlatformX events, allowing platform engineers tomeasure activity and send pulse surveys to subsets of Coder users to understandtheir experience.

PlatformX Events in Coder

Requirements

You'll need:

  • Coder v2.19+
  • A PlatformX subscription fromDX
  • A platform to host the integration, such as:
    • AWS Lambda
    • Google Cloud Run
    • Heroku
    • Kubernetes
    • Or any other platform that can run Python web applications

coder-platformx-events-middleware

Coder sendsnotifications via webhooksto coder-platformx-events-middleware, which processes and reformats the payloadinto a structure compatible withPlatformX by DX.

For more information about coder-platformx-events-middleware and how tointegrate it with your Coder deployment and PlatformX events, refer to thecoder-platformx-notificationsrepository.

Supported Notification Types

coder-platformx-events-middleware supports the followingCoder notifications:

  • Workspace Created
  • Workspace Manually Updated
  • User Account Created
  • User Account Suspended
  • User Account Activated

Environment Variables

The application expects the following environment variables when started.For local development, create a.env file in the project root with the following variables.A.env.sample file is included:

VariableDescriptionExample
LOG_LEVELLogging level (DEBUG,INFO,WARNING)INFO
GETDX_API_KEYAPI key for PlatformXyour-api-key
EVENTS_TRACKEDComma-separated list of tracked events"Workspace Created,User Account Suspended"

Logging

Logs are printed to the console and can be adjusted using theLOG_LEVEL variable. The available levels are:

LevelDescription
DEBUGMost verbose, useful for debugging
INFOStandard logging for normal operation
WARNINGLogs only warnings and errors

API Endpoints

  • GET / - Health check endpoint
  • POST / - Webhook receiver
On this page

[8]ページ先頭

©2009-2025 Movatter.jp