provider error_tracking PATCH /api/environments/{environment_id}/error_tracking/spike_detection_config/update_config/
@utdk/posthog /api/environments/{environment_id}/error_tracking/spike_detection_config/update_config/
environments_error_tracking_spike_detection_config_update_config_partial_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsErrorTrackingSpikeDetectionConfigUpdateConfigPartialUpdate
PATCH/api/environments/{environment_id}/error_tracking/spike_detection_config/update_config/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Input

Time to wait before alerting again for the same issue after a spike is detected.

The factor by which the current exception count must exceed the baseline to be considered a spike.

The minimum number of exceptions required in a 5-minute window before a spike can be detected.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsErrorTrackingSpikeDetectionConfigUpdateConfigPartialUpdate()