Skip to content

Telemetry

Tangerine has an optional anonymous heartbeat. It is prompt-only by default: the agent is deployed, but nothing is sent until an administrator reviews the notice and allows it. The feature helps the maintainers understand which versions, deployment shapes, and Pulp plugins are in use.

Enabling it

The chart deploys a small agent and exposes it on the same origin as the UI at /telemetry. The public ingest endpoint and privacy policy default to the maintainers' public collector:

telemetry:
  mode: prompt                    # disabled | prompt
  endpoint: https://tel-d913dj1dasf11f3.oneinchlunch.com
  environment: prod               # dev | prod
  privacyUrl: https://docs.oneinchlunch.com/privacy/
  • prompt (default) deploys the agent and asks the first administrator to review the notice. No data is sent before an explicit Allow.
  • disabled renders no agent, no Service, no Ingress path, and the UI never calls /telemetry.
  • The auto-consent enabled mode was removed. Consent must be an explicit administrator action.

telemetry.endpoint is required whenever the mode is prompt. The agent's own Service is never public; only the ingest server is. The public agent image is oneinchlunch/tangerine-telemetry-agent.

What is sent

A daily heartbeat contains:

Group Fields
Identity random installation UUID, public signing key, consent version and time
Tangerine version, chart version, build identifier
Deployment Helm/Kubernetes, auth mode, gateway enabled, UI replicas, OS, architecture, dev/prod
Pulp core version, installed plugin names/versions, domain enabled

It does not contain hostnames, URLs, IP addresses, repository or package names, usernames, email addresses, group or role names, SSO tenant identifiers, Pulp hrefs, query strings, or content. See Privacy.

The first administrator who signs in sees a non-blocking notice. Review opens the exact payload, the full privacy policy, the hosted policy link, and Allow anonymous usage / No thanks. The administrator must confirm they are authorised to consent for the installation. Dismissing the banner sends nothing and the notice returns in a later session.

The full policy is also available in Settings → Privacy for every signed-in user, even when telemetry is disabled.

Settings → Telemetry shows the consent state and controls. While telemetry is sharing it also lists the installation ID, last and next send, the retry queue, and the last error; those detail rows are hidden when telemetry is off, undecided, or stale, because there is nothing to report.

The card offers: - Enable telemetry (when not consented) opens the exact-payload notice. - Disable and delete my data (when sharing) turns telemetry off, deletes the heartbeats already sent, and resets the installation identity in one confirmed action. The next administrator sign-in is asked for consent again. - Preview payload remains available in both states.

The Pulp Services page also uses the agent for a local, admin-only read-only pod view. That endpoint returns pod names, phases, container readiness, conditions, and recent events from the Kubernetes API; it never reads logs, environment variables, or secrets, and it is not part of the heartbeat. It requires the telemetry.services ServiceAccount/Role and stays disabled when telemetry itself is disabled.

Consent is stored in the agent's SQLite database on a small PVC. The Ed25519 private key never leaves that file; the ingest server stores only the public key. The consent version and time are stored per installation. A material policy change bumps the version and re-prompts.

Agent internals

  • One replica, Recreate, with a 1 GiB PVC.
  • Non-root, read-only root filesystem. The optional pod view mounts a projected, namespace-scoped service-account token; the heartbeat itself needs no Kubernetes access.
  • /telemetry is an Ingress path on the Tangerine host. The agent serves both root and /telemetry-prefixed routes, so no strip middleware is required.
  • The agent validates the caller's Pulp staff session, or the gateway's maintainer session in gateway mode, before accepting a consent change. It needs to reach Pulp's API for that check and for the version/plugin fields. Allow the tangerine-telemetry pod in the Pulp NetworkPolicy; the Tangerine chart already allows the agent to reach the gateway.
  • The NetworkPolicy allows API-server egress on 6443 as well as the ingest port 443; the Kubernetes service DNATs 443 to the node's 6443.
  • A heartbeat is sent every 24 hours with up to one hour of jitter. The server accepts at most one per installation per 12 hours and returns 429 with Retry-After when one arrives early.
  • If the endpoint is unreachable, the agent keeps the latest snapshot and retries hourly.

Collector

The public-ingest collector is operated by the Tangerine maintainers and is not part of the public release. Its code, deployment manifests, Grafana dashboard, and compliance records live in a separate private repository. The agent only needs the collector endpoint and consent version; it never talks to the collector's database or Grafana.

If you operate your own collector, keep it behind TLS, restrict its public Ingress to /v1, /healthz, and /readyz, and keep the database and Grafana private. The wire protocol is the agent's schema.py and security.py; the collector vendors byte-identical copies pinned by PROTOCOL.sha256.

Public releases

The chart's default is telemetry.mode: prompt, so the agent is deployed but a public installation sends nothing until an administrator explicitly allows it. The public endpoint and policy URL are the maintainers' public collector and policy page. The collector service, its chart, database, and Grafana are operated privately and are not part of the public Tangerine release.