Skip to content
Snippets Groups Projects
Commit a03e0248 authored by Krasi Georgiev's avatar Krasi Georgiev Committed by Brian Brazil
Browse files

example to show the difference between "sum by" and "sum without" (#3558)

parent cd973650
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -218,6 +218,10 @@ number of seen HTTP requests per application and group over all instances via:
 
sum(http_requests_total) without (instance)
 
Which is equivalent to:
sum(http_requests_total) by (application, group)
If we are just interested in the total of HTTP requests we have seen in **all**
applications, we could simply write:
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment