max(set[])

Given an arbitrary number of series, returns a single series where each value is the largest value at that point in time in all of the input series.

max(s("foo.metric","*bar*",{function:"max"}))