Show / Hide Table of Contents

Class DotNetWindowsInjector

(experimental) Windows-specific implementation of the .NET SDK injector. Handles CoreCLR profiler setup and paths for Windows environments.

Inheritance
object
Injector
DotNetInjector
DotNetWindowsInjector
Inherited Members
DotNetInjector.DOTNET_COMMON_ENVS
Injector.InjectInitContainer(TaskDefinition)
Injector.RenderDefaultContainer(TaskDefinition)
Injector.DEFAULT_ENVS
Injector.InstrumentationVersion
Injector.SharedVolumeName
Namespace: Amazon.CDK.AWS.ApplicationSignals.Alpha
Assembly: Amazon.CDK.AWS.ApplicationSignals.Alpha.dll
Syntax (csharp)
public class DotNetWindowsInjector : DotNetInjector
Syntax (vb)
Public Class DotNetWindowsInjector Inherits DotNetInjector
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ApplicationSignals.Alpha;

             InstrumentationVersion instrumentationVersion;

             var dotNetWindowsInjector = new DotNetWindowsInjector("sharedVolumeName", instrumentationVersion, new [] { new EnvironmentExtension {
                 Name = "name",
                 Value = "value"
             } });

Synopsis

Constructors

DotNetWindowsInjector(string, InstrumentationVersion, IEnvironmentExtension[]?)

(experimental) Windows-specific implementation of the .NET SDK injector. Handles CoreCLR profiler setup and paths for Windows environments.

Properties

Command

(experimental) The command to run the init container.

ContainerPath

(experimental) The path to ADOT SDK agent in the init container.

DOTNET_WINDOWS_ENVS

(experimental) Windows-specific implementation of the .NET SDK injector. Handles CoreCLR profiler setup and paths for Windows environments.

Methods

InjectAdditionalEnvironments(IDictionary<string, string>, IDictionary<string, string>)

(experimental) Inject additional environment variables to the application container other than the DEFAULT_ENVS.

OverrideAdditionalEnvironments(IDictionary<string, string>, IDictionary<string, string>)

(experimental) Override environment variables in the application container.

Constructors

DotNetWindowsInjector(string, InstrumentationVersion, IEnvironmentExtension[]?)

(experimental) Windows-specific implementation of the .NET SDK injector. Handles CoreCLR profiler setup and paths for Windows environments.

public DotNetWindowsInjector(string sharedVolumeName, InstrumentationVersion instrumentationVersion, IEnvironmentExtension[]? overrideEnvironments = null)
Parameters
sharedVolumeName string
instrumentationVersion InstrumentationVersion
overrideEnvironments IEnvironmentExtension[]
Remarks

Stability: Experimental

Properties

Command

(experimental) The command to run the init container.

public override string[] Command { get; }
Property Value

string[]

Overrides
Injector.Command
Remarks

Stability: Experimental

ContainerPath

(experimental) The path to ADOT SDK agent in the init container.

public override string ContainerPath { get; }
Property Value

string

Overrides
Injector.ContainerPath
Remarks

Stability: Experimental

DOTNET_WINDOWS_ENVS

(experimental) Windows-specific implementation of the .NET SDK injector. Handles CoreCLR profiler setup and paths for Windows environments.

protected static IEnvironmentExtension[] DOTNET_WINDOWS_ENVS { get; }
Property Value

IEnvironmentExtension[]

Remarks

Stability: Experimental

Methods

InjectAdditionalEnvironments(IDictionary<string, string>, IDictionary<string, string>)

(experimental) Inject additional environment variables to the application container other than the DEFAULT_ENVS.

protected override void InjectAdditionalEnvironments(IDictionary<string, string> envsToInject, IDictionary<string, string> envsFromTaskDef)
Parameters
envsToInject IDictionary<string, string>
envsFromTaskDef IDictionary<string, string>
Overrides
Injector.InjectAdditionalEnvironments(IDictionary<string, string>, IDictionary<string, string>)
Remarks

Stability: Experimental

OverrideAdditionalEnvironments(IDictionary<string, string>, IDictionary<string, string>)

(experimental) Override environment variables in the application container.

protected override void OverrideAdditionalEnvironments(IDictionary<string, string> envsToOverride, IDictionary<string, string> envsFromTaskDef)
Parameters
envsToOverride IDictionary<string, string>
envsFromTaskDef IDictionary<string, string>
Overrides
Injector.OverrideAdditionalEnvironments(IDictionary<string, string>, IDictionary<string, string>)
Remarks

Stability: Experimental

Back to top Generated by DocFX