diff --git a/README.md b/README.md index 8ecb6d6..c79bce9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Copyright (c) 2016,2017 Ilya Khaprov <>. -__Version:__ 4.10.0 +__Version:__ 4.11.0 [![Hex.pm](https://img.shields.io/hexpm/v/prometheus.svg?maxAge=2592000?style=plastic)](https://hex.pm/packages/prometheus) [![Hex.pm](https://img.shields.io/hexpm/dt/prometheus.svg?maxAge=2592000)](https://hex.pm/packages/prometheus) diff --git a/doc/README.md b/doc/README.md index 40c6c73..c0174ee 100644 --- a/doc/README.md +++ b/doc/README.md @@ -4,7 +4,7 @@ Copyright (c) 2016,2017 Ilya Khaprov <>. -__Version:__ 4.10.0 +__Version:__ 4.11.0 [![Hex.pm](https://img.shields.io/hexpm/v/prometheus.svg?maxAge=2592000?style=plastic)](https://hex.pm/packages/prometheus) [![Hex.pm](https://img.shields.io/hexpm/dt/prometheus.svg?maxAge=2592000)](https://hex.pm/packages/prometheus) diff --git a/doc/overview.md b/doc/overview.md index 9c289c6..2237fe6 100644 --- a/doc/overview.md +++ b/doc/overview.md @@ -1,6 +1,6 @@ @copyright 2016,2017 Ilya Khaprov <>. @title Prometheus.io client for Erlang -@version 4.10.0 +@version 4.11.0 @doc [![Hex.pm](https://img.shields.io/hexpm/v/prometheus.svg?maxAge=2592000?style=plastic)](https://hex.pm/packages/prometheus) diff --git a/doc/prometheus_text_format.md b/doc/prometheus_text_format.md index 7cfe097..0c4fa02 100644 --- a/doc/prometheus_text_format.md +++ b/doc/prometheus_text_format.md @@ -37,7 +37,8 @@ Example output:
content_type/0 -Returns content type of the latest [text format](http://bit.ly/2cxSuJP).
format/0 +Returns content type of the latest [text format](http://bit.ly/2cxSuJP).
escape_label_value/1 +Escapes the backslash (\), double-quote ("), and line feed (\n) characters.
format/0 Formats default registry using the latest text format.
format/1 Formats Registry using the latest text format.
render_labels/1
@@ -57,6 +58,17 @@ content_type() -> binary() Returns content type of the latest [text format](http://bit.ly/2cxSuJP). + + +### escape_label_value/1 ### + +

+escape_label_value(LValue::binary() | iolist()) -> binary()
+
+
+ +Escapes the backslash (\), double-quote ("), and line feed (\n) characters + ### format/0 ### diff --git a/mix.exs b/mix.exs index c18a39d..a5baccf 100644 --- a/mix.exs +++ b/mix.exs @@ -3,7 +3,7 @@ defmodule Prometheus.Mixfile do def project do [app: :prometheus, - version: "4.10.0", + version: "4.11.0", description: description(), package: package(), deps: deps()] diff --git a/src/prometheus.app.src b/src/prometheus.app.src index fd21698..a94c171 100644 --- a/src/prometheus.app.src +++ b/src/prometheus.app.src @@ -1,6 +1,6 @@ {application, prometheus, [{description, "Prometheus.io client in Erlang"}, - {vsn, "4.10.0"}, + {vsn, "4.11.0"}, {registered, []}, {mod, { prometheus, []}}, {applications,