Skip to content

Commit 4e8c080

Browse files
authored
Add a quick comment on docker for integrations (DataDog#2869)
1 parent 4e52848 commit 4e8c080

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/development/AutomaticInstrumentation.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Creating a new instrumentation implementation typically uses the following proce
1515
1. Create (or reuse) a sample application that uses the target library, which ideally exercises all the code paths in your new instrumentation. Use an `$(ApiVersion)` MSBuild variables to allow testing against multiple package versions in CI.
1616
2. Add an entry in [tracer/build/PackageVersionsGeneratorDefinitions.json](../../tracer/build/PackageVersionsGeneratorDefinitions.json) defining the range of all supported versions. See the existing definitions for examples
1717
3. Run `./tracer/build.ps1 GeneratePackageVersions`. This generates the xunit test data for package versions in the `TestData` that you can use as `[MemberData]` for your `[Theory]` tests.
18-
4. Use the `MockTracerAgent` to confirm your instrumentation is working as expected.
18+
4. If needed, add a docker image in the docker-compose.yml to allow the CI to test against it. Locally, you can use docker-compose as well and start only the dependencies you need.
19+
5. Use the `MockTracerAgent` to confirm your instrumentation is working as expected.
1920
7. After testing locally, push to GitHub, and do a manual run in Azure Devops for your branch
2021
1. Navigate to the [consolidated-pipeline](https://dev.azure.com/datadoghq/dd-trace-dotnet/_build?definitionId=54)
2122
2. Click `Run Pipeline`

0 commit comments

Comments
 (0)