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.
Basidiomycota are unicellular or multicellular, sexual or asexual, and terrestrial or aquatic. Indeed, Basidiomycota are so variable that it is impossible to identify any morphological characteristics that are both unique to the group and constant in the group.