tfy-llm-gateway-monitoring

by TrueFoundry

Helm chartv0.1.0-rc.2Verified publisher

TrueFoundry LLM Gateway monitoring stack chart

About this chart

TrueFoundry LLM Gateway Monitoring Stack

Parameters

global

global.auth [object] auth config

global.auth.nats [object] nats auth config

NameDescriptionValue
global.auth.nats.adminPasswordpassword for nats admin user""
global.auth.nats.llmGatewayRequestLoggerPasswordpassword for nats llm-gateway-request-logger user""
global.auth.nats.clickhouseRequestLogsReaderPasswordpassword for nats clickhouse-request-logs-reader user""

global.auth.clickhouse [object] clickhouse auth config

NameDescriptionValue
global.auth.clickhouse.userclickhouse useruser
global.auth.clickhouse.passwordclickhouse password""

global.virtualService [object] virtual service config

NameDescriptionValue
global.virtualService.enabledenable virtual servicefalse
global.virtualService.gatewayNamegateway nameistio-system/tfy-wildcard
global.virtualService.natsServerHostnats server host""
global.virtualService.natsMetricsServerHostnats metrics server host""
global.virtualService.clickhouseServerHostclickhouse server host""

Post Installtion Setup

Add Logging Sink Configuration as env in TrueFoundry LLM Gateway

LOGGING_SINK_CONFIGURATION: >-
    {"type": "nats", 
    "url": "wss://<natsServerHost>", 
    "username": "llm-gateway-request-logger", 
    "password": "<llmGatewayRequestLoggerPassword>", 
    "subject": "tfy-model-logs.request-logs"}

Add Clickhouse configuration as env in TrueFoundry Control Plane

CLICKHOUSE_HOST: https://<clickhouseServerHost>
CLICKHOUSE_USER: <clickhouse.user>
CLICKHOUSE_PASSWORD: <clickhouse.password>

Deploy tfy-llm-gateway-monitoring with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tfy-llm-gateway-monitoring on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttfy-llm-gateway-monitoring is pinned at v0.1.0-rc.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply