PostHog · Schema

HBOSDetectorConfig

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
n_bins integer Number of histogram bins (default: 10)
preprocessing object Preprocessing transforms applied before detection
threshold number Anomaly probability threshold (default: 0.9)
type string
window integer Rolling window size — how many historical data points to train on (default: based on calculation interval)
View JSON Schema on GitHub

JSON Schema

posthog-hbosdetectorconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HBOSDetectorConfig",
  "title": "HBOSDetectorConfig",
  "additionalProperties": false,
  "properties": {
    "n_bins": {
      "default": null,
      "description": "Number of histogram bins (default: 10)",
      "title": "N Bins",
      "type": "integer",
      "nullable": true
    },
    "preprocessing": {
      "default": null,
      "description": "Preprocessing transforms applied before detection",
      "allOf": [
        {
          "$ref": "#/components/schemas/PreprocessingConfig"
        }
      ],
      "nullable": true
    },
    "threshold": {
      "default": null,
      "description": "Anomaly probability threshold (default: 0.9)",
      "title": "Threshold",
      "type": "number",
      "nullable": true
    },
    "type": {
      "default": "hbos",
      "title": "Type",
      "type": "string",
      "enum": [
        "hbos"
      ]
    },
    "window": {
      "default": null,
      "description": "Rolling window size \u2014 how many historical data points to train on (default: based on calculation interval)",
      "title": "Window",
      "type": "integer",
      "nullable": true
    }
  },
  "type": "object"
}