mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-10 07:05:04 -05:00
## Description --- > This PR introduces a new observability tool that allows fetching system and query level metrics from the Cloud Monitoring API for AlloyDB instances. > > The key changes include: > - A new observability tool that can make authenticated requests to the monitoring API. > - Pre-built configurations in observability.yaml for fetching AlloyDB system and query metrics. > - Unit and integration tests for the new observability tool. > - List of metrics is fetched from the public documentation available https://cloud.google.com/alloydb/docs/reference/system-insights-metrics > - Manual testing is also done by locally running the server/tools and integrating with Gemini CLI ## Followup Changes --- > - Similar observability tools for Postgres, MySQL and SQLServer. > - Documentation around the tools. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed CONTRIBUTING.md (https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [x] Make sure to open an issue as a bug/issue (https://github.com/googleapis/langchain-google-alloydb-pg-python/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [] Appropriate docs were updated (if necessary) - [ ] Make sure to add ! if this involve a breaking change Tested Locally: <img width="4886" height="3068" alt="image" src="https://github.com/user-attachments/assets/774d0776-6c91-48aa-8d1a-64d84cfdbc75" /> <img width="4752" height="2778" alt="image" src="https://github.com/user-attachments/assets/839f099a-dd1a-410c-bbe4-9913603e5ff3" />