mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
Renames otel config from jaeger to otel
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
This commit is contained in:
parent
66440e2c20
commit
54bceb92da
3 changed files with 4 additions and 3 deletions
|
@ -113,7 +113,8 @@ You have two ways to install this repository:
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Install from source**:
|
2. **Install from source**:
|
||||||
If you prefer to install from the source code, follow these steps:
|
If you prefer to install from the source code, make sure you have [conda installed](https://docs.conda.io/projects/conda/en/stable).
|
||||||
|
Then, follow these steps:
|
||||||
```bash
|
```bash
|
||||||
mkdir -p ~/local
|
mkdir -p ~/local
|
||||||
cd ~/local
|
cd ~/local
|
||||||
|
|
|
@ -13,7 +13,7 @@ from llama_stack.distribution.utils.config_dirs import RUNTIME_BASE_DIR
|
||||||
|
|
||||||
|
|
||||||
class TelemetrySink(str, Enum):
|
class TelemetrySink(str, Enum):
|
||||||
JAEGER = "jaeger"
|
OTEL = "otel"
|
||||||
SQLITE = "sqlite"
|
SQLITE = "sqlite"
|
||||||
CONSOLE = "console"
|
CONSOLE = "console"
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ class TelemetryAdapter(Telemetry):
|
||||||
|
|
||||||
provider = TracerProvider(resource=resource)
|
provider = TracerProvider(resource=resource)
|
||||||
trace.set_tracer_provider(provider)
|
trace.set_tracer_provider(provider)
|
||||||
if TelemetrySink.JAEGER in self.config.sinks:
|
if TelemetrySink.OTEL in self.config.sinks:
|
||||||
otlp_exporter = OTLPSpanExporter(
|
otlp_exporter = OTLPSpanExporter(
|
||||||
endpoint=self.config.otel_endpoint,
|
endpoint=self.config.otel_endpoint,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue