Apps query Error groups query Errors count query Errors link creation pt. 1 Errors link creation pt. 2 Errors variable creation Errors query Orgs query Settings
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:
Supported Operations
Orgs - List available organizations. (table)
Apps - List availabe apps for the configured organization. (table)
Error groups - List error groups for the configured apps over a range period. (table)
Errors - List errors for the configured apps over a range period. (table)
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
Link creation
Errors count - List errors count for the configured apps grouped by version. (graph)
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