Class KubeEnv
Defines the NEONKUBE related environment variables as well as properties that access them.
Namespace: Neon.Kube
Assembly: Neon.Kube.dll
Syntax
public static class KubeEnv
  Fields
DisableTelemetryVariable
Environment variable used to disable telemetry from NEONKUBE client applications. The supported values are true or false.
Declaration
public const string DisableTelemetryVariable = "NEONKUBE_DISABLE_TELEMETRY"
  Field Value
| Type | Description | 
|---|---|
| string | 
HeadendUriVariable
Environment variable used by developers to redirect cloent application headend service requests for testing purposes.
Declaration
public const string HeadendUriVariable = "NEONKUBE_HEADEND_URI"
  Field Value
| Type | Description | 
|---|---|
| string | 
TelemetryUriVariable
Environment variable used by developers to redirect client application telemetry to a non-production cluster for testing purposes.
Declaration
public const string TelemetryUriVariable = "NEONKUBE_TELEMETRY_URI"
  Field Value
| Type | Description | 
|---|---|
| string | 
Properties
HeadendUri
Returns the URI NEONKUBE related headend services.  This defaults to https://headend.neoncloud.io
but can be modified bhy developers for testing purposes by setting the NEONKUBE_HEADEND_URI
environment variable.
Declaration
public static Uri HeadendUri { get; }
  Property Value
| Type | Description | 
|---|---|
| Uri | 
IsTelemetryDisabled
Determines whether the user has disabled Neon telemetry by the presence
of the NEONKUBE_DISABLE_TELEMETRY=true environment variable.
Declaration
public static bool IsTelemetryDisabled { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
TelemetryLogsUri
Returns the OTEL Collector Log endpoint URI where NEONKUBE related clients should direct
their telemetry.  This defaults to https://telemetry.neoncloud.io but can
be modified by developers for testing purposes by setting the NEONKUBE_TELEMETRY_URI
environment variable.
Declaration
public static Uri TelemetryLogsUri { get; }
  Property Value
| Type | Description | 
|---|---|
| Uri | 
TelemetryTracesUri
Returns the OTEL Collector Trace endpoint URI where NEONKUBE related clients should direct
their telemetry.  This defaults to https://telemetry.neoncloud.io but can
be modified by developers for testing purposes by setting the NEONKUBE_TELEMETRY_URI
environment variable.
Declaration
public static Uri TelemetryTracesUri { get; }
  Property Value
| Type | Description | 
|---|---|
| Uri |