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.
Unicellular protozoa and algae are unicellular eukaryotes. Pluricellular algae are also eukaryotes of simple structure. Protists are believed to be the phylogenetic ancestors of the living organisms of the other eukaryotic kingdoms (fungi, animals and plants).