fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/40907?usp=email )
Change subject: s1gw_metrics: export metric types
......................................................................
s1gw_metrics: export metric types
Change-Id: I57f0a8bbc83ec4732742ec16fe09abd2aea8127b
---
M src/s1gw_metrics.erl
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/07/40907/1
diff --git a/src/s1gw_metrics.erl b/src/s1gw_metrics.erl
index 1c3d76e..759438e 100644
--- a/src/s1gw_metrics.erl
+++ b/src/s1gw_metrics.erl
@@ -104,6 +104,10 @@
-type gauge() :: [gauge | _].
-type metric() :: counter() | gauge().
+-export_type([metric/0,
+ counter/0,
+ gauge/0]).
+
-spec register_all(Type, List) -> Result
when Type :: exometer:type(),
--
To view, visit
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/40907?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I57f0a8bbc83ec4732742ec16fe09abd2aea8127b
Gerrit-Change-Number: 40907
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>