Skip to content

Revert Delta Temporality Env Var#1489

Open
JacksonWeber wants to merge 1 commit intomicrosoft:mainfrom
JacksonWeber:jacksonweber/revert-delta
Open

Revert Delta Temporality Env Var#1489
JacksonWeber wants to merge 1 commit intomicrosoft:mainfrom
JacksonWeber:jacksonweber/revert-delta

Conversation

@JacksonWeber
Copy link
Contributor

This pull request removes the logic and related tests for setting the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE environment variable to "Delta" in the AKSLoader class. The change simplifies the code and test suite by eliminating this configuration.

Code cleanup:

  • Removed import and usage of ENV_OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE constant from src/agent/aksLoader.ts and src/agent/types.ts. [1] [2]
  • Deleted the code in AKSLoader that set process.env[ENV_OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE] = "Delta";.

Test suite simplification:

  • Removed the unit test verifying that OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to "Delta" in test/unitTests/agent/aksLoader.tests.ts.

Copy link
Member

@rads-1996 rads-1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments