opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

Prometheus Exporter HTTP Server Support

Open erichsueh3 opened this issue 5 years ago • 3 comments

Is your feature request related to a problem? Yes. Currently, Java and Python do not implement an HTTP server in their language’s Prometheus exporter while node.js and Go do implement a server. For the C++ implementation, we have a choice between implementing the HTTP server or not implementing it. Benefits of implementing the HTTP service include that it is user friendly and conforms to the Prometheus exporter structure (Java and Python split it up into two pieces). Cons of implementing the HTTP service include this implementation could be the extra work that comes with creating it, managing it, and closing it.

Describe the solution you'd like Implementing the HTTP server would make use of the C++ Prometheus exporter easier for end users. It also would make it easier for members in the future to contribute when working on related features.

Describe alternatives you've considered Alternatively, not implementing the HTTP server would still be a feasible option. Java and Python both don’t implement an HTTP server in their exporter, instead opting to split up the implementation into two separate pieces.

erichsueh3 avatar Jun 30 '20 16:06 erichsueh3

This issue was marked as stale due to lack of activity. It will be closed in 7 days if no furthur activity occurs.

github-actions[bot] avatar Dec 05 '21 01:12 github-actions[bot]

This issue was marked as stale due to lack of activity. It will be closed in 7 days if no furthur activity occurs.

github-actions[bot] avatar Feb 04 '22 01:02 github-actions[bot]

Is this issue still valid? I think the current library already uses the WebServer bundled by prometheus-cpp (CivetWeb)

dufferzafar avatar Feb 24 '24 17:02 dufferzafar