How’s my snap faring on different distributions?

by Igor Ljubuncic on 18 June 2021

The life of an application can roughly be divided into two: everything that happens before it goes live – building, packaging, publication – and then, everything that happens after that milestone. Traditionally, on Linux, developers didn’t always have an easy way of deriving useful numbers on how their software was doing across the distrospace. Indeed, the ability to understand one’s audience’s needs, and then react to them, perhaps by improving a product, or making changes that would help grow the usage, is an important part of the software lifecycle. The question is, how (and if) can you do that with snaps?

Enter the Store

Last year, we had a pretty thorough overview of the Snap Store, and the different functionalities it offers to publishers. If you have an account, and you’ve published a snap or three, you can configure and modify a whole range of settings and options for your applications. For instance, you can upload screenshots and videos, add collaborators, trigger builds, publicize your work, and check the metrics.

By default, the metrics page displays a 30-day weekly active devices count, and a breakdown by application version. This gives you a good understanding of the overall behavior of the systems using snap. You can increase the window to get a longer view of the trends.

The timescale dropdown lets you go back up to 5 years. More interestingly, the second dropdown menu allows you to display your snap usage either by version, or by three additional qualifiers – operating system, channel, and architecture. The first is the breakdown of different Linux distributions on which your snap is installed and used.

Hover the mouse cursor anywhere on the graph, and for that given date, you will see the breakdown of the snap usage per distro, including the specific release. For example, for the shown snap, around April this year, there were 300K active Ubuntu 20.04 devices, but also about 10K Manjaro systems, roughly 5K elementary OS 5.X systems, 3K Debian 10 users, etc. The list also includes almost 600 entries (by different version breakdown) covering about 20K other devices.

The information can also be useful for less popular snaps, with only a small usage pool. It can help developers or publishers only starting their application journey better understand their decisions, like marketing campaigns, feature inclusion, community engagements, and other vectors. For example, a publisher may discover that snaps (should) make it easier for their non-Ubuntu audience to find and install the application, which can then govern future choices. Lastly, it can help address the often common public perception that snaps are used exclusively on Ubuntu.

Summary

Metrics are a hot potato in the Linux world. But they can be useful, both to the publishers and the end user, without having to compromise on user privacy. The bulk division by distribution release, in addition to the raw numbers, available in the Snap Store provides application developers with good visibility of their work, their actions, and the sentiment in the community. In the end, this information can help produce better software and better user experience, one of the core goals and purposes of the cross-distro nature of snaps.

Photo by Mitchel Boot on Unsplash.

Newsletter Signup

Related posts

Want to publish a snap? Here’s a list of dos and don’ts

Technology is a medium that enables us to achieve things in life, ideally in a pleasant way. In the software world, operating systems, programming languages and application frameworks are the tools of the trade. But you need the right tool for the right job. If you’re thinking about writing or porting your code to snaps, […]

What is an IoT marketplace?

The Internet of Things (IoT) ecosystem is expanding at a rapid rate, with the number of devices growing every year. The increase in physical hardware being manufactured multiplies the amount of software needed to perform various functions on new platforms. There are a range of IoT use cases, including voice-controlling the lights in your […]

Snap usage metrics now available on the command line

For years now, developers and publishers could view how well their snaps are performing in terms of usage and popularity through the Snap Store Web interface, using the metrics tab. This functionality allows people to examine the cause and effect of their work, like software updates, marketing campaigns, or other events. But it requires m […]