Open-sourcing OpenStack stats with Stackalytics


Open-source developers love their stats and also love acknowledgement of their contributions to the greater good. That’s what Stackalytics aims to do. The project was launched by Mirantis, an OpenStack Foundation Gold member.

Stackalytics, first disclosed on the OSF blog, lets you see how much a given company has contributed to any OpenStack project (based on GitHub data) and then drill down to individual contributors within that company, said Alex Freedland, chairman of Mirantis. Then you can also drill down into the contributor to see more detail about his or her work.

The goal here, as with most open source projects, is to be transparent and to evolve as needs change. Stats, as statisticians know, are open to interpretation and the idea is to let anyone question a given stat to make sure the best information is available.

If you look at the chart below, for example, you will see Dreamhost listed as the top contributor to the current Havana release of OpenStack, but that was a fluke, Freedland admitted. In that case, the large Quantum networking project was renamed and one contributor (who works at Dreamhost) reclassified a bunch of code. The auto-generated renaming process led to that anomaly which will be fixed, he said.

The next Stackalytics release will include a mechanism to vet any proposed changes to the stats. “If someone looks at a stat and feels something is incorrect, they can go in, mark it, community will review it and accept or deny that change,” Freedland told me.

Also coming is the ability for individual contributors to change their affiliation. As we all know, developers flow from company to company and right now ae  contributor’s name is hard-wired and hard to change if his or her job changes. There will also be a forum for discussing the stats and offering suggestions.


Anyone who follows OpenStack knows that companies all vie for bragging rights to being biggest contributor. Rackspace(s rax), one of the original OpenStack parents, is typically listed as “the leader” but Red Hat(s rhat) has been making similar claims of late. So, using Stackalytics, ITWorld’s Nancy Gohring checked things out looking at the four latest versions of OpenStack. Her findings:

“It’s true that Red Hat and Rackspace make up a disproportionate chunk of commits over the three most recent versions. Combined, the companies contributed 43 percent of commits in Folsom. That’s down to 35 percent in Grizzly and 33 percent in Havana.

Even 33 percent is a bit heavy for a community project. But the needle is moving in the right direction. And the long list of contributors shows that there’s a good community of companies active in OpenStack.”




I am a Phd student of Computer Science. I am really interested in your Stackalytics. I wonder what tool you are using to get the information from Git. I guess it is gitdm, isn’t it?


@Boris: the Dashboard on is fully available under the MetricsGrimoire project. Nothing proprietary there, all the default code from the nice folk at Bitergia. We picked their code becase they have a long time history of code analysis in open source communities ( Their expertise is proven and recognised in the academic world, too, where they come from (University Rey Juan Carlos in Madrid,

Boris Renski

@Stefano – with stackalytics we wanted to get to a view of various companies contributions side-by-side, rather than have a exhaustive analysis of the open source community activity that includes mailing list traffic etc., which is what’s available at the dashboard.

Having said that, we have no intent to hinder any of the community efforts and are, in fact, committed to contributing and driving it forward. Perhaps let’s connect offline and discuss how we can reconcile the efforts to get the best out of both tools.

Boris Renski

1. You can look at the number of commits with stackalytics, as well as lines of code. We are working on adding reviews and will have it within a week.

2. We didn’t fork the activity dashboard; we had to write the code. While the dashboard uses the open MetricsGrimoire project, the code for the dashboard itself is not available anywhere in the open.

Stackalytics is available on stackforge for anyone to contribute – and suggest ideas at #openstack-stackalytics IRC. We believe there should be an openstack specific, python based, open source analytics tool specifically for OpenStack that the community can drive.

3. We would love nothing less than to have dashboard use stackalytics engine and are willing to donate efforts to make this happen.

Daniel Izquierdo

Hi there,

This is Daniel from Bitergia.

I’m afraid that we should have not been clear enough when writing about this. However our whole platform *is* open source, together with databases and scripts to retrieve, parse and produce all of the data.

This was announce in the mailing list (openstack-dev) [1] at the end of May and feedback was retrieved during the last summit in Portland. And you can see the whole platform as it is in [2]. The development process is a branch of the current products of VizGrimoireJS [3] and VizGrimoireR [4] named as “openstack” in both cases.

This process is similar to the one used for the analysis of other communities such as Wikimedia as you can see in the branches of both products.

In addition, we started some weeks ago to work with the OpenStack community through the launchpad site, specifically at [5] where any developer of OpenStack can have a look if interested.

Finally, I’d like to mention and thanks people from the OpenStack community that are contributing in the *Grimoire platform participating in the mailing list [6] and in the IRC channel #metrics-grimoire in freenode.

In any case, for those interested in metrics around OpenStack, please go to the openstack-dev mailing list [7] using the topic [Metric]! :-).



Comments are closed.