Skip to content

Commit 80f66b9

Browse files
author
Pat Maddox
committed
Correct documentation about config_opts: remove MFA info.
1 parent 0b4bc2a commit 80f66b9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

lib/prom_ex/config.ex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,8 @@ defmodule PromEx.Config do
154154
read/write access to a directory in order to download and copy the GrafanaAgent binary. This is the
155155
full path to that directory.
156156
157-
* `:config_opts` - The configuration file that GrafanaAgent is started with. This option
158-
can either accept an MFA that will return a string of the full path where the YAML configuration
159-
file is, or a keyword list with options so that PromEx can generate a config file for you. If you
160-
take the route where PromEx generates a config file for you, you must provide the following
157+
* `:config_opts` - The configuration file that GrafanaAgent is started with. This is a keyword list
158+
with options so that PromEx can generate a config file for you. You must provide the following
161159
options:
162160
163161
* `:metrics_server_path` - The path where the Prometheus metrics are exposed.

0 commit comments

Comments
 (0)