langsmith_obs_config.yaml
langsmith_obs_config.yaml
, making sure to modify the values to match your LangSmith deployment.helm search repo langchain/langsmith-observability --versions
.helm install langsmith-observability langchain/langsmith-observability --values langsmith_obs_config.yaml --version <version> -n <namespace> --wait --debug
langsmith-observability-postgres-exporter:9187/metrics
langsmith-observability-redis-exporter:9121/metrics
langsmith-observability-nginx-exporter:9113/metrics
langsmith-observability-kube-state-metrics:8080/metrics
kubectl get pods -n langsmith-observability
, you should see:
2vCPU/3vCPU + 2Gi/4Gi
1vCPU/2vCPU + 2Gi/4Gi
1vCPU/2vCPU + 4Gi/6Gi
langsmith_obs_config.yaml
langsmith_obs_config.yaml
, making sure to modify the values to match your LangSmith deployment.helm search repo langchain/langsmith-observability --versions
.helm install langsmith-observability langchain/langsmith-observability --values langsmith_obs_config.yaml --version <version> -n <namespace> --wait --debug
otelCollector
in your config file. You can also selectively bring up each respective piece of the backend (Loki, Mimir, Tempo).kubectl get pods -n langsmith-observability
, you should see:
${LANGSMITH_OTEL_CRD_NAME}
, you can run kubectl get opentelemetrycollectors -n ${LANGSMITH_OBS_NAMESPACE}
and select the name of the one with MODE = sidecar
${GATEWAY_COLLECTOR_SERVICE_NAME}
name, run kubectl get services -n ${LANGSMITH_OBS_NAMESPACE}
and select the one with Ports 4317/4318 AND a ClusterIP set. It should be something like langsmith-observability-collector-gateway-collector
helm upgrade langsmith langchain/langsmith --values langsmith_config.yaml -n <langsmith-namespace> --wait --debug
Once upgraded, if you run kubectl get pods -n <langsmith-namespace>
you should see the following (note the 2/2 for sidecar collectors):
langsmith-observability-grafana
container at port 3000, and open your browser as localhost:3000
. Use the username admin
and the password from the secret above to log into Grafana.
Once in Grafana, you can use the UI to monitor logs, metrics and traces. Grafana also comes pre-packaged with sets of dashboards for monitoring the main components of your deployment.