Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rollbar/rollbar-java

Rollbar for Java and Android
https://github.com/rollbar/rollbar-java

android error-monitoring error-reporting exceptions java log4j observability rollbar spring-boot

Last synced: about 2 hours ago
JSON representation

Rollbar for Java and Android

Awesome Lists containing this project

README

        


rollbar-logo

Rollbar Java SDK


Proactively discover, predict, and resolve errors in real-time with Rollbar’s error monitoring platform. Start tracking errors today!

---

[![Build Status](https://github.com/rollbar/rollbar-java/workflows/rollbar-java%20CI/badge.svg?branch=master)](https://github.com/rollbar/rollbar-java/actions/workflows/ci.yml?query=branch%3Amaster)

The current library has undergone a major overhaul between versions 0.5.4 and 1.0.0.
We recommend upgrading from prior versions of `rollbar-java`, but that process may require some
work on your end for the more complex use cases of the old library.

The code is documented with javadoc and therefore should be usable from viewing
the documentation in the source. There are examples in the `examples` directory showing different
use cases for consuming these libraries.

## Key benefits of using Rollbar Java SDK are:
- **Cross platform:** Rollbar Java SDK supports both server-side and mobile Java applications, including plaforms such as Android, Scala, Spring, Web and more!
- **Automatic error grouping:** Rollbar aggregates Occurrences caused by the same error into Items that represent application issues. Learn more about reducing log noise.
- **Advanced search:** Filter items by many different properties. Learn more about search.
- **Customizable notifications:** Rollbar supports several messaging and incident management tools where your team can get notified about errors and important events by real-time alerts. Learn more about Rollbar notifications.

## Setup Instructions
1. [Sign up for a Rollbar account](https://rollbar.com/signup)
2. Follow the [Installation](https://docs.rollbar.com/docs/java#section-installation) instructions in our [Java SDK docs](https://docs.rollbar.com/docs/java) to install rollbar-java and configure it for your platform.

## Usage

For actual usage, the easiest way to get started is by looking at the examples:

- [rollbar-java](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-java)
- [rollbar-web](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-web)
- [rollbar-android](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-android)
- [rollbar-scala](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-scala)
- [rollbar-log4j2](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-log4j2)
- [rollbar-logback](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-logback)
- [rollbar-spring-webmvc](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-spring-webmvc)
- [rollbar-spring-boot-webmvc](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-spring-boot-webmvc)
- [rollbar-reactive-streams-reactor](https://github.com/rollbar/rollbar-java/tree/master/examples/rollbar-reactive-streams-reactor)

## Release History & Changelog

See our [Releases](https://github.com/rollbar/rollbar-java/releases) page for a list of all releases, including changes.

## Help / Support

If you run into any issues, please email us at [[email protected]](mailto:[email protected])

For bug reports, please [open an issue on GitHub](https://github.com/rollbar/rollbar-java/issues/new).

## Contributing

1. [Fork it](https://github.com/rollbar/rollbar-java)
2. Create your feature branch (```git checkout -b my-new-feature```).
3. Commit your changes (```git commit -am 'Added some feature'```)
4. Push to the branch (```git push origin my-new-feature```)
5. Create new Pull Request

## License
Rollbar-java is free software released under the MIT License. See [LICENSE.txt](LICENSE.txt) for details.