Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add monitors, logs, dashboards and metrics tools #3

Merged
merged 9 commits into from
Feb 24, 2025

Conversation

winor30
Copy link
Owner

@winor30 winor30 commented Feb 24, 2025

what

  • add monitors, logs, dashboards, and metrics tools

- Add Zod schema validation for list_incidents and get_incident tool handlers
- Remove manual type casting and parsing in favor of Zod schema parsing
- Ensure type safety and runtime validation for incident tool arguments
- Implement new schema validation for metrics retrieval using Zod.
- Introduce metrics tools and handlers with definitions for querying data.
- Create a structured API for metrics, including validation and response handling.

Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com>
- Introduce logging tools and schemas to enhance log query validation and handling.
- Implement Datadog API integration for log retrieval with robust error handling.
- Ensure time format compatibility for effective API interactions.

Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com>
- Standardize string interpolation for timestamps to enhance code readability.
- Clarify comments to improve understanding of Datadog API parameters.
- Establish a default value for the `query` field to prevent potential errors.

Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com>
- Introduce dashboard schema validation and tools functionality using `zod` for improved filtering.
- Implement logic to fetch, filter, and format dashboard data from the Datadog API.
- Establish a structure for exporting dashboard-related constants and handlers.

Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com>
- Introduce a comprehensive monitoring system with Zod validation for monitor data schema.
- Implement monitor tools functionality, including data retrieval from Datadog and robust error handling.
- Enhance code quality with a new utility function for managing unreachable code scenarios.

Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com>
- Enhance the monitoring and logging capabilities of the application.
- Integrate new tools for effective management and visualization of metrics, logs, monitors, and dashboards.
- Update the server response to include additional resources for better insights and performance tracking.

Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com>
- Broaden feature description to highlight comprehensive Datadog monitoring capabilities
- Add detailed documentation for new tools: get_monitors, get_logs, list_dashboards, and get_metrics
- Update project license from MIT to Apache License, Version 2.0
- Enhance the API documentation for better clarity and organization.
- Include comprehensive descriptions and details for multiple tools.
- Introduce a new tool, `get_incident`, to the documentation.

Signed-off-by: katsumata <12413150+winor30@users.noreply.github.com>
@winor30 winor30 merged commit 64d403d into main Feb 24, 2025
6 checks passed
@winor30 winor30 deleted the add-other-tools branch February 24, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant