Skip to content

Commit

Permalink
Merge pull request #33262 from vespa-engine/hmusum/reorder-columns-in…
Browse files Browse the repository at this point in the history
…-metrics-doc

Reorder columns in metrics doc to be the same as in metric set doc
  • Loading branch information
hmusum authored Feb 5, 2025
2 parents fdf0028 + 8cfc8f0 commit abdbd89
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected static void writeMetricDocumentation(String path, VespaMetrics[] metri
<table class="table">
<thead>
<tr><th>Name</th><th>Description</th><th>Unit</th></tr>
<tr><th>Name</th><th>Unit</th><th>Description</th></tr>
</thead>
<tbody>
%s </tbody>
Expand All @@ -51,8 +51,8 @@ private static String htmlRows(VespaMetrics[] metrics) {
""",
metric.baseName().replaceAll("\\.", "_"),
metric.baseName(),
metric.description(),
metric.unit().toString().toLowerCase())
metric.unit().toString().toLowerCase(),
metric.description())
).collect(Collectors.joining());
}
}

0 comments on commit abdbd89

Please sign in to comment.