Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.39 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.39 KB

Maple on Render

Deploy to Render

Deploys self-hosted Maple to Render: OpenTelemetry ingest, the dashboard and the query API in one container, with its data on a persistent disk.

Deploy

  1. Generate an ingest key with openssl rand -hex 32.
  2. Click Deploy to Render and paste the key into MAPLE_LOCAL_INGEST_KEY.
  3. When the deploy finishes, open the service's Environment tab and copy MAPLE_LOCAL_ACCESS_TOKEN.
  4. Open the service's URL and sign in with the access token.

The blueprint uses the 1c-2g plan and a 10 GB disk. You can change both before deploying. Plans with a disk cannot scale beyond one instance, which is what Maple needs.

Send telemetry

export OTEL_EXPORTER_OTLP_ENDPOINT=https://<your-service>.onrender.com
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer%20<ingest key>"

See Connect for the CLI and the query API, and Operations for backups, upgrades and rotating secrets.

Upgrade

The service runs ghcr.io/mapletechlabs/maple:latest. To upgrade, choose Manual Deploy > Deploy latest reference in the service's dashboard.