Alpha Description of what problems this provider handles.
Unique identifier for this provider.
Used to identify the provider in the repository and to link problems back to their source. Should be a stable, lowercase identifier using hyphens for word separation (e.g., 'email-integration', 'external-crm-sync').
The platform uses this id to set providerId when returning problems to consumers.
Human-readable title for the provider.
Should clearly identify the source of problems (e.g., 'Email Integration', 'External CRM Sync').
Retrieves a specific problem by its id.
A promise resolving to the problem if found, or undefined if no problem with that id exists.
The unique identifier of the problem within this provider.
Returns available actions for a specific problem.
Actions allow users to take action on problems (e.g., retry, dismiss, navigate to configuration). Each action wraps a command that executes when triggered.
An array of actions available for this problem. Return an empty
array [] if no actions are available.
The problem to get actions for.
Returns the count of problems matching the query options.
Should return the total count of matching problems, not affected by pagination (limit/offset).
A promise resolving to the number of matching problems.
Optional options: ProblemQueryOptionsQuery options for filtering. Pagination options (limit/offset) should be ignored when counting.
Retrieves problems from this provider.
Implement filtering based on the provided options where supported. Unsupported filters should be silently ignored.
A promise resolving to an array of problems matching the query.
Optional options: ProblemQueryOptionsQuery options for filtering and pagination. All properties are optional. Providers should handle what they support and ignore the rest.
Returns display information for a problem status.
Display information for the status, or undefined if the status is not recognized by this provider.
The status identifier (from status).
Returns all statuses supported by this provider.
Used by the platform to render status filters and understand the provider's workflow.
An array of all statuses this provider uses. Return an empty
array [] if this provider doesn't track status.
Returns display information for a problem type.
Problem types are provider-specific identifiers (e.g., 'delivery-failed', 'connection-error'). This method provides the human-readable title, description, and icon for each type.
Display information for the type, or undefined if the type is not recognized by this provider.
The problem type identifier (from type).
Returns all problem types supported by this provider.
Used by the platform to render type filters and understand the provider's problem categories.
An array of all problem types this provider can produce.
Interface that packages implement to provide problems to the platform.
Providers are responsible for:
The platform aggregates problems from all registered providers.
Example
Provider implementation
Example
Registering a provider
See