From fc7141ed7cdc578b9cb32437314e6fcf994831c9 Mon Sep 17 00:00:00 2001 From: Martin Wiso Date: Thu, 7 Aug 2025 21:21:02 +0200 Subject: [PATCH] Fix incorrect spec for report_custom_metric --- lib/new_relic.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/new_relic.ex b/lib/new_relic.ex index 73696de..4250a34 100644 --- a/lib/new_relic.ex +++ b/lib/new_relic.ex @@ -376,7 +376,7 @@ defmodule NewRelic do NewRelic.report_custom_metric("My/Metric", 123) ``` """ - @spec report_custom_event(name :: String.t(), value :: number()) :: any() + @spec report_custom_metric(name :: String.t(), value :: number()) :: any() defdelegate report_custom_metric(name, value), to: NewRelic.Harvest.Collector.Metric.Harvester