Connect your source code
Learn how to connect your code repository to the monitored service. Help your developers access the code repository, branch, and commits corresponding to the errors for efficient code change tracing.
- You must have an agent configured.
- Setup a Connector for the code repository you intend to track. If you do not have a code repository connector, then go to Setup Connector.
Set up Source Attach
Get the code connector id.
Navigate to Connectors under the Projects.
Select the connector you intend to use.
Copy the identifier.
Add the following Agent environment variables so that your code repository can map to the service you want to track.
Required Environment Variable Description Example
ID for the code repository conenctor you created
CommitHashOrReleaseTag for the code you are want to track. Note that commit and branch both are not required. Only one of them is required. If both fields are provided, then commit takes a higher priority.
Name of the branch you are tracking
Requires a reference to the repository name; optionally, you can provide additional paths to prepend to the file you want to track
Restart your application after installing the Error Tracking Agent.
Navigate to the ARC Screen by selecting an event on the Event Summary page. Clicking on the repository URL takes you to the code repository.