Skip to content

Set up Foxglove Agent #87

@maxwellmlin

Description

@maxwellmlin
  • Crush
  • Oogway

Follow the installation guide here.

  • You can get the architecture type by running dpkg --print-architecture. Use Debian installation.
  • Enable automatic startup.

Your /etc/foxglove/agent/envfile should look something like this:

# 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=

# 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=/home/robot/robosub-ros2/bag_files

# 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=.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

WATCH_AUTO_IMPORT_PATTERN="*.mcap"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions