Loading...

[ServiceBus] Using Azure Managed Grafana for Azure Service Bus

[ServiceBus] Using Azure Managed Grafana for Azure Service Bus

 

Table of Content 
  • What is Azure Managed Grafana?
  • Why use Azure Managed Grafana with Azure Service Bus?
  • Setup and Configuration
    • Adding variables
  • Conclusion

 

1. What is Azure Managed Grafana?

Azure Managed Grafana is a data visualization platform built on top of the Grafana software by Grafana Labs. This is a bit different to the Grafana that you download from the grafana.com in the sense of the platform as Azure Managed Grafana is deployed from Azure Portal.
 
Therefore, you can control and configure the settings of Azure Managed Grafana from the Azure Portal such as limiting access or permission via users by using Azure Active Directory from Access Control (IAM).
 
For more details, please visit aka.ms/azuremanagedgrafana

 

2. Why use Azure Managed Grafana with Azure Service Bus?

You can see Service Bus metric on the Portal as well. However, if you wanted to see various namespaces metric at once, you would need to open multiple web pages across your monitor or monitors.
 
By using Azure Managed Grafana makes things easier to see ServiceBus Metric through one single dashboard. Additionally, Azure Managed Grafana allows filtering via variables. With these filters you can easily control the variables and be able to see different metrics of Resource Groups or Names in one dashboard without having to go back and forth between web pages. This documentation will explain how to set the variables in the later part of the documentation.
 
Lastly, the integration with Azure is so easy. You don’t have to go through the hassle of finding the endpoint and so forth. Since Azure Managed Grafana does all that for you. Also, by using the Azure Managed Grafana, the built-ins are all there for you to use.
 
In conclusion, using Azure Manage Grafana with Service Bus will make your monitoring much easier and flexible to your taste!

 

3. Setup and Configuration

① Search Azure Managed Grafana on the Azure Portal search bar.

1.png

2.png


② Create Grafana Workspace

3.png


③ Once the resource has been fully deployed, go to the resource.

④ View Overview of the resource that you’ve just created and click on the Endpoint.

4.png


⑤ You will be seeing the Grafana dashboard and you need to complete the source.

5.png


⑥ Search for Azure Monitor as below.

6.jpg


⑦ Select the subscription that you need to setup on the default subscription.
After press Save & Test and make sure you get Green Check box with successful connection.
Remember the name as this will be your Data Source.

7.png


⑧ Now you can start creating your dashboard by going to the Dashboard menu.

8.png


⑨ Add a new panel.

9.png


⑩ Make sure to set up the data source to Azure configuration setup earlier and select the resource you’d like to use as you will be able to see all the Resource Groups you own in the Azure Account.

10.png


⑪ Select the Service Bus NameSpace as your scope

11.png


⑫ After selecting the resource, please choose the metric, aggregation and Time grain as you wish.
Make sure to give the title to this chart on the left Panel Options and save the Panel.

12.png


⑬ Once this is done, you will be able to see your Incoming Request metric on your dashboard.

13.png

 

3.1 Adding Variables

① Go to Dashboard setting on the right top corner.
14.png
② Go to Variables on the left menu and add new variables.

③ Change the query to the variable name you’d like.
- You need to add Resource Name and Resource Group
15.png
- In the preview, you should be seeing your Resource Names and Groups that are associated to the Service Bus Namespace
16.png
Make sure that you add microsoft.servicebus/namespaces when adding the Resource Name.
④ Once you’ve set up the variables in the dashboard as below you need to add the variable to the metric as well so that it will change as the variable selected.

17.png

⑤ Select the metric and go to edit and press the resource in A query.

18.png

Go to Advanced, by toggling down the arrow. Add the variable as the name you’ve made with the $.

19.png

And make sure the Metric, Aggregation and Timegrain are all configured as they do get rested.

20.png

 

4. Conclusion

You can set your Dashboard as you like and stream the metric you wish on the Grafana dashboard. Also, it doesn’t just have to be Service Bus only.
You can have Storage Metric or other products along with other metrics in one dashboard.
Hope this setup documentation helped you out with setting up Azure Service Bus Metrics on Azure Managed Grafana.

21.png

 

Published on:

Learn more
Azure PaaS Blog articles
Azure PaaS Blog articles

Azure PaaS Blog articles

Share post:

Related posts

Azure Storage - TLS 1.0 and 1.1 retirement

Overview TLS 1.0 and 1.1 retirement on Azure Storage was previously announced for Nov 1st, 2024, and it was postponed recently to 1 year later...

1 year ago

Efficient Management of Append and Page Blobs Using Azure Storage Actions

  Overview In Azure Storage, Blob Lifecycle Management (BLM) allows you to automate the management of your data based on rules defined by...

1 year ago

[Azure AI Search] Internal Server Error when creating CMK encrypted objects

Scenario Customers follow the Microsoft doc to create CMK encrypted objects (data source, index etc.), but get the 500 Internal Serv...

1 year ago

Optimizing Azure Table Storage: Automated Data Cleanup using a PowerShell script with Azure Automate

Scenario This blog’s aim is to manage Table Storage data efficiently. Imagine you have a large Azure Table Storage that accumulates logs from ...

1 year ago

Optimizing Azure Table Storage: Automated Data Clean-up using a PowerShell script with Azure Automat

Scenario This blog’s aim is to manage Table Storage data efficiently. Imagine you have a large Azure Table Storage that accumulates logs from ...

1 year ago

Restoring Soft-Deleted Blobs with multithreading in Azure Storage Using C#

Blob soft delete is an essential feature that safeguards your data against accidental deletions or overwrites. By retaining deleted data for a...

1 year ago

Performing simple Azure Table Storage REST API operations using curl command.

The blog provides guidance to perform simple Table Storage REST API operations such as Create table, Delete Table, Insert entity, Delete entit...

1 year ago

Bulk delete all the old jobs from the batch account

Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task dat...

1 year ago

Utilizing Azure Storage and Runbooks for scheduled automated backups of Azure SQL Databases

In this article, we are going to provide detailed steps to create a scheduled Azure SQL Database backup to storage account using automation. T...

2 years ago

[Azure Service Bus] JMS messages getting dead-lettered

The article discusses a problem where numerous messages end up in the dead letter queue (DLQ) when the JMS service bus consumer connects to th...

2 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.