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: make configgrpc support more encodings #2849

Conversation

naseemkullah
Copy link
Member

@naseemkullah naseemkullah commented Mar 30, 2021

add support for lz4, snappy and zstd by means of
https://github.com/mostynb/go-grpc-compression to configgrcpc.go's
grpc client compression setting

fixes #2548

To test, I ran the docker-compose with a locally built image and configured the exporter with lz4 compression. No error was emitted:

...
exporters:
  otlp:
    endpoint: "otel-collector:4317"
    insecure: true
    compression: lz4
 ...

@naseemkullah naseemkullah requested a review from a team March 30, 2021 12:47
fixes open-telemetry#2548

add support for lz4, snappy and zstd by means of
https://github.com/mostynb/go-grpc-compression to configgrcpc.go's
grpc client compression setting

Signed-off-by: naseemkullah <naseem@transit.app>
@codecov
Copy link

codecov bot commented Mar 30, 2021

Codecov Report

Merging #2849 (f9eac38) into main (0738d68) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2849   +/-   ##
=======================================
  Coverage   91.78%   91.78%           
=======================================
  Files         291      291           
  Lines       15522    15522           
=======================================
  Hits        14247    14247           
  Misses        874      874           
  Partials      401      401           
Impacted Files Coverage Δ
config/configgrpc/configgrpc.go 98.76% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0738d68...f9eac38. Read the comment docs.

config/configgrpc/README.md Outdated Show resolved Hide resolved
exporter/otlpexporter/cfg-schema.yaml Outdated Show resolved Hide resolved
Signed-off-by: naseemkullah <naseem@transit.app>
@naseemkullah
Copy link
Member Author

bump

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 28, 2021
@tigrannajaryan
Copy link
Member

@bogdandrutu @naseemkullah is this ready to be merged?

@naseemkullah
Copy link
Member Author

yes @tigrannajaryan as far as I'm concerned

@github-actions github-actions bot removed the Stale label Apr 30, 2021
@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2021

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 1, 2021

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 1, 2021
@bogdandrutu bogdandrutu removed the Stale label Jun 7, 2021
@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 15, 2021
@alolita
Copy link
Member

alolita commented Jun 15, 2021

@naseemkullah pl fix these conflicts and resubmit.

@alolita alolita added area:config and removed Stale labels Jun 15, 2021
@punya punya added the discussion-needed Community discussion needed label Jun 18, 2021
@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2021

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jul 6, 2021
@punya
Copy link
Member

punya commented Jul 7, 2021

@bogdandrutu can we close this out (or allow the stale bot to perform it's life mission)? From today's SIG meeting, we couldn't find anybody to take over ownership. People can always reopen when they are motivated to work on it.

@github-actions github-actions bot removed the Stale label Jul 8, 2021
@jpkrohling jpkrohling closed this Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:config discussion-needed Community discussion needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

configgrpc.go should support more encoding/compressions
6 participants