Skip to content

Commit

Permalink
SWPTP-1000: metrics: gather and write out http response
Browse files Browse the repository at this point in the history
  • Loading branch information
abower-amd committed Jan 30, 2025
1 parent 2566a72 commit 33db628
Show file tree
Hide file tree
Showing 2 changed files with 334 additions and 186 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
`socat TCP-LISTEN:9979,fork UNIX-CONNECT:/run/sfptpd/metrics.sock`
- Export real time stats over OpenMetrics HTTP socket. (SWPTP-1385)
- For JSON Lines, GET /rt-stats.jsonl
- For JSON Seq, GET /rt-stats.json-seq
- For JSON Seq (RFC7464), GET /rt-stats.json-seq
- For sfptpd stats log text, GET /rt-stats.txt
- To avoid consuming real time stats, GET /peek/rt-stats.jsonl, etc.
- e.g. `curl --unix-socket /run/sfptpd/metrics.sock http://_/rt-stats.jsonl`
Expand Down
Loading

0 comments on commit 33db628

Please sign in to comment.