Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit f6693dd

Browse files
committed
Add api_instance_id to metrics
1 parent 569ebe7 commit f6693dd

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

src/routes/(protected)/metrics/+page.svelte

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,9 @@
537537
</tr>
538538
<tr class="metric-row-endpoint">
539539
<td colspan="7" class="endpoint-cell-full">
540+
<code class="api-instance-id" title="API Instance ID"
541+
>{metric.api_instance_id || "N/A"}</code
542+
>
540543
<code class="endpoint-path">{metric.url}</code>
541544
</td>
542545
</tr>
@@ -1213,6 +1216,22 @@
12131216
color: var(--color-tertiary-200);
12141217
}
12151218
1219+
.api-instance-id {
1220+
margin-right: 0.5rem;
1221+
background: var(--color-primary-100);
1222+
color: var(--color-primary-800);
1223+
padding: 0.125rem 0.375rem;
1224+
border-radius: 3px;
1225+
font-size: 0.75rem;
1226+
font-weight: 500;
1227+
cursor: help;
1228+
}
1229+
1230+
:global([data-mode="dark"]) .api-instance-id {
1231+
background: var(--color-primary-900);
1232+
color: var(--color-primary-200);
1233+
}
1234+
12161235
.table-wrapper {
12171236
overflow-x: auto;
12181237
margin: -1px;

0 commit comments

Comments
 (0)