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

Bounty 100 $MCS integrate https://github.com/kislyuk/watchtower into swarms #702

Open
jmikedupont2 opened this issue Dec 25, 2024 · 0 comments
Assignees

Comments

@jmikedupont2
Copy link

jmikedupont2 commented Dec 25, 2024

Bounty 100 $MCS
Task integrate https://github.com/kislyuk/watchtower into swarms logging
Create optional logging that discovers and creates log groups as needed given permissions.
generate terraform code to create logging groups as bonus output or policies that allow users to create N tagged log groups of M size of their own.
this will allow direct logging to aws cloudwatch logs, those logs can be provided to the customer or people who need to see the,
we can construct logs groups for customers or system admin, different actions could be logged to different groups.

@jmikedupont2 jmikedupont2 changed the title Bounty integrate https://github.com/kislyuk/watchtower into swarms Bounty 100 $MCS integrate https://github.com/kislyuk/watchtower into swarms Dec 25, 2024
vishwamartur added a commit to vishwamartur/swarms that referenced this issue Dec 26, 2024
Related to kyegomez#702

Integrate Watchtower for optional logging to AWS CloudWatch Logs.

* **Watchtower Integration:**
  - Import `watchtower` in `swarms/utils/loguru_logger.py`.
  - Add `initialize_watchtower_logger` function to configure Watchtower logging.
  - Update `initialize_logger` to optionally use Watchtower logging if configured.

* **Agent Logging Updates:**
  - Import `initialize_watchtower_logger` in `swarms/agents/ape_agent.py`, `swarms/agents/tool_agent.py`, and `swarms/structs/agent.py`.
  - Update logger initialization in `swarms/agents/ape_agent.py` and `swarms/agents/tool_agent.py` to use `initialize_watchtower_logger`.

* **Terraform Configuration:**
  - Add `terraform/logging.tf` to create log groups and policies for AWS CloudWatch Logs.
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

No branches or pull requests

2 participants