Another Performance Monitoring for Android apps [without 3rd party service!]

S. Mellouk
2 min readJan 1, 2022
Kamper Android Sample

Android is shaping the way how we code by adding awesome different app architecture samples that allow our app solution to scale more and more, but app scaling means also performance monitoring.

Currently, we have many ways to monitor app performance, by using the android studio profiler, firebase performance, other 3rd party services, and we have Kamper!.

So what’s Kamper?

Kamper is a small KMM/KMP library that provides performance monitoring for your app. It is a lightweight library that relies on performance modules or performance plugins, is fully production-ready and easy/quick to integrate with your code, and last super B2B friendly (No 3rd party privacy policy to care about it except yours).
[Currently, the library supports only android]

Show me the code!

Start using the library by adding the GitHub package to your project.

repositories {
maven("https://maven.pkg.github.com/smellouk/kamper")
}

Once you add the feed then you can add your gradle dependencies like this:

Kamper is life cycle aware, you can easily add it to your lifecycle component

Or you can handle the lifecycle manually

And finally, the monitoring part!

The final result!

Real-time monitoring of app CPU usage

CPU performance monitoring

Happy performance monitoring!

Check out our full android sample.

--

--