You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,9 @@ Find the latest documentation at <https://docs.rs/prometheus>.
18
18
19
19
This crate provides several optional components which can be enabled via [Cargo `[features]`](https://doc.rust-lang.org/cargo/reference/features.html):
20
20
21
-
-`gen`: To generate protobuf client with the latest protobuf version instead of
22
-
using the pre-generated client.
21
+
-`protobuf`: Enable [Protocol Buffers](https://developers.google.com/protocol-buffers/) (aka Protobuf) based exposition format. (Enabled by default)
22
+
23
+
> Notice: Since version 2.0, Prometheus no longer supports the Protobuf-based format. You can read about the reasoning behind this change in [this document](https://github.com/OpenObservability/OpenMetrics/blob/master/legacy/markdown/protobuf_vs_text.md).
Copy file name to clipboardExpand all lines: src/lib.rs
+4-2
Original file line number
Diff line number
Diff line change
@@ -104,8 +104,10 @@ additional functionality.
104
104
105
105
This library supports four features:
106
106
107
-
* `gen`: To generate protobuf client with the latest protobuf version instead of
108
-
using the pre-generated client.
107
+
* `protobuf`: Enable [Protocol Buffers](https://developers.google.com/protocol-buffers/) (aka Protobuf) based exposition format. (Enabled by default)
108
+
109
+
> Notice: Since version 2.0, Prometheus no longer supports the Protobuf-based format. You can read about the reasoning behind this change in [this document](https://github.com/OpenObservability/OpenMetrics/blob/master/legacy/markdown/protobuf_vs_text.md).
0 commit comments