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:- Navigate to Settings > Integrations in the Metoro UI
- Find the GitHub section
- Enter your GitHub Personal Access Token
- 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:- Go to your GitHub account settings
- Navigate to Developer settings > Personal access tokens > Tokens (classic)
- Click “Generate new token”
- Give your token a descriptive name
- Select the appropriate scopes (at least
repo
orpublic_repo
) - Click “Generate token”
- 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