Skip to main content
fjall sync is currently unavailable. The API endpoint it calls (PUT /api/applications/:id/metadata) is deprecated and returns 410 Gone. Monitoring metadata is now collected automatically from your connected AWS account, so no manual sync step is required. This page documents the command for reference. Expect a Failed to send metadata error if you run it.

Overview

The fjall sync command captures metadata from your deployed CloudFormation stacks and sends it to the Fjall API. The metadata powers monitoring and management features in the Fjall dashboard. Monitoring data now flows directly from the AWS account you connect with fjall connect. The standalone sync step has been retired, so most workflows no longer call this command.

Usage

Arguments

Options

Prerequisites

fjall sync checks each prerequisite before running:
  1. Authenticated with Fjall: run fjall login. Credentials are stored at ~/.fjall/auth.json.
  2. Connected AWS account: run fjall connect.
  3. Application deployed: run fjall deploy <app-name> first so the CloudFormation stacks exist.
  4. API application ID: the application must have an apiApplicationId in fjall-config.json (written on first deployment).

What gets synced

The command captures and sends:
  • CloudFormation stack outputs (endpoints, ARNs, resource names)
  • ECS cluster and service information
  • Lambda function ARNs
  • Database endpoints
  • S3 bucket names
  • CloudWatch log group names
  • Load balancer DNS names
This metadata lets the Fjall dashboard:
  • Display application architecture
  • Show real-time metrics
  • Link directly to AWS resources
  • Open logs for debugging

How it works

The command runs three steps: authenticate with AWS, capture metadata from CloudFormation, and send it to the Fjall API. The final step currently fails because the target endpoint is deprecated.

Configuration

The apiApplicationId is written to fjall-config.json after first deployment:
This ID links your local application to the Fjall dashboard.

Multiple applications

When the repository holds several applications, name the one to sync:
Running fjall sync with no name in a multi-application repository returns an error asking you to specify one:

Troubleshooting

Metadata send fails (410 Gone)

Cause: the metadata endpoint is deprecated. Monitoring metadata is now sourced from your connected AWS account. Solution: no action needed. Connect your AWS account with fjall connect. Monitoring data is collected automatically.

No apiApplicationId

Cause: the application has not been deployed to Fjall yet. Solution: deploy the application first:

Application not found

Cause: the application name does not match the config. Solution: check fjall-config.json for the correct application names.

Authentication failed

Cause: invalid or expired AWS credentials. Solution: reconnect your AWS account:

Next Steps

fjall deploy

Deploy an application to AWS so its CloudFormation stacks exist.

fjall connect

Connect an AWS account, the source of automatic monitoring metadata.

fjall login

Authenticate the CLI with Fjall before running commands.

fjall list

List the resources defined in an application’s infrastructure.