Commit Graph

8 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 a4ccc77494
run tests on nuke output (#263)
Co-authored-by: Chris Ventura <45495992+nrcventura@users.noreply.github.com>
2021-11-03 11:03:32 -07:00
Rasmus Kuusmann eb76b27b4b
[POC] Run integration tests in ci (#216)
* Run managed integration tests in ci

* - update EnvironmentHelper from upstream
- fixes for non windows
- add nuke output scan

* fix mongodb integrations namespace

* Fix linux otel binary string def

* Fix linux tests

* Add debug output to MockZipkinCollector

* add profiler logs artifacts

* fix upload artifacts always

* Ensure profiler logs directory

* temp switch build to debug

* fix cmake version for mac

* Fix cmake version for Ubuntu
2021-09-15 08:38:37 -07:00
Rasmus Kuusmann 8a878c08d9
Remove AutoInstrumentation from proj naming (#212) 2021-08-25 07:58:57 -07:00
Rasmus Kuusmann 284977d49a
[POC] Add GraphQL and integration tests (#202)
* add graphql byte code instrumentation

* Add GraphQL integration tests

* fix target frameworks

* fix native methods target dll

* fix temp logging

* fix additional target frameworks and native tests

* minor optimizations and otel errors fix
2021-08-23 10:54:10 -07:00
Paulo Janotti 87959cc830
PoC: minimizing the code: only calling the loader (#172)
* PoC: minimizing the code: only calling the loader

* Remove tests not being used

* Clean solution

* Remove some tools and fix solution

* Remove Az Pipelines

* Lean CI: remove Az and simplify GH workflows

* Fix env var on GH workflow for Windows

* Delete samples.sln and unused samples on the branch

* Remove extra solutions
2021-05-21 11:32:17 -07:00
Dawid Szmigielski 06269b95ec
Change env vars prefixes; rename profiler native dll (#61)
* Change profiler GUID; rename env variables

* Rename env variables

* Rename OPENTELEMETRY prefix to OTEL

* Rename env variables prefixes from DD to OTEL; change profiler ID

* Rename OPENTELEMETRY prefix to OTEL

* Rename instrumentation to autoinstrumentation

* Rename instrumentation to autoinstrumentation

* Fix profiler native dll name

* Fix profiler native dll name references

* Fix missed env variables

* Fix capitalization

* Fix missed env var names

* Fix missed env var names

* Revert unnecessary changes
2021-03-02 14:51:19 -08:00
Paulo Janotti dfa81475ce
Directory Restructuring (#973) (#27)
Simplify root directory and logically move directories for a more hierarchical structure. This PR implements the proposal outlined in https://github.com/DataDog/dd-trace-dotnet/issues/951.

Main changes include:
* Root directory now has the following directories:
    - blog
    - build
    - docs
    - samples
    - src
    - test
    - tools
* The build directory now holds release artifacts, docker files / scripts, and C# projects that are used to maintain the build files.
* The samples directory now holds non-product related code that was originally in the customer-samples directory, so that users can see the product in action.
* The src directory now holds the WindowsInstaller project so all source files needed for the product build are in the src directory.
* The test/test-applications directory is now the root directory for all test applications, with the two main flavors being `integrations` and `regression`. This significantly reduces the number of directories at the root.

Co-authored-by: Zach Montoya <zach.montoya@datadoghq.com>
2020-11-03 11:04:25 -08:00