mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
# What does this PR do? - Removed sqlite sink from telemetry config. - Removed related code - Updated doc related to telemetry ## Test Plan CI
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
---
|
||
description: "Meta's reference implementation of telemetry and observability using OpenTelemetry."
|
||
sidebar_label: Meta-Reference
|
||
title: inline::meta-reference
|
||
---
|
||
|
||
# inline::meta-reference
|
||
|
||
## Description
|
||
|
||
Meta's reference implementation of telemetry and observability using OpenTelemetry.
|
||
|
||
## Configuration
|
||
|
||
| Field | Type | Required | Default | Description |
|
||
|-------|------|----------|---------|-------------|
|
||
| `otel_exporter_otlp_endpoint` | `str \| None` | No | | The OpenTelemetry collector endpoint URL (base URL for traces, metrics, and logs). If not set, the SDK will use OTEL_EXPORTER_OTLP_ENDPOINT environment variable. |
|
||
| `service_name` | `<class 'str'>` | No | | The service name to use for telemetry |
|
||
| `sinks` | `list[inline.telemetry.meta_reference.config.TelemetrySink` | No | [] | List of telemetry sinks to enable (possible values: otel_trace, otel_metric, console) |
|
||
|
||
## Sample Configuration
|
||
|
||
```yaml
|
||
service_name: "${env.OTEL_SERVICE_NAME:=\u200B}"
|
||
sinks: ${env.TELEMETRY_SINKS:=}
|
||
otel_exporter_otlp_endpoint: ${env.OTEL_EXPORTER_OTLP_ENDPOINT:=}
|
||
```
|