mirror of
https://github.com/block/buzz.git
synced 2026-10-31 22:41:12 +00:00
feat(relay): add opt-in usage analytics webhook
Signed-off-by: Prem Pillai <238277+cloud-on-prem@users.noreply.github.com>
This commit is contained in:
13
.env.example
13
.env.example
@@ -129,6 +129,19 @@ RUST_LOG=buzz_relay=debug,buzz_datastore=info,buzz_db=debug,buzz_auth=debug,buzz
|
||||
# OTLP tracing endpoint (optional — leave unset to disable)
|
||||
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Usage analytics webhook
|
||||
# -----------------------------------------------------------------------------
|
||||
# Disabled by default. When configured, the relay posts one small JSON event
|
||||
# after each newly persisted kind:9 message. The payload contains the author's
|
||||
# public key, the opaque community UUID, and relay acceptance time; it never
|
||||
# includes message content or tags.
|
||||
# The public key is a stable pseudonym and may be personal data.
|
||||
#
|
||||
# Remote endpoints must use HTTPS. HTTP is accepted only for localhost or a
|
||||
# loopback IP so the webhook can be exercised during local development.
|
||||
# BUZZ_USAGE_ANALYTICS_ENDPOINT=https://analytics.example.com/events
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# ACP (Agent Communication Protocol — buzz-acp harness)
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user