Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit e7be9c7

Browse files
committed
observability docs
1 parent b23273b commit e7be9c7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/observability.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
sidebar_position: 8
3+
title: "👀 Observability"
4+
---
5+
6+
# 👀 Observability
7+
8+
Chroma is instrumented with [OpenTelemetry](https://opentelemetry.io/) hooks for observability.
9+
10+
:::tip Telemetry vs Observability
11+
"[Telemetry](/telemetry)" refers to anonymous product usage statistics we collect. "Observability" refers to metrics, logging, and tracing which can be used by anyone operating a Chroma deployment. Observability features listed on this page are **never** sent back to Chroma; they are for end-users to better understand how their Chroma deployment is behaving.
12+
:::
13+
14+
## Available Observability
15+
16+
Chroma currently only exports OpenTelemtry [traces](https://opentelemetry.io/docs/concepts/signals/traces/). Traces allow a Chroma operator to understand how requests flow through the system and quickly identify bottlenecks.
17+
18+
## Configuration
19+
20+
Tracing is configured with four environment variables:
21+
22+
- `CHROMA_OTEL_COLLECTION_ENDPOINT`: where to send observability data. Example: `api.honeycomb.com`.
23+
- `CHROMA_OTEL_SERVICE_NAME`: Service name for OTel traces. Default: `chromadb`.
24+
- `CHROMA_OTEL_COLLECTION_HEADERS`: Headers to use when sending observability data. Often used to send API and app keys.
25+
- `CHROMA_OTEL_GRANULARITY`: A value from the [OpenTelemetryGranularity enum](https://github.com/chroma-core/chroma/tree/main/chromadb/telemetry/opentelemetry/__init__.py). Specifies how detailed tracing should be.

0 commit comments

Comments
 (0)