Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trace-otlp-http-exporter): add compression env vars #2796

Merged

Conversation

svetlanabrennan
Copy link
Contributor

@svetlanabrennan svetlanabrennan commented Feb 18, 2022

Signed-off-by: Svetlana Brennan svetlana.svn@gmail.com

Which problem is this PR solving?

Partially Fixes #2706 (issue)

This PR is adding environment variables around compression to the http otlp exporter.

Short description of the changes

Updated OTLPExporterNodeBase.ts to configure compression based on environment variables as well (not just through the config settings in code).

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • unit tests

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added

Signed-off-by: Svetlana Brennan <svetlana.svn@gmail.com>
@svetlanabrennan svetlanabrennan requested a review from a team February 18, 2022 20:32
@codecov
Copy link

codecov bot commented Feb 18, 2022

Codecov Report

Merging #2796 (e7325c5) into main (9579106) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2796   +/-   ##
=======================================
  Coverage   93.39%   93.39%           
=======================================
  Files         159      159           
  Lines        5450     5450           
  Branches     1145     1145           
=======================================
  Hits         5090     5090           
  Misses        360      360           
Impacted Files Coverage Δ
...ckages/opentelemetry-core/src/utils/environment.ts 96.00% <ø> (ø)

Co-authored-by: legendecas <legendecas@gmail.com>
@vmarchaud vmarchaud added the enhancement New feature or request label Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

otlp exporters: missing some environment variables from spec in SDK
4 participants