使用生产邻居进行调试 - 由SLATE提供支持

Software development is an iterative and staged process that needs validation and testing at function, component, and service levels. In the case of microservice-based architecture, it becomes far more important to develop in conjunction with dependent services. Microservice-based architecture provides distinct advantages that allow us to scale, maintain, and abstract responsibilities. The more abstraction, the easier it is for us to develop and define business logic. 

软件开发是一个迭代和分阶段的过程,需要在功能、组件和服务级别进行验证和测试。在基于微服务的架构中,与依赖服务一起开发变得更加重要。基于微服务的架构提供了明显的优势,使我们能够进行扩展、维护和抽象责任。抽象程度越高,我们开发和定义业务逻辑就越容易。

SLATE is an E2E testing tool that bridges the gap by allowing services under test to be deployed and work along with production upstream and downstream services. This allows developers to generate test requests mirroring production call flow yet target services under test. Such functionality facilitates various use cases, including feature development within a production environment or replicating production bugs, which often entail troubleshooting both code and configuration. To aid or simplify the process of troubleshooting and make it nearer to the local experience we have developed features to enable debugging of services deployed in the SLATE environment. 

SLATE 是一种端到端测试工具,通过允许测试中的服务与上游和下游的生产服务一起部署和工作,弥合了差距。这使得开发人员可以生成模拟生产调用流程的测试请求,同时针对测试中的服务。这种功能有助于各种用例,包括在生产环境中进行功能开发或复制生产中的错误,这通常需要同时进行代码和配置的故障排除。为了帮助或简化故障排除过程,并使其更接近本地体验,我们开发了一些功能,以实现在 SLATE 环境中调试部署的服务。

In this blog we’ll explore different debugging options developed on SLATE that emulates the behavior of services under test with production upstream and downstream. 

在本博客中,我们将探讨在SLATE上开发的模拟测试服务行为的不同调试选项。

Let us check the following three high-level options developed in detail:

让我们详细检查以下三个高级选项:

  1. Remote debugging a SLATE deployed instance
  2. 远程调试 SLATE 部署的实例
  3. Local Debugging in laptop/dev pod machine
  4. 在笔记本电脑/开发Pod机器上进行本地调试
  5. Debug issues by filtered monitoring
  6. 通过筛选监控来调试问题

Debugging using logs is a fundamental practice that provides insights into a program’s execution. Logs enables dev...

开通本站会员,查看完整译文。

- 위키
Copyright © 2011-2024 iteam. Current version is 2.137.1. UTC+08:00, 2024-11-09 00:53
浙ICP备14020137号-1 $방문자$