To start working with Sawmills, you’ll install the Sawmills OpenTelemetry (OTel) Collector distribution. Installation deploys a remote operator into your Kubernetes cluster, which then manages the Sawmills Collector.Documentation Index
Fetch the complete documentation index at: https://docs.sawmills.ai/llms.txt
Use this file to discover all available pages before exploring further.
A Sawmills account and access to the product dashboard is required to proceed
with installation.
Prerequisites
- Kubernetes Cluster: Access to the target cluster.
- kubectl: Installed and configured to interact with the cluster.
- Helm 3+: Installed and configured.
- Permissions: Ability to create namespaces, secrets, and deploy Helm charts.
Install the Sawmills Collector
- Log in to the Sawmills dashboard.
- Go to the Collectors section (located at the bottom tab of the left navigation menu).
- Click New Collector to open the installation wizard.
Step 1: Configure the Collector
- Name: Provide a unique, descriptive name for the collector.
- Namespace: The Kubernetes namespace where the collector will be installed.
The name should follow your organization’s naming conventions.
Advanced Options
- Require manual deployment for pipeline changes: Enable this only if your environment prevents Sawmills from applying collector updates automatically. When enabled, Sawmills generates chart metadata and values files for each deployment, and your team applies them through your Helm release process. See Manual Collector Deployment.
Step 2: Install the Collector
This step provides the commands needed to deploy the remote operator, which manages the collector in your cluster.- Create a Namespace (only if it does not already exist)
- Create a Secret with your organization API key (only if it does not already exist)
Warning: If you use a different secret name or key, updateapiKeyExistingSecretandapiKeySecretKeyinvalues.yaml, plusmanagedChartsValues.sawmills-collector.apiSecret.nameandmanagedChartsValues.sawmills-collector.apiSecret.key.
- Install or Upgrade the Remote Operator using Helm
Q: What if Helm cannot pull the Remote Operator chart from public ECR?A: Authenticate Helm to Amazon ECR Public, then rerun the install command:
Updating Collector Values
The remote operator deploys the collector into the cluster. Collector values are passed as a values file to the remote operator Helm chart. To change collector configuration for an automatically managed collector, update themanagedChartsValues.sawmills-collector section in values.yaml and upgrade the remote operator. The legacy managedCharts key continues to work as an alias, but managedChartsValues is preferred.
For manually managed collectors, download the generated values artifacts from Sawmills and apply them through your Helm workflow.
For details, see Collector Customization.
Step 3: Validate the Collector
Wait for the install to complete and all pods to enter aRunning state.
Validate the collector by clicking Test Installation. This confirms the collector is deployed and communicating back to Sawmills.
When validation passes, you’ll see success messages and a link to create or
assign a pipeline via Pipelines Editor. If you created the collector but
haven’t completed installation yet, its status will show as Awaiting
Deployment on the Collectors page.
Next Actions
- Pipelines Editor: Create a new pipeline or assign an existing pipeline to your collector.
- Done: Finish without creating a pipeline.
- Previous: Go back to change settings.
Recommended Configuration
Remote Operator Resources
By default, 3 replicas of the remote operator are deployed with the following resource requests and limits:Autoscaling
Autoscaling is enabled by default with a minimum of 3 and a maximum of 10 collector instances.Capacity Planning
For detailed guidance on sizing and scaling, see Capacity Planning.KEDA Autoscaling
We recommend using KEDA for autoscaling. KEDA supports more flexible scaling rules and metrics. Enable it by settingkeda.enabled to true in values.yaml: