claws / aioprometheus

A Prometheus Python client library for asyncio-based applications
176 stars 21 forks source link

Make protocol-buffer optional #41

Closed hellysmile closed 4 years ago

hellysmile commented 4 years ago

As https://github.com/prometheus/docs/pull/972/files

Prometheus 2.0 removed support for the protocol-buffer format and only supports the text-based format.

would be nice to make protocol-buffer as optional dependency

@claws if you like the idea I'll be happy to make pull request

something like

pip aioprometheus[protoc]

claws commented 4 years ago

Sure, I'm open to that.