Incident Response and Troubleshooting Operations Oncall and Internal Ticket Q&A: Deployment and Upgrade

Data for this category originates from monitoring alerts, log platforms, APM tools, and user feedback. Updates occur in real time or when each event

What this category of data looks like

Data for this category originates from monitoring alerts, log platforms, APM tools, and user feedback. Updates occur in real time or when each event is triggered. Daily generated documents include fault tickets, event timelines, emergency response plans, and fault notifications. Each individual fault ticket includes fields such as alert time, affected services, stop operations, associated log ID, and others. Event timelines are sorted by millisecond-level timestamps, with fields and content dynamically added as incident handling progresses. There is no fixed maximum length for field counts.

What constraints these characteristics impose on deployment and upgrade

Data sources for this category are scattered and updated in real time. Correct access permission configuration must be implemented for each data source during deployment to prevent data pull failures. Event documents are dynamically generated as incident handling processes advance. Flexible field extension storage must be supported. Upgrades must maintain compatibility with legacy event data structures. Impact assessment is a time-consuming and critical step. Sufficient computing resources must be reserved during deployment to handle real-time alert correlation analysis, to avoid service interruption risks during upgrades. Tickets and notifications for operations scenarios require strict access permission control. Correct identity verification parameters must be configured during deployment.

How to set configuration parameters

Configuration ParameterRecommended SettingRationale
MONGODB_URImongodb://username:password@host:port/fastgpt_ops?authSource=adminThis category stores multiple data types including event timelines and fault tickets. This parameter specifies the persistent storage address to ensure reliable data writing, and complies with FastGPT v4.17.0 storage specifications
REDIS_URLredis://:your_redis_password@host:port/1This category requires caching real-time alerts and user session context. This parameter configures the cache service address to reduce repeated database query overhead
DB_MAX_LINK200–300 connectionsThis category has real-time data updates and multiple data sources. This parameter limits the maximum number of database connections to prevent service interruptions caused by connection pool exhaustion
FILE_TOKEN_KEYGenerate a random 32-bit string based on business scenariosThis category stores files such as fault logs and notification attachments. This parameter is used to generate file access tokens to ensure secure file transfer
FE_DOMAINhttps://ops.your-company-domain.comThis category displays operations oncall tickets and event details via front-end pages. This parameter configures the front-end access domain name to ensure normal loading of page resources

Three common misconfigurations

  • Symptom: Port conflict error occurs during docker-compose deployment. Cause: Failure to check if the host machine port is occupied in advance, or the port bound to the configured FE_DOMAIN conflicts with other services.
  • Symptom: Deployed pages do not update after modifying local code. Cause: Failure to correctly build static resource images, or failure to re-push images to deployment nodes.
  • Symptom: Operations oncall ticket Q&A cannot associate context, and the second question receives irrelevant responses. Cause: REDIS_URL is not configured, or the cache expiration time is set too short, resulting in loss of session context.

How to confirm configurations are correctly set

  • Run a database connectivity check tool to verify that services corresponding to MONGODB_URI and REDIS_URL can establish normal connections.
  • Simulate a test alert to confirm that the system generates corresponding fault tickets and event timeline documents.
  • Access the configured front-end domain name to confirm that the operations oncall and ticket Q&A pages load normally.
  • After executing the upgrade script, check service logs for no errors and confirm core functions operate normally.

The values provided in this document are common starting points. They should be evaluated against the reader's own specific deployment samples and conditions.

Question material comes from public community discussions. Configuration values are common starting points and should be measured against your own samples. Verified on 2026-10-19.