when you have multiple metrics that all have tags n1,n2,...n5 (some have n6 and n7, not sure yet if this matters).
say you want to have 1 graph, and all targets on the graph must be about a unique value of n3. irrespective of all other tag values (and whether they have the tags or not), if they have the same value of n3, they should be aggregated together.
"foo bar sum by n1,n2,n4,n5,n6,n7" doesn't just do this. not sure yet why, but it can leave multiple targets with the same value of n3.
adding an arbitrary "avg by" seems to work around the problem.
I need to set up a test case for it,
i can reproduce it internally @ vimeo using "n2=fetcher =get sum by n1,n4,n5,n6,n7 from -6hours avg by n2"
when you have multiple metrics that all have tags n1,n2,...n5 (some have n6 and n7, not sure yet if this matters).
say you want to have 1 graph, and all targets on the graph must be about a unique value of n3. irrespective of all other tag values (and whether they have the tags or not), if they have the same value of n3, they should be aggregated together.
"foo bar sum by n1,n2,n4,n5,n6,n7" doesn't just do this. not sure yet why, but it can leave multiple targets with the same value of n3.
adding an arbitrary "avg by" seems to work around the problem.
I need to set up a test case for it, i can reproduce it internally @ vimeo using "n2=fetcher =get sum by n1,n4,n5,n6,n7 from -6hours avg by n2"