-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Initialise Sumo Logic exporter #1499
Initialise Sumo Logic exporter #1499
Conversation
1d9edbb
to
811200b
Compare
811200b
to
92f1366
Compare
6afbfae
to
028acd2
Compare
fc112a9
to
005f979
Compare
exporter/sumologicexporter/config.go
Outdated
// Option to enable compression (default true) | ||
Compress bool `mapstructure:"compress"` | ||
// Compression encoding format, either gzip or deflate (default gzip) | ||
CompressEncoding CompressEncodingType `mapstructure:"compress_encoding"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you don't need both these options. You can have only CompressEncoding and:
- "" - disabled
- "gzip" - gzip
- "deflate" - deflate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats reasonable. It will simplify the further PR too, so I changed it.
@sumo-drosiek ping |
To disable compression empty string ("") should be used
@sumo-drosiek I think there is a problem with circle CI and this PR. Can you open a new Pr with the same changes? |
@bogdandrutu Sure, it can be due to using circle CI on our fork. I created PR from my personal account. It should works fine now. Here is the PR #1565 |
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Description:
Initialise Sumo Logic exporter
Link to tracking Issue: #1498
Testing:
Unit tests
Documentation:
Readme