From 82e99b53df153db7390c59a9b9c7c84fcf48f978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Gr=C3=A5borg?= <128384750+kivra-mikgra@users.noreply.github.com> Date: Fri, 13 Sep 2024 19:42:38 +0200 Subject: [PATCH] docs: clarify detach on error (#247) --- lib/prom_ex/metric_types/polling.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/prom_ex/metric_types/polling.ex b/lib/prom_ex/metric_types/polling.ex index b2080ea..d015974 100644 --- a/lib/prom_ex/metric_types/polling.ex +++ b/lib/prom_ex/metric_types/polling.ex @@ -14,8 +14,8 @@ defmodule PromEx.MetricTypes.Polling do - `poll_rate`: An integer representing the millisecond between metrics samples. - `opts`: A keyword list of options to configure the execution of the polling job. The supported options are currently: - - `detach_on_error`: Configures whether your MFA will continue to be invoked - even after it encounters an error. The default for this is `true`. + - `detach_on_error`: Configures whether your MFA will stop being invoked + after it encounters an error. The default for this is `true`. """ @type t :: %__MODULE__{