mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Add HTML pages to view tenants with overrides * Update CHANGELOG.md * Update docs * Linting and fmt * Clean * Simplify (?) HTTP handlers, remove handlers from Interface * Address review comments * Specify source of runtime overrides
31 lines
818 B
Go Template
31 lines
818 B
Go Template
{{- /*gotype: github.com/grafana/tempo/modules/overrides.tenantsPageContents*/ -}}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Overrides: tenants</title>
|
|
</head>
|
|
<body>
|
|
<h1>Overrides: tenants</h1>
|
|
<p>Current time: {{ .Now }}</p>
|
|
<table border="1" cellpadding="5" style="border-collapse: collapse">
|
|
<thead>
|
|
<tr>
|
|
<th>Tenant</th>
|
|
<th>Runtime overrides</th>
|
|
<th>User-configurable overrides</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody style="font-family: monospace;">
|
|
{{ range .Tenants }}
|
|
<tr>
|
|
<td><a href="overrides/{{ .Name }}">{{ .Name }}</a></td>
|
|
<td>{{ if .HasRuntimeOverrides }}x{{ end }}</td>
|
|
<td>{{ if .HasUserConfigurableOverrides }}x{{ end }}</td>
|
|
</tr>
|
|
{{ end }}
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|