Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dashboard - pie chart with HTTP status code distribution



There is a service that is integrated into Dynatrace and appears under the 'Service' category. That particular service is making HTTP calls to an endpoint that is not monitored by Dynatrace.


I would like to create a dashboard containing different kinds of charts related to the service interaction with the endpoint itself. I would like to create a pie chart that contains the HTTP status codes returned by that particular endpoint during a time period (last 24 hrs).

How can I create the pie chart? I did not find a useful metric that would help me achieve this.

Thank you


DynaMight Guru
DynaMight Guru

Hi, @theAsker , good day.

You can make the call to the non monitored endpoint as a key request (, then you can use the keyrequest metrics ( to create the dashboard.

You can also work with Multidimensional Analysis, and create calculated service metric if the builtin metrics are not enough.

Try and let us know.

Site Reliability Engineer @ Kyndryl

Thank you for the answer.

When looking at the key requests metrics I can only see an aggregation of status codes (number of 4xx, number of 5xx etc), I would like to have a pie chart with the distrbituion of all status codes. Is there a way to capture the actual http status code received?

@theAsker, you can use the Multidimensional Analysis to achieve this:

Screenshot 2022-12-02 at 17.02.17.png

First you create a view using the HTTP Status as dimension.

Then you create a calculated service metric.

Screenshot 2022-12-02 at 17.02.29.png

Finally, you can use the metric to create your tile and pin to a dashboard.

Screenshot 2022-12-02 at 17.05.33.png

Site Reliability Engineer @ Kyndryl


Why pay to create a custom metric for something that is already stored and viewable in multidimensional analysis ? 

There is no logic behind it ? 


Just a lack of a dimension on service/service_method metrics ! 


Featured Posts