Skip to content
Snippets Groups Projects

input: decoder: trace input fifo buffer level

Merged Alexandre Janniaux requested to merge alexandre-janniaux/vlc:decoder-traces/1 into master

This MR adds support for unsigned integers in the tracer, and use this support to trace the decoder fifo level.

The decoder fifo level metric allows interpreting the situation that led to the fifo from the decoder to be flushed (ie. the fifo reached 400MiB of undecoded data stored). The metrics generates a lot of points though, so be sure to aggregate when displaying it.

Example of query in flux language:

    from(bucket: v.defaultBucket)
    |> range(start: v.timeRangeStart, stop:v.timeRangeStop)
    |> filter(fn: (r) =>
      r._measurement == "measurement" and
      r._field == "fifo_size"
    )
    |> aggregateWindow(every: 1s, fn: max)

Unaggregated:

image

Aggregated:

image

Merge request reports

Merge request pipeline #571995 passed

Merge request pipeline passed for bb32f75f

Test coverage 17.92% (0.01%) from 1 job
Approval is optional
Ready to merge by members who can write to the target branch.

Merge details

  • 1 commit will be added to master.
  • Source branch will be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading