Turns the information enclosed in the provided Environment instance into a TagSet.
Returns a TagSet instance with information from the provided Environment, using the provided Config to read the configuration settings for the transformation.
Returns a TagSet instance with information from the provided Environment, using the provided Config to read the configuration settings for the transformation. The configuration is expected to have the following structure:
config { include-host = yes include-service = yes include-instance = yes exclude = [ ] }
If any of the settings are missing this function will default to include all Environment information.
Returns a TagSet instance with information from the provided Environment, using the provided config path to retrieve the settings for the transformation from Kamon's Config.
Returns a TagSet instance with information from the provided Environment, using the provided config path to retrieve the settings for the transformation from Kamon's Config. The configuration on the provided path is expected to have the following structure:
config { include-host = yes include-service = yes include-instance = yes exclude = [ ] }
If any of the settings are missing this function will default to include all Environment information.
Utility class for creating TagSet instances out of Environment instances. When an Environment is turned into tags it will generate the following pairs:
Most uses of this class are expected to happen in reporter modules, where the Environment information should usually be exposed along with the metrics and spans.