Abstract
In the high-stakes environment of hybrid cloud operations, Site Reliability Engineers (SREs) often resolve critical incidents through rapid, informal collaboration in chat platforms. While these conversations contain vital troubleshooting knowledge, they are rarely captured in formal ticketing systems, leading to a loss of institutional memory. This paper introduces a framework to automatically "disentangle" unstructured chat logs, extract diagnostic and resolution steps, and populate a searchable "Issue Total View" database. By leveraging domain-specific word embeddings and semantic role labeling, the system significantly outperforms traditional search and general-purpose NLP models in retrieving relevant historical solutions.
Introduction
The operational complexity of modern cloud environments demands immediate response to service disruptions. SREs frequently bypass formal documentation during active incidents, favoring real-time communication tools like Slack or Microsoft Teams. Consequently, the "real" troubleshooting process—the diagnostic questions asked and the specific actions taken—remains trapped in messy, fragmented chat logs. These logs are difficult to reuse due to overlapping conversations, heavy use of technical jargon, and the implicit nature of SRE knowledge. This research proposes a pipeline to transform this "carbon" data into structured "diamonds" of actionable knowledge.
Methodology and System Architecture
The proposed framework processes raw conversation streams through a multi-stage pipeline designed to handle the unique characteristics of SRE chat.
Conversation Disentanglement
Because SREs often discuss multiple issues simultaneously in a single channel without using threading features, the system employs temporal windows and user-overlap logic. This allows it to group related messages into cohesive "contextual windows" representing a single troubleshooting effort.
Knowledge Extraction
To extract structured insights, the system identifies two primary artefacts:
- Diagnostics: A semi-supervised approach using lexical rules and a Naive Bayes classifier identifies when an SRE is performing a diagnostic check.
- Resolutions: The system uses Semantic Role Labeling (SRL) to link technical entities to action verbs (e.g., identifying "scale" as the action and "Elasticsearch node" as the target). This "Action-Entity" link is crucial for capturing the intent behind a fix.
The Issue Total View
The final output of the extraction process is a structured record known as the "Issue Total View." This format consolidates the problem description, diagnostic steps, and the final resolution into a searchable entry.
Domain-Specific Retrieval
A key challenge in SRE chat is the prevalence of technical jargon and abbreviations (e.g., "PV," "Kiali," "OCP"). General-purpose models like BERT often fail here because their pre-training does not cover this specialized vocabulary. To address this, the authors trained a FastText model from scratch on a corpus of 2 million technical sentences from Red Hat and IBM Cloud documentation. This domain-specific approach allows the system to handle out-of-vocabulary terms and common typos far more effectively than off-the-shelf models.
Key Results and Evaluation
The framework was evaluated against 848 real-world conversations collected over seven months. The retrieval engine, specifically the FastText-M2 method, demonstrated substantial improvements over baseline systems:
- Retrieval Accuracy: The system achieved an Accuracy@5 of 0.73, nearly doubling the performance of Elasticsearch (0.42) and vastly outperforming BERT (0.18).
- Precision: At a rank of 10 (P@10), the system reached 0.51, compared to 0.11 for the Universal Sentence Encoder (USE).
- Disentanglement: The module correctly grouped related messages with 67% precision and 83% recall.
Conclusion
The "Carbon to Diamond" framework demonstrates that structured knowledge can be effectively harvested from informal SRE communications. By focusing on domain-specific embeddings and the semantic relationship between actions and entities, the system provides a powerful tool for incident remediation. Future work will focus on refining the handling of bot-generated messages and expanding extraction to include root causes and specific error codes.
Summary updated