-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added OpenTelemetry Tracing Support
This commit introduces OpenTelemetry tracing support to enhance the observability of the application. With this addition, developers and operators can now trace the execution of operations within the application, gaining insights into performance bottlenecks, errors, and overall flow through the service architecture. Key Changes: 1. **Tracing Integration**: - Updated `otel_handler.trace` decorator to enable tracing across critical functions within the application, including camera control, face detection, and launcher operations. - Updated `README.md` with detailed instructions on testing traces and viewing them in Grafana Cloud, ensuring users can effectively utilize tracing capabilities. 2. **Source Code Enhancements**: - Augmented various classes and methods with the `@otel_handler.trace` decorator, embedding tracing into the core functionalities of the application. - Made necessary adjustments to configuration and credential management to support the OpenTelemetry tracing infrastructure. 3. **Documentation Update**: - Extended the `README.md` to include a new section on "Testing Traces," providing users with clear guidance on how to implement, test, and view traces. Testing Done: - **Pytests**: Ran the entire suite of automated tests to ensure existing functionalities remain unaffected and new tracing capabilities integrate seamlessly. - **Real Hardware Testing**: Conducted multiple rounds of thorough testing on real hardware to ensure the traces accurately represent the application's behavior and performance under realistic conditions. - **Grafana Cloud Verification**: Verified that the spans are correctly captured and displayed in Grafana Cloud, providing clear visibility into the application's operational traces. Addresses GitHub Issue: - This commit addresses GitHub issue #49, significantly enhancing the application's observability and troubleshooting capabilities through OpenTelemetry tracing. With the addition of tracing, the application's operations can now be visualized and analyzed in greater detail, providing valuable insights for development, troubleshooting, and performance optimization. ChatGPT links: 1. https://chat.openai.com/share/d9aaa3f5-d3b1-4ff5-81b7-68d204dbcc16
- Loading branch information
Mr. ChatGPT
committed
Jan 2, 2024
1 parent
e43187c
commit f84c368
Showing
8 changed files
with
128 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters