Commit Graph

2 Commits

Author SHA1 Message Date
Chris Ventura 372d9ac871
Disable profiler bootstrap process for .NET Core (#314)
* Disable profiler bootstrap process for .NET Core

* Update src/OpenTelemetry.ClrProfiler.Native/cor_profiler.cpp

Fixes spelling error.

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>

* Update tests to use startup hook bootstrapping.

* Add test to validate startup hook is necessary

* Log if startup hook is not configured correctly.

* Add native tests for the startup hook validation.

* Update const and pass by ref for variables and parameters for startup hook functions

* Updating test and sample apps to use the startup hook.

* Updating scripts to set startup hook environment variable.

* Shutdown profiler if startup hook not configured correctly.

* Use const ref for all startup hook params and use OTEL_ naming convention.

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-02-02 16:10:25 -08:00
Rasmus Kuusmann 6cf84c36c6
ASP.NET (.NET Framework) integration tests (#224)
* asp.net sample

* Add docker host support for sample

* Fix fx projects build

* fix restore

* Publish samples and containerize

* fix samples csproj

* downgrade windows image version for sample

* update asp.net sample

* Add IIS module

* fix paths

* fix process name and endpoint url

* workaround for host communication

* Setup docker network

* wait for powershell exit

* Add powershell output log

* add mock listener health check

* Print docker network info

* Update private ip class

* get docker large images before build

* merge fix

* increase timeout and log container start

* log sample response

* Update firewall rule

* perform docker network test

* get docker profiler logs

* update log collection

* fix paths in dockerfile

* Fix paths in DockerFile

* remove pre-pulling image

* replace http module

* Cleanup

* Fix windows only tests locating
2021-11-18 13:44:51 -08:00