We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0172f commit df6f009Copy full SHA for df6f009
lib/cache/metrics.ex
@@ -104,7 +104,7 @@ if Application.ensure_loaded(:prometheus_telemetry) === :ok do
104
metadata
105
|> Map.take([:error, :cache_name])
106
|> Map.update(:error, "unknown", fn
107
- %ErrorMessage{code: code, error: error} -> "code}: #{error}"
+ %ErrorMessage{code: code, message: error} -> "code}: #{error}"
108
reason when is_atom(reason) -> to_string(reason)
109
reason when is_binary(reason) -> reason
110
_ -> "unknown"
0 commit comments