Commit Graph

308 Commits

Author SHA1 Message Date
Fabrizio Ferri-Benedetti 7b8a292034
Clarify Resource Detectors documentation. (#2491) 2023-04-25 12:36:38 +02:00
Piotr Kiełkowicz 93157a56a2
Release 0.7.0 (#2486) 2023-04-25 06:40:54 +02:00
Paulo Janotti a91b0ee979
Add a quick start section to ./docs/README.md (#2482)
* Add a quick start section to ./docs/README.md

* Apply suggestions from code review

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

---------

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2023-04-20 14:37:07 +00:00
Paulo Janotti f004b623c5
Minor updates to macOS instructions (#2481) 2023-04-19 20:12:08 +00:00
Piotr Kiełkowicz 79d38c1a07
MongoDB - instrumenation for .NET Framework (#2390) 2023-04-14 07:55:04 +00:00
Zach Montoya df78d34cb9
Update native code (#2280)
* Port all of the changes to the native product and native tests

* Pass integrations to the profiler via C# and PInvoke, instead of integrations.json

* Delete integrations.json and remove environment variable OTEL_DOTNET_AUTO_INTEGRATIONS_FILE

* Add ByRef improvements to the CallTarget infrastructure:
- struct CallTargetReturn/CallTargetReturn<T> is now a readonly ref struct
- Pass CallTargetState by ref into EndMethod integration callbacks
- Pass input arguments by ref into BeginMethod integration callbacks

See f2cbb4ba93

* Really small changes to CallTarget infrastructure

* Fix build when using C#11

* Run format-native.sh

* Update native headers

* Fix possible null reference exception

* Fix changelog lint error

* Fix yet another native header issue

* Skip the StrongNamedTests for now

* Add the instrumentation type ("Trace|Log|Metric") and the instrumentation name (e.g. "GraphQL") to each instrumentation to allow for enabling and disabling integrations via environment variables

* Fix native format errors

* Fix the StackExchangeRedis integration definitions, which should resolve the integration test issues for the CustomSdkTests case and the StackExchangeRedisTests case

* Drop: Temporary launchSettings.json

* Commit updates to NServiceBus to try and resolve multiple System.Diagnostics.DiagnosticSource dll's getting loaded

* Add DiagnosticSource package reference to fix .NET Frameowrk test applications

* Add test skip for "TestApplication.StrongNamedValidation" spans, and document the GH issue that tracks the follow-up work

* Remove Datadog log prefix

* PR feedback: Update comments in NativeCallTargetDefinition.cs to keep the native call target definitions struct in-sync on the managed and native side

---------
2023-04-14 07:24:06 +02:00
Robert Pająk 1b22efda6b
OTEL_SERVICE_NAME is Stable (#2443) 2023-04-13 09:00:49 +00:00
Piotr Kiełkowicz 10d1be5736
Container resource detectors + manage resource detectors (#2415) 2023-04-13 07:07:38 +00:00
Przemyslaw Delewski 7c00f57c14
IIS docs update appcmd location (#2422) 2023-04-11 10:23:48 +02:00
Przemyslaw Delewski 6dc9f550fe
IIS docs improvements (#2418)
* fixes

* markdown

* update words

* cspell fixes
2023-04-10 12:50:39 -07:00
Robert Pająk 3cc690dabe
Fix description of instrumentation env vars (#2413)
Fix description of instrumentation config

Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2023-04-06 18:07:38 +00:00
Rajkumar Rangaraj 44a24c4922
RuleEngineTracker to control rule engine execution (#2407) 2023-04-06 08:23:21 +00:00
Piotr Kiełkowicz 54984087e7
Document produced metrics (#2359) 2023-03-23 09:02:21 +00:00
Mateusz Łach ea850917b2
Document log trace correlation (#2351)
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2023-03-21 11:51:47 +00:00
Mateusz Łach f621dec002
Document how to add custom metrics (#2350) 2023-03-21 08:32:53 +00:00
Piotr Kiełkowicz f192704225
Avoid crash on startup - design doc (#2337) 2023-03-17 22:26:30 +00:00
Piotr Kiełkowicz 7946766adf
Feature stability - documentation (#2330)
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2023-03-17 13:00:50 +00:00
Paulo Janotti a798fd8fba
Make .psm1 easier to use with Dockerfiles (#2336) 2023-03-17 11:04:07 +00:00
Mateusz Łach f44d250076
Troubleshooting docs update (#2326)
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2023-03-17 08:49:18 +00:00
Robert Pająk 494cebdecd
Improve examples/demo (#2327)
* Use docker compose v2

* Handle HttpRequestException in Examples.Client

* Fix CORECLR_PROFILER_PATH

* Move sleep at the end of the loop
2023-03-15 17:41:01 +00:00
dependabot[bot] 5d2cc25dd6
Bump OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.0.0-beta.5 to 1.0.0-beta.6 in /src (#2315)
* Bump OpenTelemetry.Instrumentation.EntityFrameworkCore in /src

Bumps [OpenTelemetry.Instrumentation.EntityFrameworkCore](https://github.com/open-telemetry/opentelemetry-dotnet-contrib) from 1.0.0-beta.5 to 1.0.0-beta.6.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/compare/Instrumentation.GrpcCore-1.0.0-beta.5...Instrumentation.MySqlData-1.0.0-beta.6)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Instrumentation.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update nuspec

* Update documentation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2023-03-14 10:24:28 +01:00
Piotr Kiełkowicz a0c3a520a5
Pin dependencies (#2312)
Co-authored-by: Rasmus Kuusmann <rkuusmann@splunk.com>
2023-03-14 06:24:51 +01:00
Paulo Janotti 888e2cd216
Add NuGet packages (#2286)
* Add NuGet packages

* Fix link to nuget.config

* Apply dotnet-format fixes

* Consistent emphasis-style on README.md

* Update docs/README.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/README.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/internal/using-the-nuget-packages.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/internal/using-the-nuget-packages.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/internal/using-the-nuget-packages.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/internal/using-the-nuget-packages.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/internal/using-the-nuget-packages.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/internal/using-the-nuget-packages.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Update docs/internal/using-the-nuget-packages.md

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>

* Reduce the default timeout for tests going to the web

* Add instructions on how to setup bin/ci-artifacts

* Fix doc formatting

* PR review suggestion

* Use same as style as PR 2287

---------

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
2023-03-10 16:16:47 -08:00
Kyle 2b18c34f38
Fallback service name (#2308) 2023-03-09 11:53:34 +01:00
Mateusz Łach 61df3cb24e
Configurable log level - native code and loader (#2288)
* handle configured log level in native code and loader

* dotnet format

* remove benchmark for removed logger

* update build after benchmark removal

* docs update

* update changelog after OTEL_DOTNET_AUTO_DEBUG removal

* extract log level consts

* Update CHANGELOG.md

Co-authored-by: Robert Pająk <pellared@hotmail.com>

* static inline consts

* pr feedback

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2023-03-07 09:05:42 -08:00
Mateusz Łach e81ae556e3
[docs] Format adjustment (#2293) 2023-03-07 07:12:00 +00:00
Piotr Kiełkowicz 41ef36178c
Better styling for notes and warnings (#2287) 2023-03-03 16:16:54 +00:00
Robert Pająk d1e94932cb
docs: Compatibility update (#2283) 2023-03-02 09:24:39 +00:00
Robert Pająk 5252d8ef14
docs: RHEL is supported (#2282) 2023-03-02 09:36:03 +01:00
Piotr Kiełkowicz 0db901bbcb
Fix script links after release (#2278) 2023-03-01 09:52:50 +00:00
Piotr Kiełkowicz 133037f2af
Release 0.6.0 (#2270) 2023-03-01 06:16:31 +00:00
Piotr Kiełkowicz ee055c05cf
Update documentation before release (#2271)
* SqlClient - document issue

* Document plugins versions
2023-02-28 12:50:07 +00:00
Piotr Kiełkowicz 6f347379ed
Bump OTel to 1.4.0 (#2268) 2023-02-28 07:38:44 +00:00
Piotr Kiełkowicz 2e4a4c25df
[IntegrationTests] Test other instrumentation with various library versions. (#2241) 2023-02-23 11:04:11 +01:00
Piotr Kiełkowicz 2e50a3b090
Release 0.6.0-beta.2 (#2205) 2023-02-15 07:00:02 +01:00
Piotr Kiełkowicz 7cb4a93f04
Bump OTel to 1.4.0-rc.4 (#2202) 2023-02-14 07:47:36 +01:00
Paulo Janotti e2a12bf096
Add host tracing to troubleshooting doc (#2186)
* Add host tracing to troubleshooting doc

* Add COREHOST and TRACEFILE to dot-net.txt
2023-02-10 10:37:31 +01:00
Piotr Kiełkowicz 79795ace45
Rename OTEL_DOTNET_AUTO_LEGACY_SOURCES to OTEL_DOTNET_AUTO_TRACES_ADDITIONAL_LEGACY_SOURCES (#2184)
* Replace `OTEL_DOTNET_AUTO_LEGACY_SOURCES` with `OTEL_DOTNET_AUTO_TRACES_ADDITIONAL_LEGACY_SOURCES`.

* add missing -
2023-02-09 19:41:25 +00:00
Paulo Janotti 7b59b25d8e
Fix dotnet CLI usage: additional deps support to roll-forward (#2165)
* Add dotnet CLI integration tests

* Stop dotnet build servers during dotnet CLI tests

* Allow roll forward on shared store

* dotnet-format fixes

* Fix verified files for DistributionStructure test

* Update docs with info about `dotnet` CLI.

* Fix name typo in Build.Steps.cs

* PR feedback
2023-02-09 17:54:34 +00:00
Robert Pająk 8f5fab811b
Reuse instrument.sh for development (#2161) 2023-02-03 13:07:32 +00:00
Piotr Kiełkowicz 908504a9ae
Release 0.6.0-beta.1 (#2159) 2023-02-03 11:25:56 +01:00
xiang17 8feb82b96a
Bump OTel to 1.4.0-rc.3 (#2157) 2023-02-03 06:39:48 +01:00
Robert Pająk b773b72d76
Format native code using clang-format (#2101) 2023-02-02 12:10:26 +00:00
Piotr Kiełkowicz 9dedd85aea
Split ASP.NET and ASP.NET Core instrumentation id (#2142) 2023-02-02 09:14:37 +00:00
Piotr Kiełkowicz fc205e349b
Env var instrumentation - uppercase id (#2141) 2023-02-02 09:21:54 +01:00
Piotr Kiełkowicz 740b802101
Env var instrumentation improvements (#2088) 2023-02-01 20:42:10 +01:00
Robert Pająk 857799404e
Fix to use app.config in .NET Fx Windows Services (#2137) 2023-02-01 14:53:34 +01:00
Paulo Janotti 8a5f599fb2
Make dotnet CLI issue more visible in the docs (#2128)
Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
2023-02-01 06:40:10 +00:00
Rajkumar Rangaraj 2b73fc435a
Add ResourceBuilder support to plugin (#2034)
* Add ResourceBuilder support to plugin.

* lint

* PR feedback

* Update spelling

* typo fix

---------

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2023-01-27 20:41:36 +00:00
Rasmus Kuusmann 085b2c36a9
Add offline install option for PowerShell (#2095)
* Add offline install option

* fix format

* remove else blocks

---------

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2023-01-27 18:50:18 +00:00