#contributions

Implementing "Toggle Slow Request Log" and "API Stats"

TLDR Harpreet enquired about implementing "Toggle Slow Request Log" and "API Stats" in Operations. Jason confirmed that these should be added, with Stats being a separate endpoint.

Powered by Struct AI

1

4
31mo
Solved
Join the chat
Jul 06, 2021 (31 months ago)
Harpreet
Photo of md5-745d880d794220d9f0fb9ade17c6b861
Harpreet
03:33 PM
Also should I implement Toggle Slow Request Log and API Stats in Operations? There's only curl commands available for these requests
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:37 PM
Oh yeah, just haven’t gotten around to documenting those. Stats is a separate endpoint btw, not under operations
Harpreet
Photo of md5-745d880d794220d9f0fb9ade17c6b861
Harpreet
03:40 PM
So I should add a Stats class? Similar to Metrics?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:14 PM
Correct

1