Skip to content

cpraehaus/grafana-appcenter-datasource

 
 

Repository files navigation

App Center Data Source for Grafana

Summary

Introduction

What is the App Center Data Source for Grafana?

The App Center Data Source for Grafana is a plug-in that allows users to build dashboards in Grafana using data from App Center.

What Grafana version is supported?

Grafana 7.2 and later.

What does the Data Source require to connect to the App Center?

The Data Source requires a App Center User API Token (with Full Access) in order to connect to App Center API. This token can be generated on App Center Setting page (https://appcenter.ms/settings).

Getting Started

Install using grafana-cli

Use the grafana-cli tool to install from the commandline:

grafana-cli plugins install thalysantana-appcenter-datasource

Run using docker

docker run -d -p 3000:3000 --name=grafana -e "GF_INSTALL_PLUGINS=thalysantana-appcenter-datasource" grafana/grafana

Settings

Configure the required properties:

Query

Supported Operations

Orgs - List available organizations. (table)

Query

Apps - List availabe apps for the configured organization. (table)

Query

Error groups - List error groups for the configured apps over a range period. (table)

Query

Errors - List errors for the configured apps over a range period. (table)

Query

In order to list errors, App Center requires an error group id to be informed. This can be done by creating a variable errorGroupId on the Errors dashboard, and creating a link on the Error Groups dashboard to fill this variable. Follow the steps below.

Variable creation

Query

Link creation

Query

Query

Errors count - List errors count for the configured apps grouped by version. (graph)

Query

Feedback

I would love to hear from users, developers and the whole community interested by this plugin.

  • Ask a question, request a new feature and file a bug with GitHub issues.
  • Star the repository to show your support.

Contributing

  • Fork the repository.
  • Find an issue to work on and submit a pull request

License

  • Apache License Version 2.0, see LICENSE

About

Grafana plugin to access App Center data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.3%
  • JavaScript 1.7%