sentry-java
leakcanary
Our great sponsors
sentry-java | leakcanary | |
---|---|---|
5 | 15 | |
1,096 | 29,118 | |
2.6% | 0.2% | |
9.4 | 8.5 | |
5 days ago | 2 days ago | |
Kotlin | Kotlin | |
MIT License | Apache License 2.0 |
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.
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?
Sentry: https://github.com/getsentry/sentry-java
leakcanary
- Armando9213
-
First-class support for apps with LeakCanary in v1.4.0!
If your app exposes a LeakCanary Launcher activity, you will be able to quickly access it through the App Details bottom sheet.
-
Is it really that bad to enable "largeHeap=true" in the Manifest ?
Highly recommend you try out Leak Canary https://square.github.io/leakcanary/
-
Memory Leak with ViewPager2 and FragmentStateAdapter
First of all, grab the LeakCanary to check if you actually have a leak. Because just the memory increasing might be completely unrelated to your ViewPager.
-
Life pro tip: store any Context you can get into a static variable to avoid any issues
It's strictly mContext otherwise it won't work as intended.
- Did you ever hear the tragedy of LeakCanary the memory leak detection library? Ironic. It could save others from memory leaks, but not itself.
-
25 Best Android Libraries, Projects, and Tools You Wonโt Want to Miss Out in 2021
Knowing when root views are detached, e.g. to detect if they might be leaking (LeakCanary).
-
Newbie here, what should I be learning to make sure my app runs smoothly and doesnt use too much memory?
https://github.com/square/leakcanary + don't try to over optimise. In the end R8 / proguard / art runtime will do so many change between what you write and what actually is done that you may be loosing time doing something that the tools does for you.
-
Android Dev Tools - Become a Master with these Tools, Collaborate Better
LeakCanary
-
I'm so bad at writing code , I don't even need proguard to make my code unreadable. Please guide me!
LeakCanary will help you find memory leaks in your code: https://square.github.io/leakcanary/
What are some alternatives?
zipkin - Zipkin is a distributed tracing system
blockcanary - Find the block code in android app
Jaeger client - ๐ This library is DEPRECATED!
AAIdrive - Implementations of some Android Auto features as unofficial IDrive apps
openreplay - Session replay and analytics tool you can self-host. Ideal for reproducing issues, co-browsing with users and optimizing your product.
ANR-WatchDog - A simple watchdog that detects Android ANR (Application Not Responding) error and throws a meaningful exception
logger - โ๏ธ Simple, pretty and powerful logger for android
TextViewRichDrawable - Android TextView with rich support of compound drawables
Bugsnag - BugSnag crash monitoring and reporting tool for Android apps
FGA - Auto-battle app for F/GO Android
LogCaptor - ๐ฏ LogCaptor captures log entries for unit and integration testing purposes
kmm-production-sample - This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.