scx-upstream/rust/scx_stats/examples
Tejun Heo 3a688cfde7 scx_stats: Add support for no-value user attributes and a bunch of other changes
- Allow no-value user attributes which are automatically assigned "true"
  when specified.

- Make "top" attribute string "true" instead of bool true for consistency.
  Testing for existence is always enough for value-less attributes.

- Don't drop leading "_" from user attribute names when storing in dicts.
  Dropping makes things more confusing.

- Add "_om_skip" to scx_layered fields which don't jive well with OM.
  scxstats_to_openmetrics.py is updated accordignly and no longer generates
  warnings on those fields.

- Examples and README updated accordingly.
2024-08-16 07:52:02 -10:00
..
client.rs scx_stats: Add support for no-value user attributes and a bunch of other changes 2024-08-16 07:52:02 -10:00
server.rs scx_stats: Rename "all" attribute to "top" and clean up examples a bit 2024-08-15 21:24:55 -10:00
stats_defs.rs.h scx_stats: Add support for no-value user attributes and a bunch of other changes 2024-08-16 07:52:02 -10:00