Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sinks/websocket/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl SinkConfig for WebSocketSinkConfig {
}

fn input(&self) -> Input {
Input::log()
Input::new(self.encoding.config().input_type())
}

fn acknowledgements(&self) -> &AcknowledgementsConfig {
Expand Down
13 changes: 10 additions & 3 deletions website/cue/reference/components/sinks/websocket.cue
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,16 @@ components: sinks: websocket: {
}

input: {
logs: true
metrics: null
traces: false
logs: true
metrics: {
counter: true
distribution: true
gauge: true
histogram: true
summary: true
set: true
}
traces: true
}

telemetry: metrics: {
Expand Down