Getting started

Tutorials: run myriarch, an open-source OpAMP server for OpenTelemetry Collectors, on your own machine from source, with Docker Compose or on kind.

These pages are the tutorials of the documentation. They teach by doing: you follow the steps in order and end with a working system. Three paths lead to it. From source, Myriarch runs on a development machine without a container runtime and without external services: myriarchd dev starts the server with an embedded PostgreSQL, the example GitOps repository and well-known development logins, and myriarch-sim connects simulated collectors to it. With Docker Compose, one file starts the server, PostgreSQL and the simulator from the release images (published from v0.1.0-rc.3 on). On Kubernetes, one script starts a kind cluster with the Helm charts of the server and of the collector (from v0.2.0).

PageWhat you get
Local developmentFrom the source code to a running server with a sample fleet: build, start, sign in, change the GitOps repository, call the REST API, validate and render configuration with myrctl.
Your first fleet and rolloutA guided first session from source: write a fleet and a rollout policy, enroll ten simulated collectors with an enrollment token and roll out a change in two waves with an approval.
Docker ComposeThe server, PostgreSQL and 200 simulated collectors on one machine from the release images, for an evaluation; your own GitOps directory, reset.
Kubernetes on kindAvailable from v0.2.0. A kind cluster with the server chart and the collector chart (a gateway and a node agent), the sign-in to the UI, a first configuration rollout and a first version rollout, in about ten minutes (measured in CI).

If you want to know first what myriarch is and when it fits, read What is Myriarch? and the comparison. Manage many OpenTelemetry Collectors with OpAMP and Git leads from the tutorials to a fleet of real hosts.

The pages in How-to guides build on this setup. Start with Simulate a fleet to fill the system with agents, then roll out a configuration change or a collector version.

To try the whole system on Kubernetes, with the Helm charts, real server pods and real collectors, follow Kubernetes on kind. The kind probe in hack/kind/README.md builds the same kind of cluster from zero and runs numbered checks against it. All three tutorials use demo policies with a health wait of 30 seconds, so a rollout takes about a minute after you approve its last wave; the pages say so. For a real installation read Install with Helm, Install the collector with Helm and the production checklist.


Local development

Build Myriarch from source and run the server with an embedded database, sample GitOps repository and development logins.

Your first fleet and rollout

A guided first session: create a fleet in a GitOps repository, enroll collectors and roll out a change in waves.

Docker Compose

Start Myriarch with Docker Compose on one machine: server, PostgreSQL and 200 simulated collectors for an evaluation.

Kubernetes on kind

Run Myriarch on a local kind cluster with Helm: server, gateway and node agent, then a first configuration and version rollout.