Skip to content
Open
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
4 changes: 2 additions & 2 deletions docs/node-mixin/alerts/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
},
annotations: {
summary: 'Network interface is reporting many receive errors.',
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} receive errors in the last two minutes.',
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.2f" $value }} receive errors in the last two minutes.',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.2f" $value }} receive errors in the last two minutes.',
description: '{{ $labels.instance }} interface {{ $labels.device }} reported receive errors for {{ $value | humanizePercentage }} of packets in the last two minutes.',

},
},
{
Expand All @@ -181,7 +181,7 @@
},
annotations: {
summary: 'Network interface is reporting many transmit errors.',
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last two minutes.',
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.2f" $value }} transmit errors in the last two minutes.',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.2f" $value }} transmit errors in the last two minutes.',
description: '{{ $labels.instance }} interface {{ $labels.device }} reported transmit errors for {{ $value | humanizePercentage }} of packets in the last two minutes.',

},
},
{
Expand Down
Loading