Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prometheus/common
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: prometheus/common
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: mr-poc-html
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Nov 13, 2022

  1. 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 <[email protected]>
    matthiasr committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    e94d474 View commit details
    Browse the repository at this point in the history
Loading