# FOXGLOVE_DEVICE_TOKEN authenticates the agent to the API and should be
# obtained from the Foxglove devices UI. A particular Foxglove device should
# have at most a single associated agent.
FOXGLOVE_DEVICE_TOKEN=

# DEVICE_NAME must be specified when using a deviceless token. The agent will
# create a device with this name on first connection. Leave commented out
# when using a device-linked token.
#DEVICE_NAME=

# FOXGLOVE_LOG_OUTPUT controls how logs are routed. When running the agent under
# systemd, this should typically be "journald". Other options are "json" or
# "text" to output JSON or human-readable logs to stderr.
FOXGLOVE_LOG_OUTPUT=journald

# STORAGE_ROOT is the path from which the device agent will read your
# recordings. Recording paths will appear in Foxglove relative to this path.
STORAGE_ROOT=/srv/foxglove/agent/storage

# WATCH_INCLUDE_SUFFIXES is a comma-delimited list of file suffixes that should
# be treated as recordings. More granular filtering can be accomplished using
# regexes and exclusions.
WATCH_INCLUDE_SUFFIXES=.bag,.mcap
#WATCH_INCLUDE_REGEX=
#WATCH_EXCLUDE_SUFFIXES=
#WATCH_EXCLUDE_REGEX=

# VARDIR must be a read-writable path where the agent can store internal state.
VARDIR=/var/lib/foxglove/agent

# PRIMARY_SITE_MODE should be set to self-managed or hosted according to the
# deployment mode of the primary site to which the agent reports.
PRIMARY_SITE_MODE=hosted
