The answer is to use a recording rule for the inner function, and then you can use the outer function on the time series it creates. You can add the path of a file to read rules from to your prometheus.yml: rule_files: - my_rules.rules . And put your rules in that file:
Fungi are both unicellular and multicellular. Unicellular fungi are yeasts. All other types of fungi are multicellular.
All other animals and all the higher plants are multicellular. On no hypothesis can we really understand the collaboration and subordination of the cell-lives of any multicellular animal. This many-celled or multicellular condition of the body is true of all the animals except the simplest, the unicellular Protozoa. Elementary Zoology, Second Edition Vernon L. Kellogg Weismann deduces from this a radical distinction between the unicellular and the multicellular organisms.