Skip to content
CCHPCCHPDocs
↑↓↵pagefind

Back to Operations settings6 min read

Notifications and daily usage reports

Configure alert thresholds, email notifications, and 9 webhook/messaging channels, subscribe to all alert events across 7 domains, and schedule daily organization and platform usage reports.

CCHP manages alert thresholds, email alerts, third-party notification channels, and daily usage reports together in Administration → System Management → Notifications (/admin/notifications). Platform-level operational alerts (such as global error rate, upgrade migrations, and storage failures) can only be subscribed to by platform super admins, while organization-level alerts and daily usage reports can be configured independently per organization.

Configure notification channels#

In the Notification channels section near the bottom of the page, click Add channel to add a delivery target for the current organization. You can configure multiple channels of the same type (for example, routing different severities to different rooms). Channel credentials are stored encrypted and are never shown again after saving.

Nine channel types are supported:

  • Messaging and collaboration: Slack, Feishu / Lark, DingTalk, WeCom, Telegram, Discord, Microsoft Teams, and Mattermost v1.0.11+
  • Custom integrations: Generic webhook (delivers a structured JSON payload v1.0.10+ containing event category, severity, organization, affected target, time window, and console deep link)

Notifications: notification channels list and actionsNotifications: notification channels list and actionsCCHP

To add and verify a channel:

Enter channel credentials and name#

Click Add channel, choose a channel type, and enter the display name along with the corresponding Webhook URL, Bot Token / Chat ID, or signing secret.

Select subscribed alert categories#

Under Subscribed alerts, check the events this channel should receive by group, or click Select all. The top of the list updates N of M selected in real time.

Test the connection and send an alert sample#

After saving, click Test connection on the channel row to verify connectivity and credentials (the toast reports latency in milliseconds). You can also open the row menu and click Send alert sample to send a structured message marked as a test for any alert category and verify how it renders in your target chat.

Email alerts and alert thresholds#

The configuration sections in the upper part of the page are submitted together through the bottom save bar and support overriding between Global and an individual Organization via the Effective scope switcher in the header:

  • Alert rules: Set the shared cooldown duration (notifications.alerts.cooldown_minutes, default 30 minutes) to prevent repeated notifications of the same alert in a short span.
  • Alert rules · Money: Spending anomaly alert line (default $50) and counting window (default 60 minutes).
  • Alert rules · Providers: Provider key fault failure-rate threshold (default 90%), minimum request count (default 5), and counting window (default 5 minutes).
  • Alert rules · Models: Model error-rate threshold (default 20%), p95 time-to-first-byte latency threshold (default 30000 ms), minimum request count, and counting window.
  • Alert rules · Global (Global scope only): Platform-wide error rate (default 10%), p95 TTFB and total duration, and zero-throughput idle minutes (default 15 minutes).
  • Email notifications and Subscribed events: Configure an email sender in Transactional email first, then turn on email notifications and select Subscribed events. Alert emails are rendered in the organization’s default language across 5 languages with dark mode support v1.0.12+ and are delivered to qualifying organization admins.

Alert subscription categories v1.0.9+#

Notification channels and email alerts share one alert catalog organized into 7 domains, including paired recovery notifications sent automatically when an incident resolves:

Create notification channel: alert category subscription tree by domainCreate notification channel: alert category subscription tree by domainCCHP

GroupScopeIncluded alert categories
MoneyOrganization (platform daily report is platform-level)Top-up succeeded, Payment processing failed, Refund, Spend anomaly, Wallet balance low, Daily usage report v1.0.15+, Platform daily usage report v1.0.15+
ProvidersOrganizationProvider balance low, Provider balance depleted, Model whitelist changed, Provider fault, Provider key fault, Scheduled liveness test failed, Provider recovered
ModelsOrganizationModel error rate high, Model latency high, Model recovered
GlobalPlatform onlyGlobal error rate high, Global latency high, Global throughput at zero, Pipeline stage slow, Pipeline stage memory high, Stream forwarding slow, Error budget burning fast, Global metrics recovered
PlatformPlatform onlyUpgrade succeeded, Upgrade or migration failed, Background job failed, Price table sync problem, Price table updated v1.0.16+, Program update available v1.0.16+, Storage failure
Accounts & SecurityMixed (organization / platform)New user registered, Management token changed, Repeated failed logins, Quota nearly reached (80%/90%/95%), Quota exceeded, Security event
Content SafetyOrganizationRequest blocked v1.0.10+, User entered cooldown v1.0.10+, Safety check unavailable v1.0.10+, Safety check recovered v1.0.10+

Categories marked with the Platform badge appear only on notification channels belonging to an organization with a system administrator. At minimum, subscribe your primary on-call channel to Provider fault, Upgrade or migration failed, Storage failure, Safety check unavailable, and Program update available. Program update available (program_update) fires once per version when the background release_update_check job detects a newer semantic version on the official release notes feed; Price table updated (price_sync_updated) summarizes newly added models, updated model prices, and resource unit-price changes after a cloud price-table sync completes. End-user Balance exhausted alert (HTTP 402) emails are configured separately under Transactional email.

Daily usage reports v1.0.15+#

Daily usage reports summarize the previous calendar day’s spend and rankings on a daily schedule and deliver them to subscribed notification channels or email. Days with zero requests are skipped to avoid empty reports.

Daily usage report: organization schedule, report time zone, and ranking sizeDaily usage report: organization schedule, report time zone, and ranking sizeCCHP

Organization daily usage report#

In Administration → System Management → Notifications, expand Daily usage report (you can set defaults in Global or override per Organization):

  1. Turn on Send a daily usage report (notifications.usage_report.enabled).
  2. Configure Send time (send_time, HH:MM format, default 09:00), Report time zone (timezone, default UTC, such as Asia/Shanghai), and Ranking size (top_n, 1–10, default 5).
  3. Click Save at the bottom, then check Daily usage report under Money on your target notification channel (or email subscription).

Result: Each day at the configured time in the organization’s time zone, CCHP sends the previous day’s request count, success rate, token usage, total spend, and top members and models by spend.

Platform daily usage report#

Switch Effective scope back to Global, turn on Send a platform daily usage report (notifications.usage_report.platform_enabled) under Daily usage report, and save. Then check Platform daily usage report on a notification channel in a system administrator’s organization. Each day you receive cross-organization spend totals along with top organizations and models by spend.

Frequently asked questions#

I turned on the daily usage report—why didn’t I receive it the next day?#

Check in order:

  1. Verify that the target notification channel is enabled and has Daily usage report (or Platform daily usage report) checked under Subscribed alerts.
  2. Confirm that there were actual requests during the previous calendar day in the configured report time zone (zero-request days are skipped automatically).
  3. Run Test connection on the channel under Notification channels to confirm the webhook is still valid and not blocked by a firewall.

Why aren’t “Platform” or “Global” alerts arriving?#

Platform-level alerts are delivered only to channels belonging to an organization that contains a system administrator and that explicitly subscribe to those categories. Switch to the platform’s default admin organization and verify the channel subscriptions there.