Sign inSign up

repodb/telemetry-default-collector

By repodb

Updated 2 months ago

A RESTful API that ingests telemetry data emitted by RepoDB libraries and persists it to PGSQL.

Image
Developer tools
Monitoring & observability
0

305

repodb/telemetry-default-collector repository overview

RepoDB Telemetry Collector API

A RESTful API that ingests telemetry data emitted by RepoDB libraries and persists it to RepoDB PGSQL.

Authentication

Every endpoint (except /docs, /redoc, and /openapi.json) requires an X-API-Key header matching the API_KEY environment variable. Requests with a missing or invalid key receive 401 Unauthorized.

All client libraries are passing this header to authenticate against this API.

Running with Docker

Create the network (skip if it already exists):

docker network create repodb

Run the image:

docker run -d --name repodb-telemetry-default-collector \
  -p 5000:5000 \
  -e API_KEY=RepoDB2026 \
  -e CONNECTION_STRING="postgresql://postgres:RepoDB2026@repodb-insights-postgres:5432/repodb_insights" --network=repodb \
  repodb/telemetry-default-collector:latest

The API listens on port 5000. Interactive API docs are available at /docs (Swagger UI) and /redoc (ReDoc).

Configuration

The service is configured entirely via environment variables:

VariableRequiredDescription
API_KEYNoShared secret required by all endpoints via the X-API-Key header.
CONNECTION_STRINGYesPostgreSQL connection string (e.g. postgresql://user:pass@host:5432/db).

Tag summary

Content type

Image

Digest

sha256:916c89e69

Size

54.2 MB

Last updated

2 months ago

docker pull repodb/telemetry-default-collector