What to show on the SonarQube Default dashboard? - sonarqube

I would like to show something across all projects in the Default dashboard, so everybody can see something make sense. Can someone give me some good examples?

Looking at https://sonarqube.com/, the top 3 widgets show a View, but below that, is a Measure Filter widget which shows the results of an instance-wide search. There are a number of Measure Filter visualizations available.
The docs describe how to create and save the filter, then display it in a widget.

Related

Display count of filtered records

I am working on a dashboard with multiple filters.
I want to know if there is a way to display a count of filtered record.
E.g. If I hover on that particular filter after submitting the value, it should display the result.
Or if I could add a textbox somewhere around the main dashboard.
Any help or pointer will be appreciated.
I already checked countover and other functions and tried implementing in the code and at the analysis level but it never worked for me.
Cheers,
Anant
This was resolved with the help of Insight.
I was able to add another visuals which were showing count of filtered records.

Is it possible to render Adaptive Cards with Autocomplete Input Text Field in MS Teams

I have the bot which working in MS Teams channel. I use it for creating some FTP groups and other stuff. The key problem, that now i have the large number of that groups and i wanna to filter them, before creating a new one. Is it possible to implement autocomplete for input text-box? I'm trying to use input choice set as a drop down list, but is not good solution, because I have about 200-300 groups, and its very annoying to scroll them down. If you have any solutions, please share it!:)
This is not possible yet. The Adaptive Cards roadmap can be found here.
What you are looking for is 'dynamic searchable select menu (like select2), which is on the roadmap, but currently not planned.
Yes, as #Mick said this feature was not implemented yet. But I hv some workaround to acheive this. We can convert the normal dropdown to the searchable dropdown using select2 jquery plugin.This helps the user to search the value in the dropdown without scrolling for a long time.
I hv attatched the images
1.before plugin how dropdown looks like
2. after plugin how it looks like
below which U can find the difference here
U can simply use jquery cdn and select2 cdn for getting these features.
Now inside the script tag u can write like this
$('select').select2();
So that all te dropdowns will changes to searchable/filterable dropdowns.
Refer this link https://select2.org/getting-started/basic-usage if u have any doubts on how to use this.
This worked for me.

Kibana custom control for boolean filters

I am using Kibana 7.1, and want to have a control to turn on filters, e.g. I would like a switch like control that would turn a filter on/off and allow us to see data through that context? Does this exist somewhere? Is there a good tutorial on how to make a custom control?
Thank you!
As you stated in the comments section, you want to use a control that affects filters on dashboards/visualizations. For this use case one would create a controls visualization. Therefore click on Visualize -> Create Visualization -> Controls.
You can decide between an options list and a range slider. I've created an options list on the agent.hostname field on filebeat indices.
Check out the options tab as well for fine tuning your needs.
Since this is a normal visualization, you can add it to your dashboard and apply filters via the options list and range sliders. If you checked 'Update Kibana filters on each change' on the options tab in the controls visualization, the filters will be applied to the data on the dashboard.
I hope I could help you!

Modify scale of Datadog metric

I have a time series presenting time values like this one:
I want to change the y-axis to represent hours instead of milliseconds, i.e. divide by 3600. Any idea how to do it?
This can be achieved in two ways.
If you only want this logic to applied on this one graph, you can divide metric either using the UI editor and clicking advanced or using the JSON editor:
UI Editor: http://cl.ly/1c0K2O3P1E2K
Or JSON editor: https://help.datadoghq.com/hc/en-us/articles/203764925-How-do-I-use-arithmetic-for-my-time-series-data-
Alternatively, you can use the Metric Summary page to edit this metric's metadata and alter this metric's unit throughout the application as seen here: http://cl.ly/2x0Z290w2I3V
https://app.datadoghq.com/metric/summary
Hope this helps. Also, you can reach out to support#datadoghq.com if you run into any other issues in the future.
You can update metric unit to correct type on Metric details sidepanel of Metrics Summary page: https://docs.datadoghq.com/metrics/summary/#metric-unit.
You can get to Metrics Summary page by opening edit tab of your dashboard, clicking on your metric, and clicking on Edit in Metrics Summary link.

Google Sheets Formula assistance

first time poster here.
I think this is the first time I've not managed to find what I'm looking for via the search.
I have recently started a project to increase my understanding of Excel/Google Sheets. This project is something I will be doing in my own time with no financial gain.
I am however having some difficulty with my formulas. What I'm looking for is a nudge in the right direction or maybe an example from someone more experienced than me. I have linked a Google Sheets document below for anyone interested in helping me with my formulas.
https://docs.google.com/spreadsheets/d/1mY13e-75dBYfKgkjV8dFFFEvxC838nGNxPrUdusc0PA/edit?usp=sharing
Anyone using the above link has comment capability.
As you can see my formula in the "results" cells will search my "Dishwasher data" sheet and pull all the relevant data through to the correct cell. While this was completely intended (took me ages), I would like to add a second alternative criteria to my search.
While I want to be able to search by "product code" I also want the ability to search by "Model number", as an alternative means of searching and pulling the data through. I have tried a few different things like using IFERROR instead of ISERROR etc. I just cant seem to figure it out.
Part 2:
The second stage of my project was to have a more advanced search tool. You will see the "tools" under "list searches".
Example 1, I want to be able to search and display a list of all models under or equal to "X dB", the list should be displayed under D13,J13 and below.
The more complex of the two "advanced" searches would be the decor panel height. Displaying all models where the "customer decor panel height" is between the max and min the appliance can support. So a <=Max >=Min formula, but I still have no idea how to form a list with all "viable" options.
I'm assuming some sort of FILTER can be used possibly?
Again this ties in with my first formulaic issue, I do not understand how to have optional or alternative criteria in a formula that can both be displayed in the same cell range.
Any help on this would be much appreciated!
Thank you for your time!
I left some comments on your sheet regarding using list of items rather than typing in values.
I've made a copy of your sheet and can lookup things via model number or product code.
I used this in the product code lookup
=If(A4>0,vlookup(A4,'Dishwasher Data'!B:I,1,False),vlookup(A7,'Dishwasher Data'!A:I,2,FALSE))
This looks at cell A4, if it has data, it looks it up, if there is no data in A4, it will lookup A7 instead (Model number)
This formula can be repeated in the sheet and adjusted.
For the filter on the noise level.
Put this somewhere and enter a noise level.
=FILTER('Dishwasher Data'!A:A,'Dishwasher Data'!H:H <=A11)
At the moment it's only returning the Model number.
If you wanted the whole table, change 'Dishwasher Data'!A:A to 'Dishwasher Data'!A:I
Here is my demo sheet.
My demo sheet

Resources