Skip to content

[OSPP]Add more observability in apollo config client#74

Merged
Anilople merged 15 commits intoapolloconfig:mainfrom
Rawven:now
Oct 19, 2024
Merged

[OSPP]Add more observability in apollo config client#74
Anilople merged 15 commits intoapolloconfig:mainfrom
Rawven:now

Conversation

@Rawven
Copy link
Contributor

@Rawven Rawven commented Aug 1, 2024

What's the purpose of this PR

discussions OSPP2024
test cases Test

Which issue(s) this PR fixes:

Issue

Brief changelog

XXXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • [✔ ] Read the Contributing Guide before making this pull request.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit tests to verify the code.
  • [❌] Run mvn clean test to make sure this pull request doesn't break anything.
  • Update the CHANGES log.

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Added a new entry in the release notes for Apollo Java version 2.4.0: "Add more observability in apollo config client."
    • Introduced several monitoring APIs for exceptions, namespaces, bootstrap arguments, and thread pools, enhancing visibility into system performance.
    • Launched the ApolloClientBootstrapArgsMonitorApi, ApolloClientNamespaceMonitorApi, and ApolloClientThreadPoolMonitorApi to manage configuration parameters and resource metrics.
    • Enhanced monitoring capabilities with structured logging for metrics and events.
    • Added a ConfigMonitorInitializer class to facilitate the setup of monitoring components.
  • Improvements

    • Enhanced error handling in various services by using defined constants for logging.
    • Updated metrics collection mechanisms to track configuration loading durations and exception occurrences efficiently.
    • Added new configuration properties for improved control over monitoring settings.
  • Bug Fixes

    • Refined logging and error tracking to ensure consistency and accuracy in reporting metrics.
  • Tests

    • Introduced comprehensive unit tests for newly added monitoring features and functionality.
    • Implemented tests for the ApolloClientMonitorContext, ApolloClientMetricsExporter, and other monitoring components to ensure correct functionality.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants