Considerations

The following considerations should be taken into account while implementing this pattern:

  • Logging agent: The logging agent which is installed on every instance of a Microservice needs to be a lightweight in terms of resource consumption. Making the logging service asynchronous to ensure that the calls are unblocked is a key factor in implementing a diagnostics service.
  • Permissions: With the logs stored in a centralized location, the rights to access the logs should be configurable, and Role Based Access Control (RBAC) method should be preferred.
  • Availability: Diagnostics is an important part of a system. Especially if the system is transactional in nature. It is important to ensure high availability of the diagnostics service. Along with the service front end, the persistent log stores also need to be replicated to meet the availability requirements.
  • Querying: Ability to search through the logs for an event or a state is an important capability of a diagnostics service. Enabling indexing around logs and traces can improve the efficiency around searching.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.39.252