Currently the only way to use the Prometheus exporter is via PrometheusExporterHttpServer.
PrometheusExporterHttpServer calls PrometheusExporterExtensions.writeMetricsCollection to do the heavy lifting of building the response payload string. Allowing library users access to this function would allow for different/existing HTTP server frameworks to be used.
Currently the only way to use the Prometheus exporter is via
PrometheusExporterHttpServer
.PrometheusExporterHttpServer
callsPrometheusExporterExtensions.writeMetricsCollection
to do the heavy lifting of building the response payload string. Allowing library users access to this function would allow for different/existing HTTP server frameworks to be used.