Azure Grafana Instance plugin installation - azure

I have created an Azure managed Grafana instance in the Azure portal ..So while trying to install some plugins(clock and polystat ) In the configuration section under plugins I was not able o find the install button that is normally visible for the locally hosted grafana . while searching for resources online I was not able to find any information about installaion of panel plugins for Azure managed grafana instance .It would be really helpful if there are some links or documents regd the installation of plugins on azure grafana instance .If there are some commands in azure grafana cli for installation of plugins please give an example command for that (Saw coomands for creation deletion etc of dashboards but didnt see any info on plugin installation for panels)

Doc https://azure.microsoft.com/en-us/services/managed-grafana/#faq is your friend:
Can I install my own plugin?
Due to security concerns, Azure Managed Grafana doesn't currently support custom plugins.
So you can't install custom plugins (except some Grafana Enterprise plugins; clock and polystat are definitely not a enteprise plugins).

Related

how to port app insights configuration from azure to config file

We enabled application insights via azure portal some time ago. Everything worked great and we want to log bit extra custom information. So we will have to include appInsight SDK and create TelemetryClient and RequestTelemetry in our code now.
Ideally, we would like to enable the exact same setting as we enabled in azure portal (e.g. enable profiling, recommended collection level, sql command and disable Snapshot debugger).
However, when I look at the appinsight config file, I realised that this file is way more complicated than what azure portal offers.
Is there a way to convert what we enabled on azure portal to the config file?
Or if I delete this config file (just add the custom field in our c# RequestTelemetry instance), will appInsights use settings from azure portal automatically?
If you are using Asp.Net Application, installing SDK by default will generate the full ApplicationInsights.Config file for you, which would do same level of monitoring as Recommended level.
https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net
And follow this to get full SQL Text:
https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-dependencies#advanced-sql-tracking-to-get-full-sql-query
If you are using Asp.Net Core Application, installing SDK by default will automatically configure everything in code (there is no ai.config in asp.net core apps).
https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core
You dont need to do anything additional to get full SQL Text in Asp.Net Core apps.
SnapShotCollector is not enabled by default, so you dont need to do anything to disable it.
Profiler: https://learn.microsoft.com/en-us/azure/azure-monitor/app/profiler#enable-profiler-manually-or-with-azure-resource-manager
For application insights, maybe you know that there is 2 ways to apply Application Insights to your .NET web applications(For details, please refer to here).
Build time: add application insights sdk
Run time: via azure portal without adding sdk to your project.
And the screenshot below shows the difference of them(you can ignore the Note section about build-time and run-time in this article, this gives users confusion and an issue is tracking that):
And for your issues, I suggest you'd better use both of them: adding sdk and also enable/disable profiler / snapshot debugger / sql command via azure portal.
I did some tracing about sql command before, without enable from azure portal, you cannot get a details sql command info from application insights with just adding sdk. Not make some changes via config file.
And there're also described in docs like below, take profiler for example:
In the profiler doc, it says: Follow these steps even if you've included the App Insights SDK in your application at build time.
And also, it would be more difficult to change appinsight config file to meet your need, there is even no official doc about these for apply profiler / sql command via config file.
I just found a blog about how to configure snapshot debugger via appinsight config file, you can take a look and try it at your side.

Azure Kudu toolbar missing menu items

I'm trying to install a site extension to my Azure web app, however my Kudu toolbar only has two menu items, environment and debug console.
Many tutorials about the topic have a site extensions menu item on the toolbar. What should i do to have site extensions on Kudu? My application is a Standard: 1 Small -tier web application.
As #Kaushal Kumar Panday said, according to your screenshot, you are using Web Apps on Linux, so there is not any site extensions which be ready for Web Apps on Windows.
Web Apps on Linux is a Docker container based on Ubuntu, which you can see it via the tab Docker Container on Azure portal and Kudu Debug console with command uname -a.
If you need to install more componets or language runtimes, you just need to use Kudu SSH terminal via the url https://<your linux webapp>.scm.azurewebsites.net/webssh/host to update the apt source via apt-get update and search for you wants via apt-cache search <keyword for package> install via apt-get install <packages of you wants> like doing these operations on local Ubuntu environment. For more details, you can refer to the offical tutorial SSH support for Azure Web App on Linux to know them.
Hope it helps.
So as I said, site extensions are not visible if the app is hosted on Azure Web App (Linux).
Currently there is no way to get the Site extensions on Azure Web App (Linux). You can list all the site extensions here: https://www.siteextensions.net/
Most of the site extensions that exists are mostly written by the community and were mainly written for IIS (Windows). You could however, create a request for this on the Azure Web Apps feedback site.
I think we should get lot more contributions from the Open Source community to create site extensions for Azure Web Apps on Linux.

How to Enable Azure Diagnostics in Cloud Services

I want to enable azure diagnostics for my azure cloud service but I'm a little bit confused.
I read the article : https://learn.microsoft.com/en-us/azure/cloud-services/cloud-services-dotnet-diagnostics. I found also that I can enable azure diagnostics in the cloud service properties page by checking "Enable Diagnostics" in the Configuration tab of the cloud service. Also I can go more advanced by clicking the Configure button that shows up when you enable diagnostics.
The cause of my confusion is why in the article says you need to download the WadConfig.xsd file and configure everything and then upload an xml file while you can do the same thing (not sure the same thing) in the cloud service properties configuration?
It seems that Azure SDK 2.5 and later allow us to enable diagnostics and configure diagnostics configuration in UI by right-clicking on the Role and selecting Properties. But developers using Azure SDK 2.4 and previous versions can not manage diagnostic configuration in Visual Studio .
For detailed information, please read this blog.

How to determine, find, install and reference a proper Azure SDK package?

I am trying to properly install Azure SDK, reference it and build an application based on it.
Firstly, I am not sure if I need to install Azure SDK on top of what comes with Visual Studio 2015.
Secondly, when I visit the following url, I fall into a "rabbit hole":
https://azure.microsoft.com/en-us/documentation/articles/dotnet-sdk/
… it refers me to a bunch of fragmented installs here:
https://azure.microsoft.com/en-us/downloads/
…. When I choose “Client libraries” in above url I get the following options: more than 100 of them!! :
https://www.nuget.org/packages?q=windowsazureofficial
My application needs to use Azure Service Bus and Azure storage. How do I determine what exactly is required and what is the best way to find and install them?
With a number of fragmented packages, I think there should be a flow chart help me to determine the packages required.
Thank you,
i would suggest you to use Web Platform Installer instead of direct download this-and-that package. WPI is much more convenient, and it installs everything needed.
For Azure SB, you will need NuGet package.
For Azure Storage, if you need to test it against your local storage first instead of trying to connect to the Azure one, you can install Azure SDK using Web Platform Installer - it will install you the Azure Storage Emulator. Details.
Azure SDK, however, is a very useful piece of software when developing for the Azure.
My application needs to use Azure Service Bus and Azure storage. How
do I determine what exactly is required and what is the best way to
find and install them?
If all you need is client libraries for Azure Service Bus and Azure Storage, you can download appropriate Nuget packages from here:
Azure Storage: http://www.nuget.org/packages/WindowsAzure.Storage/
Azure Service Bus: http://www.nuget.org/packages/WindowsAzure.ServiceBus/
If there're other packages you would need, simply search for those on Nuget's website. For example, if I need Azure AD .Net library, I would simply search for Azure Active Directory.
For Azure Storage, there's a local storage emulator that gets installed along with the SDK. However you can download just the storage emulator from here: https://azure.microsoft.com/en-us/downloads/?sdk=net (search for Azure Storage Emulator on this page).
Please note that there's no local service bus emulator at this point of time.
A Note About SDK
Azure SDK is pretty comprehensive (so is Azure) and includes tools and libraries for you to build and manage different kinds of applications that can be deployed in Azure. As Alex mentioned in his answer, going down Web Platform Installer is the easiest as it installs everything for you that is included in the SDK.
However you can also pick the components of SDK based on your project's requirements and install them individually. For example, when you go to this link: https://www.microsoft.com/en-us/download/details.aspx?id=51657, you will see all the components that constitute SDK 2.9. On this page, when you click download button you will be able to select components that want to download based on your project's requirements.

Publish deployment package into Windows Azure Web Role

I plan to use two websites in a single web role. Ref: MSDN.
I can do it easily when Web Poject source code. However I need to install Orchard & Magelia (shopping cart) together. They are available as deployment package.
Q.1. Can I wrap deployment package into azure solution?
Q.2. If not, should I download source code of orchard & Magelia then publish? I wonder how other community members are working on this !
Related question here on codeplex.
Copy binary published package via FTP to azure website.

Resources