Integrations and Resources
One of the key tenets of CloudMunch is to provide a single plane of glass for metrics from all the integration tools. An application connects to with several tools (Integrations) that are used in the application delivery like JIRA, GitHub, Jenkins, SonarQube, Artifactory and Bitbucket.
Dashboard is organized by integrations and resources. By default, the first resource of the first integration is selected and the metrics of that resource are displayed. Let's dig into what resources are and how they are related to integrations. We'll examine how Integrations, Resources and Dashboards are related and then take an example to explain the point.
What the hierarchy shows is that an Integration has one or more Resources and each Resource has multiple metrics associated with it.
Let's take an example to understand this better. We have a Web application that has two services (Web and DB) and each of they have their own repositories in GitHub. We use SonarQube for code quality and each service has its own SonarQube project.
We create an application in CloudMunch and
- Add a GitHub account that has access to both repositories and choose both repos
- Add a SonarQube Server which hosts both projects and select both projects
The application will now have two integrations (GitHub and SonarQube) and for GitHub integration two Resources (Web and DB - assuming that is the name of the repositories) with each of the resources having its own set of metrics and for SonarQube Integration it will have two Resources - one for each SonarQube project.
This is important to understand because, if we want to add another repository in the same GitHub integration, we can select the existing GitHub integration and add an additional Resource (GitHub repo) for that integration. This structure enables tracking detailed metrics for each Resource individually and also provides the flexibility to create your personalized dashboard with metrics from several Resources.
Here's a snippet that demonstrates this concept. This application has code in three different repositories. This Dashboard shows a tab for each GitHub Resource (repository).
Now that you have an understanding how Integrations and Resources are related checkout how to create your personalized dashboard with metrics from multiple resources to create a truly end-to-end DevOps insights dashboard.