From ae013cf7e65dbe550d5327c0decc3fff57be0533 Mon Sep 17 00:00:00 2001 From: zachlite Date: Mon, 10 Jul 2023 12:30:49 -0400 Subject: [PATCH] ui: set ui.display_timezone as public Resolves: #106415 Epic: none Release note (ui change): The visibility of the cluster setting `ui.display_timezone` has been set to public. Documentation of the cluster setting has been added. No functionality has been changed. --- docs/generated/settings/settings.html | 1 + pkg/ui/ui.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/generated/settings/settings.html b/docs/generated/settings/settings.html index 5a43fbd2da93..1448370f4aac 100644 --- a/docs/generated/settings/settings.html +++ b/docs/generated/settings/settings.html @@ -258,6 +258,7 @@
trace.snapshot.rate
duration0sif non-zero, interval at which background trace snapshots are capturedServerless/Dedicated/Self-Hosted
trace.span_registry.enabled
booleantrueif set, ongoing traces can be seen at https://<ui>/#/debug/tracezServerless/Dedicated/Self-Hosted
trace.zipkin.collector
stringthe address of a Zipkin instance to receive traces, as <host>:<port>. If no port is specified, 9411 will be used.Serverless/Dedicated/Self-Hosted +
ui.display_timezone
enumerationetc/utcthe timezone used to format timestamps in the ui [etc/utc = 0, america/new_york = 1]Dedicated/Self-Hosted
version
version1000023.1-14set the active cluster version in the format '<major>.<minor>'Serverless/Dedicated/Self-Hosted diff --git a/pkg/ui/ui.go b/pkg/ui/ui.go index 7bc7d9ecaca5..790f6c073b3c 100644 --- a/pkg/ui/ui.go +++ b/pkg/ui/ui.go @@ -51,7 +51,7 @@ var _ = settings.RegisterEnumSetting( // See pkg/ui/workspaces/cluster-ui/webpack.config.js // and pkg/ui/workspaces/db-console/webpack.config.js. }, -) +).WithPublic() // Assets is used for embedded JS assets required for UI. // In case the binary is built without UI, it provides single index.html file with