tonysun83 commented on issue #3377: URL: https://github.com/apache/couchdb/issues/3377#issuecomment-783512330
@rnewson @janl points taken. Let's continue the discussion here. From these comments - We're adding support for Prometheus but also inventing a new format for it that nothing understands. - Negotiation by content-type when Prometheus doesn't have a registered one is a mistake (The accept= query parameter idea is better). - The output, in any format, remains Prometheus specific anyway (though, again, noting that tools that understand prometheus format could not consume our novel JSON format). It seems that both of you are not a big fan of having JSON as a return type and would rather only return `'text/plain; version="0.0.4' content type`. Am I understanding that correctly? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
