Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

937 B
Raw Blame
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`CdpCyclotronWorkerPlugins onEvent should handle and collect errors 2`] = `
[
  {
    "headers": undefined,
    "key": null,
    "topic": "clickhouse_app_metrics2_test",
    "value": {
      "app_source": "hog_function",
      "app_source_id": "<REPLACED-UUID-0>",
      "count": 1,
      "instance_id": "",
      "metric_kind": "failure",
      "metric_name": "failed",
      "team_id": "<TEAM_ID>",
      "timestamp": "2025-01-01 00:00:00.000",
    },
  },
  {
    "headers": undefined,
    "key": null,
    "topic": "log_entries_test",
    "value": {
      "instance_id": "<REPLACED-UUID-1>",
      "level": "error",
      "log_source": "hog_function",
      "log_source_id": "<REPLACED-UUID-0>",
      "message": "Plugin execution failed: Service is down, retry later",
      "team_id": "<TEAM_ID>",
      "timestamp": "2025-01-01 00:00:00.000",
    },
  },
]
`;