Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harsh098/postgres-codecollection
Codecollection for Making Postgres Troubleshooting possible on Runwhen Platform
https://github.com/harsh098/postgres-codecollection
bash kubernetes postgresql python3 robotframework runwhen sli zalando-postgres-operator
Last synced: 13 days ago
JSON representation
Codecollection for Making Postgres Troubleshooting possible on Runwhen Platform
- Host: GitHub
- URL: https://github.com/harsh098/postgres-codecollection
- Owner: harsh098
- License: apache-2.0
- Created: 2023-11-02T00:08:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-22T15:26:19.000Z (12 months ago)
- Last Synced: 2024-10-09T23:40:56.673Z (about 1 month ago)
- Topics: bash, kubernetes, postgresql, python3, robotframework, runwhen, sli, zalando-postgres-operator
- Language: RobotFramework
- Homepage: https://www.runwhen.com/
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Postgres Codecollection
This repo contains codecollections for troubleshooting postgreSQL databases on Kubernetes using [Zalando Operator](https://opensource.zalando.com/postgres-operator/) with RunWhen Platform.
The codebundle includes
- Finding Slow and Long Running Queries
- SLIs for slow Queries
- Blocking Query Detection and Remediation (Work in Progress)
- Blocking Backend detection. (Work in Progress)
[![Build](https://github.com/harsh098/postgres-codecollection/actions/workflows/build.yaml/badge.svg)](https://github.com/harsh098/postgres-codecollection/actions/workflows/build.yaml)## Getting Started
Looking to be a contributor for CodeCollections or start your own? We'd love to collaborate! Head on over to our [public docs](https://docs.runwhen.com/public/runwhen-authors/getting-started-with-codecollection-development) to get started.File Structure overview of devcontainer:
```
-/app/
|- auth/ #store secrets here, it should already be properly gitignored for you
|- codecollection/
| |- codebundles/ # stores codebundles that can be run
| |- libraries/ # stores python keyword libraries used by codebundles
|- dev_facade/ # provides interfaces equivalent to those used on the platform, but just dry runs the keywords to assist with development
...
```The included script `ro` wraps the `robot` RobotFramework binary, and includes some extra functionality to write logs to a consistent location for viewing in a HTTP server at http://localhost:3000/ that is always running as part of the devcontainer.
### Quickstart
Navigate to the codebundle directory
`cd codecollection/codebundles/postgres/`Run the codebundle
`ro sli.robot`