Defines interface for pluggable lenses alert services integration, along with some officially supported implementations.
lenses-alerts-plugin-api
- defines the API for an alerts plugin
lenses-slack-alerts-plugin
- defines an implementation for Slack integration
lenses-alertmanager-plugin
- defines an implementation for Prometheus Alertmanager
lenses-cloudwatch-plugin
- defines an implementation for CloudWatch Events
All modules are published to Maven central. In addition, standalone JARs of each of plugin integration are available to download from Github releases, ready to drop straight into a Lenses installation.
This project uses sbt. To compile and run the tests execute
sbt +test
Initial setup:
- create
$HOME/.sbt/1.0/sonatype.sbt
with Sonatype account information:
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"YOUR_SONATYPE_USERNAME",
"YOUR_SONATYPE_PASSWORD")
- create
$HOME/.github
, with an OAuth token created as per these instructions:
oauth = YOUR_OAUTH_TOKEN
Create and publish the release:
- tag the release:
git tag vX.Y.Z
git push origin vX.Y.Z
- publish libraries to nexus
sbt +publishSigned sonatypeRelease
- publish standalone jars to github
sbt +assembly githubRelease