Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValueFromLabelerType ¶ added in v0.49.0
func TruncateCommandBeforeTheLastPipe ¶ added in v0.57.0
TruncateCommandBeforeTheLastPipe DPL commands are often aggregated in pipes, one after another. In certain contexts only the piece after the last pipe actually matters, while the previous ones only provide awareness of the whole topology. The current IL does not allow us to fit messages longer than 1024 characters, so we end up with truncated logs anyway. This method attempts to keep the piece after the last '|' intact, but will trim anything before if the total command length is going to exceed maxLength.
Types ¶
Click to show internal directories.
Click to hide internal directories.