Reference: /etc/atherops/config.yaml
The agent's editable configuration. The installer writes a default version on first install. You may edit it; the agent watches the file and restarts the collector when it changes. You never write raw OpenTelemetry Collector YAML.
Default file
# /etc/atherops/config.yaml
# Managed by atherops-otel-agent. You may edit this file; the agent
# will pick up changes and restart the collector automatically.
platform:
url: "https://api.atherops.com" # AtherOps platform base URL
# Credentials are written by the installer to /etc/atherops/credentials.json.
# Do not edit manually. Delete credentials.json to force re-registration.
collection:
scrape_interval: 30s # [remote] how often to scrape host metrics
logs:
journald: true # collect systemd journal
files: # additional file log paths (glob ok)
- /var/log/syslog
- /var/log/app/*.log
traces:
enabled: true # [remote] enable OTLP receiver
# grpc_port: 4317 # optional: override the OTLP gRPC port
# http_port: 4318 # optional: override the OTLP HTTP port
ports:
otlp_grpc: 4317 # OTLP gRPC port apps send spans to
otlp_http: 4318 # OTLP HTTP port apps send spans to
Fields
| Field | Type | Default | Description |
|---|---|---|---|
platform.url | string | https://api.atherops.com | AtherOps platform base URL. Used for registration, heartbeat, and remote config. |
api_url | string | falls back to platform.url | Optional. Override only if the management API is on a separate origin. |
ingest_url | string | falls back to platform.url | Optional. Override only if the ingest backend is on a separate origin. |
collection.scrape_interval | duration | 30s | [remote] How often host metrics are collected. Go-style duration (15s, 1m). |
collection.logs.journald | bool | true | Collect the systemd journal. Set false on non-systemd hosts. |
collection.logs.files | list of strings | /var/log/syslog, /var/log/app/*.log | File paths to tail. Globs allowed. New lines only (start_at: end). |
collection.traces.enabled | bool | true | [remote] Enable the OTLP receiver for app spans. |
collection.traces.grpc_port | int | 4317 | Override the OTLP gRPC receiver port for this host. Takes precedence over ports.otlp_grpc when both are set. |
collection.traces.http_port | int | 4318 | Override the OTLP HTTP receiver port for this host. Takes precedence over ports.otlp_http when both are set. |
collector.binary_path | string | /var/lib/atherops/otelcol/current/otelcol-contrib | Path to the active collector binary. Managed automatically; rarely set by hand. |
collector.config_path | string | /var/run/atherops/otelcol.yaml | Where the agent writes the generated collector YAML. |
collector.manifest_url | string | https://releases.atherops.com/otel-agent/manifest.json | Version manifest URL. |
collector.install_dir | string | /var/lib/atherops/otelcol | Base dir for versioned collector binaries. |
ports.proxy | int | 9599 | Loopback auth-proxy port. |
ports.prometheus | int | 8889 | Collector Prometheus exporter port (scraped locally). |
ports.otlp_grpc | int | 4317 | OTLP gRPC receiver port (apps send spans here). Overridden by collection.traces.grpc_port when both are set. |
ports.otlp_http | int | 4318 | OTLP HTTP receiver port (apps send spans here). Overridden by collection.traces.http_port when both are set. |
ports.health | int | 13133 | Collector health_check port. |
Fields marked # [remote] can be overridden by the platform's remote config. A value pushed from the platform takes precedence over the local one. See Versioning & updates.
Fields you will not find here
These are intentionally not in config.yaml:
host_idandapi_key: written to/etc/atherops/credentials.jsonby the installer (mode0600, ownerroot). Never edit by hand. Delete the file to force re-registration.- The install token: it lives only during install (passed as
INSTALL_TOKEN); only the derived API key is stored. - Raw OpenTelemetry Collector YAML: generated by the agent from this file.
Environment variable overrides
The agent reads these env vars (set via the systemd EnvironmentFile
/etc/atherops/env); they override the file values. See CLI & env.