Skip to content

Commit

Permalink
Revert "adds AioRedisHealthProvider"
Browse files Browse the repository at this point in the history
This reverts commit 056c552.
  • Loading branch information
michaelyaakoby authored Jul 30, 2024
1 parent 056c552 commit 09aa7dc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 80 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,6 @@ pyctuator = Pyctuator(...) # arguments removed for brevity
pyctuator.register_health_provider(RedisHealthProvider(r))
```

Or if your service is using asynchronous Redis, to monitor the connection initialize a `AioRedisHealthProvider`:

```python
from redis import asyncio as aioredis

r = aioredis.Redis()
pyctuator = Pyctuator(...) # arguments removed for brevity
pyctuator.register_health_provider(AioRedisHealthProvider(r))
```

### Custom Environment
Out of the box, Pyctuator exposes Python's environment variables to Spring Boot Admin.

Expand Down
23 changes: 0 additions & 23 deletions pyctuator/health/aioredis_health_provider.py

This file was deleted.

47 changes: 0 additions & 47 deletions tests/health/test_aioredis_health_provider.py

This file was deleted.

0 comments on commit 09aa7dc

Please sign in to comment.