Skip to content

Self-hosted observability for OpenTelemetry, in one container on your own servers.

Sending telemetry to a vendor means sending service names, queries, addresses and timings out of your network. Running it yourself usually means running five things. One container that accepts OTLP and keeps everything on its own volume is the middle path.

Updated

What runs inside the container

Ritele is one image, ritele/ritele, for Linux on x86-64 and arm64. Inside it is an OpenTelemetry Collector, built from the upstream components, and the application that stores and draws what the Collector passes on. It runs as an unprivileged user, not root.

It publishes three ports: 4317 for OTLP over gRPC, 4318 for OTLP over HTTP, and 8080 for the UI and its API. Everything else listens on loopback inside the container.

  • Traces: kept by tail sampling — every error, every trace you mark for documentation, and 1% of the rest by default, a rate an admin changes — for seven days by default, or as long as you set
  • Metrics: rate, errors and duration counted from every span before sampling, plus the metrics your services and datastores send
  • Logs: counted by severity as they arrive; the lines themselves are read from your own Loki, or stored by Ritele for the environments you choose, whole line and every attribute, masked before they are written

Storage on your own disk

By default everything is kept in embedded stores under the /data volume, with retention you set. Deleting the volume deletes the data. Larger estates can point the same image at their own Postgres and ClickHouse instead.

What leaves the network, and what does not

Licences verify offline, and nothing calls out for updates or crash reports. A daily usage ping is on by default and carries none of your telemetry; RITELE_USAGE_PING=false stops it. Architecture Review, notification channels, the Loki connection and single sign-on stay off until an admin sets them up.

No trace, span, query or address leaves the install unless an admin turns on Architecture Review. Once on, it sends a summary of the map to our gateway or to an endpoint you run: components, connections, entry points and paths with their timings and error rates, and the slowest and failed traces as operations and durations, never their ids. Names are replaced with neutral ids unless an admin chooses to send them. Span error messages and log lines go only if an admin turns each on, masked as they are stored. Every request is logged before it leaves.

The security page lists every call that can leave, and the usage ping page shows the ping field by field.

What the Collector removes before anything is stored

The bundled Collector deletes enduser.* and user.* attributes, request and response headers, full URLs and query strings under both the current and the older attribute names, messaging and JDBC URLs, database users and connection strings, and process command lines.

Database statements are stored with their values replaced by ? by default. RITELE_DB_QUERY_TEXT=raw stores them as sent, and off stores none.

People and roles

Sign-in is on by default. Each person has one role: a viewer reads everything but log lines; an editor also reads log lines and works the map, drift, scenarios, Health triage and the Advisor; an admin owns the licence, settings, users and anything that sends data out. The first start makes an admin account: its password is RITELE_ADMIN_PASSWORD if you set it, or a one-time password printed in the container log that must be changed at first sign-in. With a licence that includes it, people can sign in through your identity provider over OpenID Connect instead, with roles from its groups.

OTLP on 4317 and 4318 is not authenticated yet, so keep those two ports to the services you instrument.

Licensing

Ritele is closed source and self-hosted, with a free plan to start and a licence when you outgrow it. The command below starts it.