GitHub Integration

Metoro can integrate with GitHub to access your repositories, allowing for enhanced observability of your GitHub projects.

Configuration

To set up GitHub integration, you’ll need to:

  1. Navigate to Settings > Integrations in the Metoro UI
  2. Find the GitHub section
  3. Enter your GitHub Personal Access Token
  4. Click “Add GitHub Token”

The GitHub token should have appropriate permissions to read the repositories you want to monitor. At a minimum, it should have the repo scope for private repositories or public_repo for public repositories only.

Creating a GitHub Personal Access Token

To create a GitHub Personal Access Token:

  1. Go to your GitHub account settings
  2. Navigate to Developer settings > Personal access tokens > Tokens (classic)
  3. Click “Generate new token”
  4. Give your token a descriptive name
  5. Select the appropriate scopes (at least repo or public_repo)
  6. Click “Generate token”
  7. Copy the token (you will only see it once!)

Managing the Integration

Once configured, you can:

  • View the status of your GitHub integration in the Integrations tab
  • Remove the integration by clicking the “Disconnect” button

Using GitHub Integration

With GitHub integration enabled, Metoro can:

  • Access your repository data
  • Read code and configuration files
  • Provide context-aware observability for your GitHub-hosted projects

Security Considerations

  • Metoro stores your GitHub token securely in the database
  • The token is used only for accessing repository data as specified by the token’s permissions
  • You can revoke the token at any time from your GitHub settings