lucab / local_exporter

Prometheus exporter/bridge for local services
https://quay.io/lucab/local_exporter
Apache License 2.0
13 stars 2 forks source link

bridge/uds: confirm protocol design for unix-socket producers #15

Closed lucab closed 4 years ago

lucab commented 5 years ago

This exporter currently defines a unix-socket protocol, which must me stabilized in order to be implemented by relevant producers.

The current protocol is by the design the simplest that I could imagine. It just expects producers to spit out Prometheus textual format to each new client connection, and then close the connection.

This waits on @pgier and @simonpasquier for protocol design review.

lucab commented 5 years ago

Once this is resolved, it will unblock https://github.com/coreos/zincati/issues/74.

simonpasquier commented 5 years ago

:+1: I don't think we need anything more fancy than a transparent proxy between the producer and Prometheus.

lucab commented 5 years ago

This is even a bit less than a transparent proxy, as it doesn't speak HTTP over the unix-domain socket. That is intentional, in order to avoid:

simonpasquier commented 5 years ago

Yes I didn't mean proxy in the sense of network proxy.

lucab commented 4 years ago

Nothing major came up in a few month of usage, sticking to this. Closing.