Skip to content

Commit

Permalink
Use gzip compression as default for AppSignal sink
Browse files Browse the repository at this point in the history
As discussed in the PR, use gzip as the default compression for the
AppSignal sink for now.

#16650 (comment)
  • Loading branch information
tombruijn committed Apr 5, 2023
1 parent c042735 commit 1c4e189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sinks/appsignal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub struct AppsignalSinkConfig {
push_api_key: SensitiveString,

#[configurable(derived)]
#[serde(default)]
#[serde(default = "Compression::gzip_default")]
compression: Compression,

#[configurable(derived)]
Expand Down
2 changes: 1 addition & 1 deletion website/cue/reference/components/sinks/base/appsignal.cue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ base: components: sinks: appsignal: configuration: {
"""
required: false
type: string: {
default: "none"
default: "gzip"
enum: {
gzip: """
[Gzip][gzip] compression.
Expand Down

0 comments on commit 1c4e189

Please sign in to comment.