Rudimentary auto instrumentation integration tests (#120) #69
Annotations
2 errors and 1 warning
Elastic.OpenTelemetry.AutoInstrumentation.IntegrationTests.PluginLoaderTests.ObserveDistributionPluginLoad:
tests/AutoInstrumentation.IntegrationTests/PluginLoaderTests.cs#L18
Expected output "[2024-07-10 07:20:12.909][00001][------][Information] Elastic Distribution for OpenTelemetry .NET: 1.0.0-alpha.3.20
[2024-07-10 07:20:12.936][00001][------][Information] Elastic Distribution for OpenTelemetry .NET, log file: <disabled>
[2024-07-10 07:20:12.936][00001][------][Information] Process ID: 1
[2024-07-10 07:20:12.947][00001][------][Information] Process name: dotnet
[2024-07-10 07:20:12.947][00001][------][Information] Process path: /usr/share/dotnet/dotnet
[2024-07-10 07:20:12.948][00001][------][Information] Process started: 2024-07-10 07:20:12.061
[2024-07-10 07:20:12.949][00001][------][Information] Machine name: 666c61c7bd3c
[2024-07-10 07:20:12.950][00001][------][Information] Process username: root
[2024-07-10 07:20:12.950][00001][------][Information] User domain name: 666c61c7bd3c
[2024-07-10 07:20:12.950][00001][------][Information] Command current directory: /app
[2024-07-10 07:20:12.950][00001][------][Information] Processor count: 4
[2024-07-10 07:20:12.952][00001][------][Information] OS version: Unix 6.5.0.1022
[2024-07-10 07:20:12.953][00001][------][Information] CLR version: 8.0.7
[2024-07-10 07:20:12.953][00001][------][Debug] Environment variable 'ELASTIC_OTEL_LOG_DIRECTORY' is not configured.
[2024-07-10 07:20:12.953][00001][------][Debug] Environment variable 'ELASTIC_OTEL_LOG_LEVEL' = 'trace'.
[2024-07-10 07:20:12.969][00001][------][Information] ElasticOpenTelemetryBuilder initialized
at Elastic.OpenTelemetry.ElasticOpenTelemetryBuilder.Bootstrap(ElasticOpenTelemetryBuilderOptions options)
at Elastic.OpenTelemetry.AutoInstrumentationPlugin.ElasticAutoInstrumentationPlugin..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at OpenTelemetry.AutoInstrumentation.Plugins.PluginManager..ctor(GeneralSettings settings) in /_/src/OpenTelemetry.AutoInstrumentation/Plugins/PluginManager.cs:line 23
at OpenTelemetry.AutoInstrumentation.Instrumentation.Initialize() in /_/src/OpenTelemetry.AutoInstrumentation/Instrumentation.cs:line 89
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at OpenTelemetry.AutoInstrumentation.Loader.Loader.TryLoadManagedAssembly() in /_/src/OpenTelemetry.AutoInstrumentation.Loader/Loader.cs:line 59
at OpenTelemetry.AutoInstrumentation.Loader.Loader..cctor() in /_/src/OpenTelemetry.AutoInstrumentation.Loader/Loader.cs:line 35
at OpenTelemetry.AutoInstrumentation.Loader.Loader..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at System.RuntimeType.<CreateInstanceImpl>g__CreateInstanceLocal|145_0(Boolean wrapExceptions)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName)
at StartupHook.Initialize() in /_/src/OpenTelemetry.AutoInstrumentation.StartupHook/StartupHook.cs:li
|
release
Process completed with exit code 1.
|
release
This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/git/setup.
|