Skip to Content
Author's profile photo Paul Aschmann

Metric² for SAP HANA (v2.0)

After releasing metric² at TechEd Las Vegas last year it has had well over a hundred downloads, and has a couple loyal followers always offering advice and feedback (which I am truly thankful for). Last week we released version 2.0 of the free and open source app and subsequently put it onto GitHub under the MIT license which you can find here.

The biggest changes of the new version of metric² include:

  • A new UI (Twitter bootstrap based)
  • The ability for users to create their own account
  • A few new metrics
  • No longer uses SAPUI5 (a blog post in itself!)
  • The biggest change was the front-end/UI and the code has been refactored and split up into multiple library files (XSJSLib) and is simplified for easier reading.

You can download the source code over at Github or you can download the HANA Delivery unit file (tgz) here.

The primary goal of the app is, and always has been to try and visualize your big data. Along with providing a self service tool to monitor and provide insights on the data you have in, and around your HANA system, while using it to the fullest.

Short Survey

I am in the process of trying to understand where to take the app in terms of use and direction and if you are interested in helping guide the discussion, if you have downloaded, used or seen the app I would greatly appreciate if you took 1 minute to complete a short 5 question, multiple choice survey here.

(Read further below for Future updates and the mobile app) ,,,

Below are a few screenshots of the new version (2.0):

Screen Shot 2014-07-06 at 9.11.31 PM.png


Mobile App

If you are a HANA admin, or are simply managing your own dev instance for learning HANA, a new iOS app called metric2 – Admin will be in the app store within the next month, it will be a free app with some pretty basic core metrics centered around HANA performance/availability. Below are a few screenshots of the upcoming mobile app:

Screen Shot 2014-07-15 at 3.37.38 PM.png

Next Release

A couple of new features for the upcoming release (v2.1) are centered around some new metrics, including support for iBeacon devices (upload a map, designate regions and you can monitor and track from the live dashboards). Another metric in the process of being developed is around quickly and easily showing twitter sentiment using your HANA instance. Using HANA Live views will also be included as a data source option for the metrics allowing you to make use of the predefined SAP designed views. From a code perspective I am in the process of pulling out widgets to be independent, upgradable and customizable without touching the core code.

As usual if you are using the app in your environment I am always looking for ways to improve it and the feedback provided so far is invaluable. Feel free to leave a comment or reach out to me here on SCN

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Jason Scott
      Jason Scott

      Looks fantastic.

      Please do write "No longer uses SAPUI5 (a blog post in itself!)" - sounds interesting...  😉


      Author's profile photo John Patterson
      John Patterson

      looks awesome Paul, well done

      for the live dashboards and notifications are you pushing events and data from HANA or are they scheduled pull requests?

      Had a look around XS and couldn't see how to push, interested to hear if its possible.



      Author's profile photo Paul Aschmann
      Paul Aschmann
      Blog Post Author

      Hi John, they are still pull requests 🙁 I did try to hack utilize the debugging web socket and reuse them instead of polling but had no luck. A change coming up is to use the xsjob scheduler for the custom alert checks.

      Cheers, Paul

      Author's profile photo John Patterson
      John Patterson

      Hi Paul

      Thanks for replying.

      I had a dig around products like the KPI Modeller and Lumira etc and couldn't see any evidence of push capability in them either, so much for Event Driven.

      IMO SAP are missing a big opportunity with XS Engine by not making it simple to do full stack web development. Things you take for granted in Nodejs and even ABAP like file processing and streaming data from a server seem to be completely missing, also I would have thought OData was meant to be its strength but the SQL -> EDM type mapping seems very limited, for example I tried to port an existing app and found there was no Edm.Boolean, Binary, Guid, DateTimeOffset etc.  SAPUI5 controls rely heavily on boolean values!! plus there is no way of over writing the SQL -> EDM default mapping, something you take for granted with SAP Netweaver Gateway.

      But on the plus side, a lot of the SQL stuff rocks.

      Keep us posted on the xsjob stuff, sounds promising.



      Author's profile photo Paul Aschmann
      Paul Aschmann
      Blog Post Author

      Hey John,

      Good to know your also searching for a solution 🙂 T

      WRT: Full stack web development - I agree and hope we will see some progress on this shortly and the OData data types do seem to be a little disconnected from SAPUI5. However, I expect this will probably change in the near future and the development efforts of *UI5 and XS will be a bit better aligned.

      Re: SQL - Yes, it does rock 😉



      PS. Thank you for your comment!

      Author's profile photo Former Member
      Former Member


      Does it support centralized monitoring ( like  a client server architecture)

      Mean while i am not able to get .tgz package, It is getting downloaded in zip format.