Skip to content

Commit

Permalink
Reorder columns in metrics doc to be the same as in metric set doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hmusum committed Feb 5, 2025
1 parent bf790fe commit 8cfc8f0
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 8cfc8f0

Please sign in to comment.