mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
chore(ui): drop the via-scope badge suffix and clarify the auto-enable toggle
Viewers only need to know which destinations receive their traces; whether the binding came from an assignment or the destination's scope is admin plumbing, so the (via scope) suffix goes. The add-destination toggle is relabeled Enable for entire scope with a tooltip spelling out on (whole scope exports automatically) versus off (only explicitly assigned keys, teams, or orgs export)
This commit is contained in:
parent
670396ee95
commit
69ba1840d5
4 changed files with 6 additions and 6 deletions
|
|
@ -30,7 +30,7 @@ const AccessControlFields: React.FC<AccessControlFieldsProps> = ({ value = {}, o
|
|||
<>
|
||||
<Form.Item
|
||||
label="Global"
|
||||
tooltip="Routing scope only: traces from every team and org may export to this destination. It does not turn on tracing by itself -- assign it on a key/team/org, or use Auto-enable, for that."
|
||||
tooltip="Routing scope only: traces from every team and org may export to this destination. It does not turn on tracing by itself -- assign it on a key/team/org, or turn on Enable for entire scope, for that."
|
||||
>
|
||||
<Switch checked={isGlobal} onChange={(global) => onChange({ ...value, global })} />
|
||||
</Form.Item>
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ export function LoggingSettingsView({
|
|||
{entries.map((entry, index) => (
|
||||
<Tag key={index} color={entry.source === "own" ? "blue" : "geekblue"}>
|
||||
{entry.name}
|
||||
{entry.source === "scope" ? " (via scope)" : ""}
|
||||
|
||||
</Tag>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ const OrganizationInfoView: React.FC<OrganizationInfoProps> = ({
|
|||
loggingExporterBadges.map((exporter, index) => (
|
||||
<Badge key={index} variant="secondary">
|
||||
{exporter.name}
|
||||
{exporter.viaScope ? " (via scope)" : ""}
|
||||
|
||||
</Badge>
|
||||
))
|
||||
) : (
|
||||
|
|
@ -373,7 +373,7 @@ const OrganizationInfoView: React.FC<OrganizationInfoProps> = ({
|
|||
{loggingExporterBadges.map((exporter, index) => (
|
||||
<Badge key={index} variant="secondary">
|
||||
{exporter.name}
|
||||
{exporter.viaScope ? " (via scope)" : ""}
|
||||
|
||||
</Badge>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -900,8 +900,8 @@ const Settings: React.FC<SettingsPageProps> = ({ accessToken, userRole, userID,
|
|||
))}
|
||||
<AccessControlFields value={addAccess} onChange={setAddAccess} />
|
||||
<Form.Item
|
||||
label="Auto-enable for all requests"
|
||||
tooltip="When on, every request exports its traces to this destination automatically, without being named on a key, team, or org. The explicit global default; replaces relying on Global to auto-enable."
|
||||
label="Enable for entire scope"
|
||||
tooltip="On: every team and org in this destination's scope exports to it automatically. Off: only the keys, teams, or orgs you explicitly assign this destination to will export, letting you activate it for a subset of the scope."
|
||||
>
|
||||
<Switch checked={addAutoEnable} onChange={setAddAutoEnable} />
|
||||
</Form.Item>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue