LeanIX - Product Documentation

Welcome to the LeanIX Product Documentation. Here you will find all the basic information you need to start working with LeanIX. We provide you with well-structured information on how to get more out of LeanIX, best-practices and use-case specific guidelines. Feel free to spread this product documentation in your company and use it as a common information source to answer your colleagues’ most urgent questions.

Get Started

LeanIX Metrics

LeanIX Metrics helps you to display KPIs and their development over time in the context of the right Fact Sheet.

In modern IT organizations, a wide range of expert tools generate high amounts of data. The big challenge is to leverage this data. According to Gartner, 90% of the information assets from big data analytics efforts through 2017 will be siloed and unleveragable. LeanIX Metrics allows to display time series data in the context of Fact Sheets and thereby establish a useful business context.

Examples

The following video gives you 5 concrete examples how to use LeanIX metrics - you can also access the slides:

LeanIX Webinar: The 5 biggest EA challenges solved with real time metrics

Please also check our whitepaper to learn more:

LeanIX Metrics - Data is Only Valuable in the Right Context

Developer Resources

Import your first metric

To import your first metric, go to https://eu-svc.leanix.net/services/metrics/v1/docs/#/points or USA customers please navigate to https://us-svc.leanix.net/services/metrics/v1/docs/#/points . You need to create an API Token and enter it on the top right to execute queries directly from the API documentation.

In the documentation, enter the following JSON and hit "try it out"

{
    "measurement": "My First Metric",
    "workspaceId": "<your workspace ID>",
    "time": "2018-02-14T07:15:00.544Z",
    "tags": [{
            "k": "factSheetID",
            "v": "<your fact sheet ID>"
        }
    ],
    "fields": [{
            "k": "Availability",
            "v": "99"
        },
    {
            "k": "ResponseTime",
            "v": "123"
        },   
    {
            "k": "NumberOfUsers",
            "v": "12"
        }        
    ]
}

You need to adapt and to your context. Now, go to Admin - Metrics, and you should see the first measurement.

Export data from Metrics

Similarly, we provide an endpoint to export data from Metrics via API: https://eu-svc.leanix.net/services/metrics/v1/docs/#!/measurements/getMeasurements, USA customers please navigate to https://us-svc.leanix.net/services/metrics/v1/docs/#!/measurements/getMeasurements .

You would need to provide a query, e.g. to get all available data for a certain fact sheet ID:

{
  "q": "\"factSheetID\"='<your fact sheet id>'",
  "workspaceId": "<your workspace ID>"
}

Use Python

We provide a showcase python implementation here: https://github.com/leanix-public/scripts/tree/master/importMetrics

Use Java

The following video gives you a step-by-step tutorial how to import your first Metric via Java.

LeanIX Tutorial Real Time Metrics Add On

API Documentation

See for https://dev.leanix.net/v4.0/docs/api-overview#section-metrics-api-real-time-data for technical information on the Metrics API.

Updated 4 months ago

LeanIX Metrics


LeanIX Metrics helps you to display KPIs and their development over time in the context of the right Fact Sheet.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.