diff --git a/docs/core/metrics.md b/docs/core/metrics.md index 31b4ea99ce7..19a34cf21ad 100644 --- a/docs/core/metrics.md +++ b/docs/core/metrics.md @@ -165,7 +165,7 @@ If you want to ensure at least one metric is always emitted, you can pass `raise ``` ???+ tip "Suppressing warning messages on empty metrics" - If you expect your function to execute without publishing metrics every time, you can suppress the warning with **`warnings.filterwarnings("ignore", "No metrics to publish*")`**. + If you expect your function to execute without publishing metrics every time, you can suppress the warning with **`warnings.filterwarnings("ignore", "No application metrics to publish*")`**. ### Capturing cold start metric diff --git a/docs/core/metrics/datadog.md b/docs/core/metrics/datadog.md index eb036fd3270..ecbdf93f7f8 100644 --- a/docs/core/metrics/datadog.md +++ b/docs/core/metrics/datadog.md @@ -142,7 +142,7 @@ Use `raise_on_empty_metrics=True` if you want to ensure at least one metric is a ``` ???+ tip "Suppressing warning messages on empty metrics" - If you expect your function to execute without publishing metrics every time, you can suppress the warning with **`warnings.filterwarnings("ignore", "No metrics to publish*")`**. + If you expect your function to execute without publishing metrics every time, you can suppress the warning with **`warnings.filterwarnings("ignore", "No application metrics to publish*")`**. ### Capturing cold start metric