Skip to content

Commit

Permalink
docs: README updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSafonov committed Sep 1, 2019
1 parent 760ca2d commit 4c623c4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@

This is a starter for spring boot application witch catch alerts from [Prometheus Alertmanager](https://prometheus.io/docs/alerting/alertmanager/).

The starter is available at: `...`
The starter is available at `https://repo1.maven.org/maven2/` repository.

Using gradle: `...`
Using gradle:

repositories {
maven {url "https://repo1.maven.org/maven2/"}
}
dependencies {
implementation 'com.github.mikesafonov:spring-boot-starter-prometheus-alerts:1.0.0'
}

The only thing you need to do after adding the dependency is to create a bean with implementation of `NotificationService` interface:

Expand All @@ -43,7 +50,7 @@ The following properties can be configured:

You can build application using following command:

./gradlew clean build
./gradlew clean build -x signArchives

#### Requirements:

Expand Down

0 comments on commit 4c623c4

Please sign in to comment.