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

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

Link to this section Summary

Functions

Generate and write the GrafanaAgent config file.

Link to this section Functions

Link to this function

generate_config_file(opts, config_dir)

View Source

Specs

generate_config_file(opts :: map(), config_dir :: String.t()) :: String.t()

Generate and write the GrafanaAgent config file.