# SLOs service / Request score

**URL:** <https://community.dynatrace.com/t/slos-service-request-score/43357>\
**Category:** Automations\
**Tags:** dynatrace-managed, services-classic, slo\
**Created:** [December 25, 2023, 8:49am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357 "2023-12-25T08:49:17Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [December 25, 2023, 8:49am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/1 "2023-12-25T08:49:17Z")

</div>

Hello,

I’m just starting to figure out SLOs and i had the idea of giving a score to a certain service.

I was thinking of combining multiple metrics in an equation to have a final single score given to a requets for example.

The first thing i had in mind was :

Availability

Success rate

Response time

Success rate would be total requests - total errors of the requests

Response time would be for example the number of requests under 3 seconds

Availability : i don’t know how to calculate it for the moment.

And then sum all and divide by the total to get the average and that would be the score

and then set target to that specific score.

Example

Availability : 100 %&nbsp; &nbsp;Success rate 98%&nbsp; response time 96%

Score : 98%&nbsp; =\> ((100+98+96)/3)

Did anyone else work with this, do you have any suggestions or examples you already implemented as SLOs

I would love to know what you guys did with SLOs

---

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [December 22, 2023, 3:15pm UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/2 "2023-12-22T15:15:24Z")

</div>

Hello,

I’m just starting to figure out SLOs and i had the idea of giving a score to a certain service.

I was thinking of combining multiple metrics in an equation to have a final single score given to a requets for example.

The first thing i had in mind was :

Availability

Success rate

Response time

Success rate would be total requests - total errors of the requests

Response time would be for example the number of requests under 3 seconds

Availability : i don’t know how to calculate it for the moment.

And then sum all and divide by the total to get the average and that would be the score

and then set target to that specific score.

Example

Availability : 100 %&nbsp; &nbsp;Success rate 98%&nbsp; response time 96%

Score : 98%&nbsp; =\> ((100+98+96)/3)

Did anyone else work with this, do you have any suggestions or examples you already implemented as SLOs

I would love to know what you guys did with SLOs

---

<div class="post-metadata">

**Author:** ![Slawa](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Slawa](https://community.dynatrace.com/u/Slawa)\
**Post date:** [January 2, 2024, 4:17pm UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/3 "2024-01-02T16:17:57Z")

</div>

Are you sure at all  
that you need composite SLO?

Every parameter you would like to combine into 1 SLO will affect on  
- debug time

- decision about severity

- time to react

- and indeed you will face with cross-team knowledge transfer overhead

Think about what is critical in your service/app  
Maybe generic service SLO is not applicable and need to focus on 3-5 main API endpoints wich are historically making 80% of troubles (paret rule)

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 2, 2024, 4:27pm UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/4 "2024-01-02T16:27:44Z")

</div>

Hi&nbsp;[@SOBE](https://community.dynatrace.com/user/63104)&nbsp;,

I think you’ll get the information you’re looking for in the following article: **[SLO service: Creating global SLOs](https://www.dynatrace.com/news/blog/slo-service-creating-global-slos/)**

In order to be precise when the investigation is necessary, I would advise you to do 3 SLOs and then a 4th which would be global 🙂

---

<div class="post-metadata">

**Author:** ![LukeHearth](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@LukeHearth](https://community.dynatrace.com/u/LukeHearth)\
**Post date:** [January 2, 2024, 4:37pm UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/5 "2024-01-02T16:37:05Z")

</div>

From My Experience working with SLOs i would reccomend this approach if you are looking at some kind of representation of a total score, with also additional global scores

-&nbsp; Keep your main core SLOs around , Availability ,Success rate ,Response time

- You dont have to make a Global SLO for the grouped metrics you can create a chart and in the advanced mode use the SLO metrics created and divide with a total count of SLO you are addint to your score:

(SLO1 + SLO2 … SLOx) / x

I built a small example here:

Code for the tile is this:&nbsp;((func:slo.carts\_service)+(func:slo.carts\_availability))/2

 ![luke_hearth_0-1704213218570.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3c9cecd4a19f936857149b4866732d2091bdfbf2.png)

The article posted about by Paco is fantastic and is a great way to start to get a better idea of how you can effectivly use SLOs.

---

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [January 3, 2024, 9:02am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/6 "2024-01-03T09:02:57Z")

</div>

[@Slawa](https://community.dynatrace.com/user/60907)&nbsp;we already have set specific SLOs to services but we wanted to have this new approach called score so it would be easier to know the health of a service by a single metric

---

<div class="post-metadata">

**Author:** ![SOBE](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@SOBE](https://community.dynatrace.com/u/SOBE)\
**Post date:** [January 3, 2024, 9:08am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/7 "2024-01-03T09:08:51Z")

</div>

[@LukeHearth](https://community.dynatrace.com/user/27697)&nbsp;exactly what i was talking about !

Thank you for the example, i’ll try to start with that.

one more question, is availability and success rate the same thing ?

---

<div class="post-metadata">

**Author:** ![LukeHearth](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@LukeHearth](https://community.dynatrace.com/u/LukeHearth)\
**Post date:** [January 3, 2024, 9:13am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/8 "2024-01-03T09:13:32Z")

</div>

Hi&nbsp;[@SOBE](https://community.dynatrace.com/user/63104)&nbsp;,

In this case yes the availability SLO there is measured as the successful requests of the carts services divided by the total number of requests.

Yours,

Luke Hearth

---

<div class="post-metadata">

**Author:** ![gilgi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gilgi/32/11747_2.png) [@gilgi](https://community.dynatrace.com/u/gilgi)\
**Post date:** [January 4, 2024, 6:48am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/9 "2024-01-04T06:48:55Z")

</div>

Adding my own two cents to the discussion between&nbsp;[@SOBE](https://community.dynatrace.com/user/63104)&nbsp;and&nbsp;[@LukeHearth](https://community.dynatrace.com/user/27697)&nbsp;:

The metric tile is a great solution. That being said, whether you should go for that or for a global/metric expression based SLO is a question of requirement. Remember that SLOs provide not just the end score but also alerts and means to evaluate your eror budget. This goes deeper into SRE methodologies so if you are using your total service score in order to make decisions about future developments/bug fixes, etc - perhaps SLO would be the better solution.

In any case - just as you create the metric tile with a complex expression, you could do the same to create an slo which is based on the same metric expression.

Gil.

---

<div class="post-metadata">

**Author:** ![LukeHearth](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@LukeHearth](https://community.dynatrace.com/u/LukeHearth)\
**Post date:** [January 4, 2024, 9:12am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/10 "2024-01-04T09:12:01Z")

</div>

Great Point here&nbsp;[@gilgi](https://community.dynatrace.com/user/12008)&nbsp;,

Both of our solutions here are accptable and meet the needs of this question. Making this into a SLO has its own advantages such as enabling burn rate alerting so i agree with your point above. I believe your solution above is a great enhancment to my solution after users get comfortable and are happy with the advanced data explorer metric maths that i posted above.

Yours,

Luke Hearth

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 4, 2024, 10:55am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/11 "2024-01-04T10:55:49Z")

</div>

[@gilgi](https://community.dynatrace.com/user/12008)&nbsp;,  
I completely agree, that’s why I proposed the article and why I configured it this way on my side.  
Creating SLOs and processing alerts on them allows you to better process strong signals as well as to be less overwhelmed by all independent problems

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [January 4, 2024, 12:10pm UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/12 "2024-01-04T12:10:01Z")

</div>

And let me add another article :

> **[Implementing service-level objectives to improve software quality](https://www.dynatrace.com/news/blog/implementing-service-level-objectives/)**
>
> Implementing service-level objectives helps teams deliver great apps. Here are best practices and guidance for implementing SLOs.

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 5, 2024, 9:50pm UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/13 "2024-01-05T21:50:36Z")

</div>

hi,&nbsp;[@SOBE](https://community.dynatrace.com/user/63104)&nbsp;  
This post is a duplicate with this one :&nbsp;[https://community.dynatrace.com/t5/Open-Q-A/SLOs-service-Request-score/m-p/233351#M30291](https://community.dynatrace.com/post/233351#M30291)

[@MaciejNeumann](https://community.dynatrace.com/user/6), What is the process for removing duplicates?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [January 7, 2024, 11:16pm UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/14 "2024-01-07T23:16:34Z")

</div>

Hi,

I have just move it as duplicate.

Best regards

---

<div class="post-metadata">

**Author:** ![MaciejNeumann](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@MaciejNeumann](https://community.dynatrace.com/u/MaciejNeumann)\
**Post date:** [January 8, 2024, 10:35am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/15 "2024-01-08T10:35:22Z")

</div>

Hi&nbsp;[@gbaudart](https://community.dynatrace.com/user/64996),

Usually, we’ll merge the threads into one, in case of duplicates - the comments and the main question from the second thread are then transferred into comments to the first one, so we won’t miss any content posted in both threads. If we catch the duplicate before anything is posted, we’re just deleting it.

As for the process - you can either ping anyone from the Community team in the message, or mark the post as spam/report it from the dropdown menu.

---

<div class="post-metadata">

**Author:** ![MaciejNeumann](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@MaciejNeumann](https://community.dynatrace.com/u/MaciejNeumann)\
**Post date:** [January 8, 2024, 10:35am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/16 "2024-01-08T10:35:32Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 8, 2024, 10:37am UTC](https://community.dynatrace.com/t/slos-service-request-score/43357/17 "2024-01-08T10:37:54Z")

</div>

hi&nbsp;[@MaciejNeumann](https://community.dynatrace.com/user/6)&nbsp;,  
ok, I note it.  
Thanks for this information
