Skip to content

Commit

Permalink
fixup! fixup! Merge limits_config and runtime_config
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Haudum <[email protected]>
  • Loading branch information
chaudum committed Jan 15, 2025
1 parent 8f3a196 commit b13711c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions pkg/runtime/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,12 @@ type Limits struct {
S3SSEKMSKeyID string `yaml:"s3_sse_kms_key_id" json:"s3_sse_kms_key_id" doc:"nocli|description=S3 server-side encryption KMS Key ID. Ignored if the SSE type override is not set."`
S3SSEKMSEncryptionContext string `yaml:"s3_sse_kms_encryption_context" json:"s3_sse_kms_encryption_context" doc:"nocli|description=S3 server-side encryption KMS encryption context. If unset and the key ID override is set, the encryption context will not be provided to S3. Ignored if the SSE type override is not set."`

LogStreamCreation bool `yaml:"log_stream_creation"`
LogPushRequest bool `yaml:"log_push_request"`
LogPushRequestStreams bool `yaml:"log_push_request_streams"`
LogDuplicateMetrics bool `yaml:"log_duplicate_metrics"`
LogDuplicateStreamInfo bool `yaml:"log_duplicate_stream_info"`

// LimitedLogPushErrors is to be implemented and will allow logging push failures at a controlled pace.
LimitedLogPushErrors bool `yaml:"limited_log_push_errors"`
LogStreamCreation bool `yaml:"log_stream_creation" json:"log_stream_creation"`
LogPushRequest bool `yaml:"log_push_request" json:"log_stream_request"`
LogPushRequestStreams bool `yaml:"log_push_request_streams" json:"log_push_request_streams"`
LogDuplicateMetrics bool `yaml:"log_duplicate_metrics" json:"log_duplicate_metrics"`
LogDuplicateStreamInfo bool `yaml:"log_duplicate_stream_info" json:"log_duplicate_stream_info"`
LimitedLogPushErrors bool `yaml:"limited_log_push_errors" json:"limited_log_push_errors"`
}

type FieldDetectorConfig struct {
Expand Down

0 comments on commit b13711c

Please sign in to comment.