View Source PromEx.GrafanaAgent.ConfigRenderer (PromEx v1.11.0)

This module is used to render the YAML configuration file for GrafanaAgent.

Summary

Functions

Generate and write the GrafanaAgent config file.

Functions

Link to this function

generate_config_file(opts, config_dir)

View Source
@spec generate_config_file(opts :: map(), config_dir :: String.t()) :: String.t()

Generate and write the GrafanaAgent config file.