Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Alerts for fallback #453

Open
Catharsis68 opened this issue Sep 12, 2024 · 0 comments
Open

Extend Alerts for fallback #453

Catharsis68 opened this issue Sep 12, 2024 · 0 comments

Comments

@Catharsis68
Copy link

Catharsis68 commented Sep 12, 2024

Currently we do not have any alert that we are switching from the primary vendor to the fallback in case of an error.

We need to extend the alerts that the fallback has applied, the fallback max limit has been reached and that we are sticking with the fallback till the end of the day.

writeAlerts({
      account_sid: cs.accountSid,
      alert_type: AlertType.STT_FAILURE, || AlertType.TTS_FAILURE
      message: `Error in STT / TTS. Apply fallback ${fallbackVendor}`,
      vendor: this.vendor,
    }).catch((err) => this.logger.info({err}, 'Error generating alert for failure'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant