Logging is a critical pillar of service observability. When logs are raised in a certain pattern it is often desirable to trigger alerts. Common tools or libraries allow alerts to be triggered off a threshold being exceeded or not being reached in a given time period. This library provides classes that allow you to trigger alerts in more complicated scenarios. For example:
- escalating when a log has been raised consistently for a given time period, regardless of the
volume of logs in this period
- This avoids escalation when there is a short spike in logs
- Include this sdk (assuming maven):
<dependency>
<groupId>com.echobox</groupId>
<artifactId>ebx-escalatedlogging-sdk</artifactId>
<version>1.0.0</version>
</dependency>
- GitHub Issues: If you have ideas, bugs, or problems with our library, just open a new issue.
If you would like to get involved please follow the instructions here
We use semantic versioning.
All merges into DEV will automatically get released as a maven central snapshot, which can be easily included in any downstream dependencies that always desire the latest changes (see above for 'Most Up To Date' installation).
Each merge into the MASTER branch will automatically get released to Maven central and GitHub releases, using the current library version. As such, following every merge to master, the version number of the dev branch should be incremented and will represent 'Work In Progress' towards the next release.
Please use a merge (not rebase) commit when merging dev into master to perform the release.
To create a full release to Maven central please follow these steps:
- Ensure the
CHANGELOG.md
is up-to-date with all the changes in the release, if not please raise a suitable PR intoDEV
. Typically, the change log should be updated as we go. - Create a PR from
DEV
intoMASTER
. Ensure the version in thepom.xml
is the correct version to be released. Merging this PR intoMASTER
will automatically create the maven and GitHub releases. Please note that a release is final, it can not be undone/deleted/overwritten. - Once the public release has been successful create a final PR into
DEV
that contains an incrementedpom.xml
version to ensure the correct snapshot gets updated on subsequent merges intoDEV
. This PR should also include:- An update to the
README.md
latest stable release version number. - A 'Work In Progress' entry for the next anticipated release in
CHANGELOG.md
.
- An update to the