Skip to content

Commit

Permalink
Merge pull request #97 from juhlig/fix_labels_type
Browse files Browse the repository at this point in the history
Fix incorrect labels type
  • Loading branch information
deadtrickster committed Jul 13, 2019
2 parents 4cae6df + cd3965c commit 2a45a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/prometheus_model_helpers.md
Expand Up @@ -94,7 +94,7 @@ label_value() = term()


<pre><code>
labels() = [<a href="#type-labels">labels()</a>]
labels() = [<a href="#type-labels">label()</a>]
</code></pre>


Expand Down
2 changes: 1 addition & 1 deletion src/model/prometheus_model_helpers.erl
Expand Up @@ -49,7 +49,7 @@
-type label_name() :: term().
-type label_value() :: term().
-type label() :: {label_name(), label_value()}.
-type labels() :: [labels()].
-type labels() :: [label()].
-type value() :: float() | integer() | undefined | infinity.
-type prometheus_boolean() :: boolean() | number() | list() | undefined.
-type gauge() :: value() | {value()} | {labels(), value()}.
Expand Down

0 comments on commit 2a45a98

Please sign in to comment.