# dql query for summarize count ofthis endpoint

**URL:** <https://community.dynatrace.com/t/dql-query-for-summarize-count-ofthis-endpoint/55151>\
**Category:** DQL\
**Tags:** dql\
**Created:** [March 2, 2026, 9:53am UTC](https://community.dynatrace.com/t/dql-query-for-summarize-count-ofthis-endpoint/55151 "2026-03-02T09:53:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gasperetta](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@gasperetta](https://community.dynatrace.com/u/gasperetta)\
**Post date:** [March 2, 2026, 9:53am UTC](https://community.dynatrace.com/t/dql-query-for-summarize-count-ofthis-endpoint/55151/1 "2026-03-02T09:53:38Z")

</div>

hi, i need the count of all value of this 3 endpoint.  
How can i do this?

timeseries calls\_per\_min = sum(dt.service.request.count, rate:1m), by:{endpoint.name, dt.entity.service, dt.host\_group.id}, interval: 1m  
| fieldsAdd service\_name = entityName(dt.entity.service)  
| fieldsAdd endpoint\_key = concat(service\_name, " :: ", endpoint.name, " :: ", dt.host\_group.id)  
| filter in(endpoint\_key,  
“SportSaleController :: wagerService :: bet-booker”,  
“SportSaleController :: wagerService :: bpay”,  
“SportSaleController :: wagerService :: ssbt”

)

| fieldsAdd entityName(dt.entity.service)  
| fieldsAdd lastvalue = arrayLast(calls\_per\_min)  
| fieldsAdd string = " VENDITA "  
//| fieldsAdd concat(string, endpoint.name, dt.entity.service.name, dt.host\_group.id)  
| fieldsAdd concat(string)

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [March 2, 2026, 10:59am UTC](https://community.dynatrace.com/t/dql-query-for-summarize-count-ofthis-endpoint/55151/2 "2026-03-02T10:59:34Z")

</div>

Hi,  
try this:  
Total number of calls over the selected time range (sum of all minutes)

```markup
timeseries calls_per_min = sum(dt.service.request.count, rate:1m),
  by:{endpoint.name, dt.entity.service, dt.host_group.id},
  interval: 1m
| fieldsAdd service_name = entityName(dt.entity.service)
| fieldsAdd endpoint_key = concat(service_name, " :: ", endpoint.name, " :: ", dt.host_group.id)
| filter in(endpoint_key,
  "CustomerFrontendREST :: Images :: et-large",
  "JourneyService :: findJourneys :: et-large"
)
| fieldsAdd total_calls_row = arraySum(calls_per_min)
| summarize total_calls = sum(total_calls_row)

```

 ![comm1.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/4/41e43c5fd11cdb61c61c2fcfbd8850d919b06adf.jpeg)

Current total (last datapoint),&nbsp; combined calls/min at the end of the chart

```markup
timeseries calls_per_min = sum(dt.service.request.count, rate:1m),
  by:{endpoint.name, dt.entity.service, dt.host_group.id},
  interval: 1m
| fieldsAdd service_name = entityName(dt.entity.service)
| fieldsAdd endpoint_key = concat(service_name, " :: ", endpoint.name, " :: ", dt.host_group.id)
| filter in(endpoint_key,
  "CustomerFrontendREST :: Images :: et-large",
  "JourneyService :: findJourneys :: et-large"
)
| fieldsAdd last_cpm_row = arrayLast(calls_per_min)
| summarize last_cpm_total = sum(last_cpm_row)

```

 ![comm2.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/f/fd2951c4f3445acf4246604f7265a7360539f358.jpeg)
