logback-android
sentry-java
Our great sponsors
logback-android | sentry-java | |
---|---|---|
1 | 5 | |
1,159 | 1,093 | |
- | 2.3% | |
3.7 | 9.4 | |
10 days ago | 6 days ago | |
Java | Kotlin | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
logback-android
-
A brief intro to SLF4J and the Java logging hell
Now we’d need to add Logback’s library, but since there are some additional steps required to run Logback on Android we can use a forked version that does all the extra work for us already: Logback-android. Now, to get Logback working we’ll need to first add the dependency and add the logback xml configuration to the application’s assets:
sentry-java
-
Methods and processes for reduce bugs in production
>As now we've introduced some peers code review, automatic testing on most critical stuff (but since the codebase sucks these aren't really reliable tests)
They may not be "reliable", but these are your safety net, or harness, so you don't fall. I wrote about similar issues, for instance here: https://news.ycombinator.com/item?id=26591067 and, given your promotion, here: https://news.ycombinator.com/item?id=37211796. It contains a few steps starting from "So...".
You can add monitoring, something like Sentry (https://sentry.io) will capture exceptions that were not handled that you have not seen because the stack trace is buried in hundreds of pages of logs or something. It groups them by exception and counts them. It's pretty awesome. (https://docs.sentry.io). It supports around 108 platforms (Java, Python, JavaScript, etc.). This lets you see the exceptions and makes prioritizing easier (which ones are the most frequent, which ones impact the most, etc.).
If you don't have them already, issue templates are really useful and the comment I linked to explains why, but here's an example of an issue template (again, you can configure them for different types of issues so team members select from a dropdown for a bug or a feature):
-
From an idea to the closed beta in 3 months and it's not an AI or ChatGPT project
But, from my understanding, it targeted only software developers that would like to have super-deep insights into the applications and is not intended for monitoring simple apps like websites. Also, I have no idea even if I embed it, whether will it be able to tell me if my resources loaded or the performance didn't go well. For example, I don't see how I can easily embed it into my website: https://docs.sentry.io/ only programming languages are listed here.
-
GraphQL Observability with Sentry
Sentry provides informative guides for many platforms. In our server's case, we apply Apollo Server v2 as an Express middleware; therefore, Sentry's Express Guide with request, tracing, and error handlers is a great starting point.
-
Integrating OpenReplay with Sentry
The last step is to extract the openReplaySessionToken from the header and add it to your Sentry scope (ideally using a middleware or decorator) in your backend. The method to do this depends on the programming language of your backend, you can consult the Sentry docs on how to configure scope. The snippet below shows how to configure a Sentry scope if your backend is built with node.js/express
-
Plato Removes Ads from the App
In a lot of cases crash report SDKs are open source?
What are some alternatives?
AboutLibraries - AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
zipkin - Zipkin is a distributed tracing system
Guava - Google core libraries for Java
Jaeger client - 🛑 This library is DEPRECATED!
RateMeMaybe - Tool for Android app development
openreplay - Session replay and analytics tool you can self-host. Ideal for reproducing issues, co-browsing with users and optimizing your product.
Gradle Retrolambda Plugin - A gradle plugin for getting java lambda support in java 6, 7 and android
logger - ✔️ Simple, pretty and powerful logger for android
AndroidPermissions
Bugsnag - BugSnag crash monitoring and reporting tool for Android apps
validation
leakcanary - A memory leak detection library for Android.