How to visualize API request success vs error in grafana dasboard - promql

A requirement in grafana to visualize the success vs error in one panel. Any tools can be used (Gauge, Bar chart....)
Both Error/Success should be as part of one panel using either Gauge or Bar Gauge.

Related

Showing custom badge or text on Azure DevOps Pipeline Summary Page

I have a requiement where I need to show custom badge or some kind of custom message somewhere on summary page (Pipelines -> Select Build -> Summary Page) of Azure DevOps build Pipeline based on code coverage or unit test or static code analysis.
Is it possible to customize summary page of build? I checked few links which suggest we cann't custmize summary page but create some extenions.
Please help.
There are a couple of options for adding information to the build results page that you could explore depending on the depth of information you'd like to display.
Option 1 - add a tag to the build to indicate some type of status. This can be done manually or programmatically (using a logging command) as part of the build itself which could contain additional logic and evaulations/conditions before adding a tag. Badges do appear at the top of the build results page and will show across all tabs.
Option 2 - as you did mention, extensions allow you to customize results and even show additional tabs and information on the build results page. There is a sample extension called Build Results Enhancer that can help get you started.

Changing colors on Azure Dashboard Charts and Global parameter for all tiles

We have created Azure Dashboard with custom KQL queries with 5 tiles and we want to send a OPERATION ID from one page to this Dashboard page and we want all tiles to consume this PARAMETER in the query.
Is it possible to send a global query parameter and get it used by all the tiles on the Dashboard? Also is it possible to control the COLORS on the Charts rendered in these tiles on the dashboard? Can we change the colours of this pie chart rendered or that is not possible?
Any help
Thank you
Unfortunately this is not supported out of the box with Azure Dashboards and don't anticipate it being either, there is a feature request but doesn't have many votes and no traction.
https://feedback.azure.com/forums/223579-azure-portal/suggestions/11722425-tile-background-color
The best option if you wanted rich charting like this is to go towards Power BI
https://powerbi.microsoft.com/en-us/

How to Embed Spotfire Dashboard into a webpage

I have created a dashboard in the Spotfire Desktop, and now I would like to export this dashboard with all its functionality into a webpage for internal use. How can I do it?
Spotfire Desktop does not support connecting to a Spotfire Server. it's a local-only application.
if you would like to "publish" your analysis to the web, you will need one of the following:
a TIBCO Spotfire Cloud account, where you can host any number of dashboards with various data connections and other features
an instance of TIBCO Spotfire Server, an instance of TIBCO Spotfire Node Manager, and, depending on what exactly you're trying to do, some development work using the JavaScript Mashup APIs.
Visualizations can be embedded into SharePoint web pages. However, niko is right. You still need Spotfire server.r

Application Insights not showing data in Azure Preview Portal

I have an existing web application on Azure with some very limited application insights monitoring (end point checks). I thought I would pull in the rest of the functionality so I added telemetry to my project following the instructions at http://azure.microsoft.com/en-us/documentation/articles/app-insights-start-monitoring-app-health-usage/. Everything went well and I was able to see that when I loaded a page with the instrumentation JavaScript it was indeed sending requests to azure and I was getting back no errors either in error code or in the errors array in the json response.
The GUID in the applications insights configuration file looks correct. I've also tried sending telemetry manually
private void GatherTelemetry()
{
var telemetry = new TelemetryClient();
telemetry.TrackEvent("FeedPageLoaded");
}
While all of these actions show up in the count in visual studio
there is nothing in the portal.
I have tried reopening the blades as well as logging out and in again.
What else can I try?
here are things to confirm:
if you are running your app from visual studio make sure there are events listed as sent from the output window (based on your screenshot above it looks good there)
make sure you are using our latest SDKs. .11 had some breaking changes see here: http://blogs.msdn.com/b/visualstudioalm/archive/2014/10/21/application-insights-sdk-0-11-0-prerelease.aspx
ensure the events are being sent to the AI endpoint in fiddler dc.services.visualstudio.com (looks like you are good here)
go to portal.azure.com and choose browse -> application insights and choose the app you are sending data for. you can double check by looking at the instrumentation key on the properties part. another way to get back to the portal is through the deep links made available in visual studio. on the overview blade go to the diagnostic search part to see a tail of the last telemetry events collected.
finally if you don't see data check for service issues here: http://azure.microsoft.com/en-us/status/
I'm not 100% sure, but I believe that custom events aren't yet included in the charts you are looking at. Have you checked whether you can find the events using the search functionality?
Custom events will soon be seen in the overview blade. In the mean time you can chart the trend of metric Event count. Just select any chart and open up Metric Explorer, then you can select the metric Event count. This should show you the trend of events sent.

Fixing dashboards on Team Foundation SharePoint portal

The project Dashboards will not display on my SharePoint Team Project portal, as below:
However, project data should be available. Excel Reports do work, and I can browse the cube through SSMS. I checked the warehouse web service, and it also reports everything is fine and ready:
Project Work Items, Recent Builds, and Recent Checkins web parts are all also working fine. Any thoughts on the final piece I'm missing to get dashboards to show up?
Edit: More confusing behavior; When I click Edit Page, the dashboard web parts do show up. Each pops up the confirmation asking if I want to load external queries, but after I click yes for each, it loads up fine and shows the data.
Another Edit: It appears the web parts are starting Minimized. I can click the context menu and select Restore, and then the content will show, as pictured below. However, I still have the questions why are the starting minimized and what is with the inaccurate error message in red?

Resources