https://github.com/xmidt-org/wrp-listener-examples
Examples using wrp-listener.
https://github.com/xmidt-org/wrp-listener-examples
Last synced: 11 days ago
JSON representation
Examples using wrp-listener.
- Host: GitHub
- URL: https://github.com/xmidt-org/wrp-listener-examples
- Owner: xmidt-org
- License: apache-2.0
- Created: 2023-08-05T05:49:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T02:19:56.000Z (6 months ago)
- Last Synced: 2025-05-13T00:52:18.012Z (11 days ago)
- Language: Go
- Size: 126 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# wrp-listener-examples
Examples using wrp-listener.By moving these out of the wrp-listener library repository dependencies are
greatly simplified.## Testing Locally
Leverage Docker to stand up a local xmidt cluster for validating webhooks.
1. Clone xmidt deploy repo
```bash
git clone https://github.com/xmidt-org/xmidt.git
```2. Start xmidt cluster
```bash
cd deploy/docker-compose/
./deploy.sh
```3. Build and Run example inside docker
```bash
cd
docker-compose up
```4. Validate webhook is registered by
visiting http://localhost:9090/graph?g0.expr=xmidt_caduceus_webhook_list_size_value&g0.tab=1&g0.stacked=0&g0.show_exemplars=0&g0.range_input=1h5. Restart the Simulator and watch logs and
prometheus http://localhost:9090/graph?g0.expr=xmidt_caduceus_delivery_count&g0.tab=0&g0.stacked=0&g0.show_exemplars=0&g0.range_input=1h