Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

- [ENHANCEMENT] Update windows_exporter to v0.16.0 (@rfratto, @mattdurham)

- [ENHANCEMENT] Add send latency to agent dashboard (@bboreham)

- [BUGFIX] Do not immediately cancel context when creating a new trace
processor. This was preventing scrape_configs in traces from
functioning. (@lheinlen)
Expand Down
15 changes: 4 additions & 11 deletions production/grafana-agent-mixin/dashboards.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,14 @@ local template = grafana.template;
legendFormat='{{cluster}}:{{pod}}-{{instance_group_name}}-{{url}}',
));

local timestampComparisonRate =
local remoteSendLatency =
graphPanel.new(
'Rate[5m]',
'P99 Latency [1m]',
datasource='$datasource',
span=6,
)
.addTarget(prometheus.target(
|||
(
rate(prometheus_remote_storage_highest_timestamp_in_seconds{cluster=~"$cluster", namespace=~"$namespace", container=~"$container"}[5m])
-
ignoring(url, remote_name) group_right(pod)
rate(prometheus_remote_storage_queue_highest_sent_timestamp_seconds{cluster=~"$cluster", namespace=~"$namespace", container=~"$container"}[5m])
)
|||,
'histogram_quantile(0.99, rate(prometheus_remote_storage_sent_batch_duration_seconds_bucket{cluster=~"$cluster", namespace=~"$namespace", container=~"$container"}[1m]))',
legendFormat='{{cluster}}:{{pod}}-{{instance_group_name}}-{{url}}',
));

Expand Down Expand Up @@ -341,7 +334,7 @@ local template = grafana.template;
.addRow(
row.new('Timestamps')
.addPanel(timestampComparison)
.addPanel(timestampComparisonRate)
.addPanel(remoteSendLatency)
)
.addRow(
row.new('Samples')
Expand Down