Skip to content

ChromaDB 0.6.3 telemetry spam on every operation in mempalace 3.1.0 #458

@fubak

Description

@fubak

Bug

Every ChromaDB operation in mempalace 3.1.0 prints a telemetry error to stderr:

Failed to send telemetry event ClientStartEvent: capture() takes 1 positional argument but 3 were given
Failed to send telemetry event CollectionGetEvent: capture() takes 1 positional argument but 3 were given

The actual functionality works — this is ChromaDB's internal telemetry calling posthog with the wrong signature — but it floods logs and hook output, making real errors harder to spot.

Steps to Reproduce

import chromadb
client = chromadb.PersistentClient(path='~/.mempalace/palace')
coll = client.get_collection('mempalace_drawers')
coll.count()
# → Failed to send telemetry event ClientStartEvent: capture() takes 1 positional argument but 3 were given
# → Failed to send telemetry event CollectionGetEvent: capture() takes 1 positional argument but 3 were given

Same noise appears in the MCP server logs, hook output logs (~/.mempalace/hook_state/hook.log), and every CLI command that touches ChromaDB.

Fix

Disable ChromaDB telemetry explicitly when constructing the client:

import chromadb
from chromadb.config import Settings
client = chromadb.PersistentClient(
    path=palace_path,
    settings=Settings(anonymized_telemetry=False)
)

Or pin posthog to a version compatible with chromadb 0.6.3's telemetry calls.

Environment

  • mempalace 3.1.0
  • chromadb 0.6.3
  • posthog 7.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/installpip/uv/pipx/plugin install and packagingbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions