Two metrics in a single chart applicationinsights - performance

I am trying to get multiple metrics in Single chart like comparing Volume or trends for multiple days
Can someone help me with a sample Query in ApplicationInsights how to compare multiple trends ?

From the Metrics Explorer blade in Application Insights, you can create charts that plot multiple metrics lines or show multiple metric charts at once.
For example, the following screenshot shows 2 charts: one with the Availability Test duration, and the other plotting multiple metrics like Availability test results, Failed requests, and TrackExceptionCalls on a single chart:
Once you have your charts plotted, you can go ahead and pin them to a Dashboard.
Reference: Create views with multiple metrics and charts

Related

How to label x-axis with non-time series data in Grafana with Elasticsearch data source?

I have a dashboard in Grafana that displays the percentage of utilization of multiple servers. The x-axis is labeled with time-series(timestamp), I want to label it as server names.
This is how x-axis looks like with time series.
This is what I want the graph to look like
Note: The data source is strictly Elasticsearch and cannot be converted to MySQL.
You would probably want to flip your axes - X to Series instead of Time - that would allow you group by series. Something like below (sourced from https://play.grafana.org/d/000000014/elasticsearch-metrics?editPanel=1)

AWS Quicksight and multiple drill downs

I am after a way to drill down multiple visuals at the same time. They all contain the same drill down structure (Department, User, ID). The closest I found is using a filter action which brings focus across multiple visuals.

How to integrate Elasticsearch for Realtime Visualization?

I am trying to visualize my data which is in elasticsearch and using Kibana5 for that.
But the problem is what Kibana visualizes is not realtime visualization. If I update my data then I need to visualize that again and need to reflect on my dashboard, but this is not what I am looking for.
This particular problem I am facing while I am trying to embed the iframe with some PHP script.
I want to know how I can automate the process? How I can make the visualization real time and also do not want to interfere many times?
Kindly suggest me what is the possible solution.
Kibana5 will constantly listen to the elastic search according to the refresh interval.So set refresh interval to a minimum value (around 5 sec) so that kibana will be update in every 5 seconds

How to create visualisation on the fly using a script in Kibana 4

I have some requirement where I need to create different visualization for different users which will differ very slightly on the query param. So, I am considering to create a script which will enable me to do this.Have anyone done this on Kibana 4. Some pointers on how to create visualization using query would be of great help.
I would also like to create Dashboards on the fly but that can wait till I get this one sorted out.
If you want to go ahead with Java plugin (as mentioned in comments), here are the steps:
Create different visualizations with different X-axis parameters. Visualizations are basically json strings so you can write a java code which changes the value of x aggregation based on the mapping that you have. Now each chart will have different ids.
While you are creating a custom dashboard based on the user, check the mapping between user and the visualization and use the following command to add the visualization:
client.prepareIndex(,"visualization",).setSource().execute();

Filtering Graphite metrics by server

I've recently done a lot of research into graphite with statsD instrumentation. With help of our developer operations team we managed to get multiple servers reporting metrics to graphite, and combine all the metrics. This is partially what we are looking for, however I want to filter the metric collection by server rather than having all the metrics be averaged together. The purpose of this is to monitor metrics collection on a per server basis, as many of our stats could also be used to visualize server uptime and performance. I haven't been able to find anything about how this may be achieved in my research, other than maybe some trickery with the aggregation rules.
You should include the server name as the first path component of the metric name being emitted. When naming metrics, Graphite separates the metric name into path components using . as the delimiter between path components. For example, you may want to use a naming schema like: <data_center>_<environment>_<role>_<node_id>.gauges.cpu.idle_pct This will cause each server to be listed as a separate category on http://graphite_hostname.com/dashboard/
If you need to perform aggregations across servers, you can do that at the graphite layer, or you could emit the same metric under two different names: one metric name that has the first path component as the server name, and one metric name that has the first path component as a value that is shared across all servers you want that metric aggregated across.

Resources