Prometheus.ex v1.0.0-alpha3 Prometheus.Error.InvalidMetricName exception

Raised when given metric name is invalid i.e. can’t be represented as printable utf-8 string that matches ^[a-zA-Z_:][a-zA-Z0-9_:]*$ regular expression.

Summary

Functions

Callback implementation for c:Exception.exception/1

Callback implementation for c:Exception.message/1

Functions

exception(msg)

Specs

exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for c:Exception.exception/1.

message(exception)

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.