litellm/scripts/lens_assets/schemas/models/TraceQueryHelp.json
moe-berri 22ad3c5fff
refactor(lens): connect LiteLLM to the independent Lens service (#45529)
* feat(lens): consume the independent Lens service and shared UI

* fix(lens): keep embedded setup stable and vendor UI before builds

* chore(lens): pin embedded UI provenance to published Lens source

* fix(lens): complete embedded UI extraction across CI builds

* docs(lens): record latest main and removal-boundary validation

* fix(lens): wire external chart credentials and ingestion modes

* test(lens): cover adapter failures and fix extraction CI

* docs(lens): refresh bundled chart setup instructions

* test(lens): restore gateway adapter test package marker

* build(lens): pin clean-cut UI and supported storage chart

* test(ui): await guardrail scope menu before checking options

* perf(lens): omit unused trace-team lookup from product requests

* docs(lens): record final-image adapter permission checks

* test(lens): assert delegated investigation authorization

* refactor(lens): remove copied trace runtime and preserve spend logging

* test(lens): verify independent gateway image upgrades and outages

* test(lens): pin the chart qualification database image

* fix(lens): update embedded UI metadata filters

* test: wait for Lens chart pod identity convergence

* fix(e2e): select Lens chart pods by deployment ownership

* fix(e2e): select Helm migration ownership for Lens upgrades

* test(lens): retain migration Jobs through rollout assertions

* docs(helm): require existing database for migration hooks

* test(lens): qualify release boundaries with embedded navigation update

* docs(lens): record browser qualification for embedded tabs

* fix(lens): remove unrelated CI and guardrail test changes

* test(lens): give qualification tenants unique key aliases

* feat(lens): embed the latest canonical Lens interface

* fix(lens): qualify split inference through the gateway

* fix(lens): preserve scoped auth and isolate delegated credentials

* chore(lens): remove unrelated documentation and lint changes

* fix(lens): bound concurrent forwarding buffers through response delivery

* fix(lens): preserve OAuth2 dispatch without inference policies

* chore(lens): adopt current shared onboarding UI

* fix(lens): refresh shared setup UI and review context

* fix(lens): bound uploads before gateway authentication

* docs(lens): remove extraction evidence from the gateway repo

* docs(lens): refresh shared setup prompt for paired releases
2026-10-09 16:17:05 -07:00

360 lines
6.9 KiB
JSON

{
"$defs": {
"MapValueType": {
"enum": [
"String"
],
"type": "string"
},
"MetadataValueType": {
"enum": [
"array",
"boolean",
"integer",
"null",
"number",
"object",
"string"
],
"type": "string"
},
"PathPart": {
"anyOf": [
{
"type": "string"
},
{
"format": "uint",
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
}
]
},
"TraceQueryAttributeField": {
"additionalProperties": false,
"properties": {
"expression": {
"type": "string"
},
"key": {
"type": "string"
},
"type": {
"$ref": "#/$defs/MapValueType"
}
},
"required": [
"key",
"type",
"expression"
],
"type": "object"
},
"TraceQueryAttributes": {
"additionalProperties": false,
"properties": {
"column": {
"type": "string"
},
"discovery_sql": {
"type": "string"
},
"error": {
"default": null,
"type": [
"string",
"null"
]
},
"fields": {
"items": {
"$ref": "#/$defs/TraceQueryAttributeField"
},
"type": "array"
},
"scope": {
"type": "string"
},
"table": {
"$ref": "#/$defs/TraceTableName"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"table",
"column",
"fields",
"truncated",
"discovery_sql",
"scope"
],
"type": "object"
},
"TraceQueryColumn": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
},
"TraceQueryExample": {
"properties": {
"name": {
"type": "string"
},
"sql": {
"type": "string"
}
},
"required": [
"name",
"sql"
],
"type": "object"
},
"TraceQueryMetadata": {
"additionalProperties": false,
"properties": {
"column": {
"type": "string"
},
"error": {
"default": null,
"type": [
"string",
"null"
]
},
"fields": {
"items": {
"$ref": "#/$defs/TraceQueryMetadataField"
},
"type": "array"
},
"invalid_json_rows": {
"format": "uint",
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"sample_sql": {
"type": "string"
},
"sampled_rows": {
"format": "uint",
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"scope": {
"type": "string"
},
"table": {
"$ref": "#/$defs/TraceTableName"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"table",
"column",
"fields",
"sampled_rows",
"invalid_json_rows",
"truncated",
"sample_sql",
"scope"
],
"type": "object"
},
"TraceQueryMetadataField": {
"additionalProperties": false,
"properties": {
"expression": {
"type": "string"
},
"path": {
"items": {
"$ref": "#/$defs/PathPart"
},
"type": "array"
},
"types": {
"items": {
"$ref": "#/$defs/MetadataValueType"
},
"type": "array",
"uniqueItems": true
}
},
"required": [
"path",
"types",
"expression"
],
"type": "object"
},
"TraceQueryNormalizedField": {
"additionalProperties": false,
"properties": {
"column": {
"type": "string"
},
"meaning": {
"type": "string"
},
"name": {
"type": "string"
},
"table": {
"$ref": "#/$defs/TraceTableName"
},
"type": {
"type": "string"
}
},
"required": [
"table",
"name",
"column",
"type",
"meaning"
],
"type": "object"
},
"TraceQueryRelationship": {
"additionalProperties": false,
"properties": {
"additional_predicates": {
"type": "string"
},
"left": {
"type": "string"
},
"meaning": {
"type": "string"
},
"right": {
"type": "string"
}
},
"required": [
"left",
"right",
"additional_predicates",
"meaning"
],
"type": "object"
},
"TraceQueryTable": {
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"$ref": "#/$defs/TraceQueryColumn"
},
"type": "array"
},
"name": {
"$ref": "#/$defs/TraceTableName"
}
},
"required": [
"name",
"columns"
],
"type": "object"
},
"TraceTableName": {
"enum": [
"otel_traces",
"agent_traces_by_key",
"spend_logs"
],
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"access": {
"type": "string"
},
"attributes": {
"items": {
"$ref": "#/$defs/TraceQueryAttributes"
},
"type": "array"
},
"dialect": {
"type": "string"
},
"examples": {
"items": {
"$ref": "#/$defs/TraceQueryExample"
},
"type": "array"
},
"gotchas": {
"items": {
"type": "string"
},
"type": "array"
},
"guide": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/TraceQueryMetadata"
},
"normalized_fields": {
"items": {
"$ref": "#/$defs/TraceQueryNormalizedField"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/$defs/TraceQueryRelationship"
},
"type": "array"
},
"response": {
"type": "string"
},
"tables": {
"items": {
"$ref": "#/$defs/TraceQueryTable"
},
"type": "array"
}
},
"required": [
"dialect",
"access",
"response",
"tables",
"normalized_fields",
"metadata",
"attributes",
"relationships",
"examples",
"gotchas",
"guide"
],
"title": "TraceQueryHelp",
"type": "object"
}