| commit | e94d474e36cc4e8cafeba2946b843977ee0ac5ae | [log] [tgz] |
|---|---|---|
| author | Matthias Rampke <matthias@prometheus.io> | Sun Nov 13 16:01:01 2022 |
| committer | Matthias Rampke <matthias@prometheus.io> | Sun Nov 13 17:11:26 2022 |
| tree | 744372d49bae884453fe15d01e0898daa2dee77f | |
| parent | 54e041d13d062da8c9c1a39e4f30e5ce91481dfb [diff] |
POC: Serve a nice HTML page One of the main reasons we hear for defaulting to the text format is that "look at the raw metrics in a browser" is a common use case. Browsers send accept headers, so we can explicitly take this use case into account, and render an HTML representation of the metric family. For the purposes of the PoC, this simply wraps the text format. To really make things nicer, we can and should render the metrics in a more appealing format, with labels in a table, and possibly a bar chart for histograms. Signed-off-by: Matthias Rampke <matthias@prometheus.io>
This repository contains Go libraries that are shared across Prometheus components and libraries. They are considered internal to Prometheus, without any stability guarantees for external usage.
context.Context