Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miquido/alertmanager-webhook-forwarder
The project was made by Miquido. https://www.miquido.com/
https://github.com/miquido/alertmanager-webhook-forwarder
Last synced: 5 days ago
JSON representation
The project was made by Miquido. https://www.miquido.com/
- Host: GitHub
- URL: https://github.com/miquido/alertmanager-webhook-forwarder
- Owner: miquido
- License: apache-2.0
- Created: 2019-05-14T12:22:25.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-02-25T04:45:55.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T11:34:52.160Z (2 months ago)
- Language: Go
- Homepage:
- Size: 183 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Alertmanager Webhook Forwarder
- [Alertmanager Webhook Forwarder](#alertmanager-webhook-forwarder)
- [Build Matrix](#build-matrix)
- [Docker Guide](#docker-guide)
- [Build](#build)
- [Run](#run)
- [Lint](#lint)
- [Go Guide](#go-guide)
- [Init](#init)
- [Run](#run-1)
- [Build](#build-1)---
## Build Matrix
| CI Job | Branch [`develop`](https://github.com/miquido/alertmanager-webhook-forwarder/tree/develop) | Branch [`master`](https://github.com/miquido/alertmanager-webhook-forwarder/tree/master) |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Circle | [![CircleCI](https://circleci.com/gh/miquido/alertmanager-webhook-forwarder/tree/develop.svg?style=svg)](https://circleci.com/gh/miquido/alertmanager-webhook-forwarder/tree/develop) | [![CircleCI](https://circleci.com/gh/miquido/alertmanager-webhook-forwarder/tree/master.svg?style=svg)](https://circleci.com/gh/miquido/alertmanager-webhook-forwarder/tree/master) |## Docker Guide
### Build
```sh
docker-compose build --pull
```### Run
```sh
docker-compose run --rm cli help# or
docker-compose up server# 2nd terminal
curl http://localhost:8080/healthz
```### Lint
```sh
docker-compose run --rm go
```## Go Guide
### Init
```sh
export GO111MODULE=on
go mod init
go mod download
go mod verify
```### Run
```sh
go run main.go help
```### Build
```sh
go build -o alertmanager-webhook-forwarder main.go
./alertmanager-webhook-forwarder help
```