Closed dee-see closed 9 months ago
Right now when the --metrics switch is on, there's a /debug/vars/ endpoint added automatically. It's not really useful for metrics and can potentially expose sensitive data so a way to disable this would be great.
--metrics
/debug/vars/
A --no-debug-vars switch as suggested here https://github.com/cactus/go-camo/issues/65#issuecomment-1777861157 would work well.
--no-debug-vars
I'll look into implementing this it seems simple enough
Right now when the
--metrics
switch is on, there's a/debug/vars/
endpoint added automatically. It's not really useful for metrics and can potentially expose sensitive data so a way to disable this would be great.A
--no-debug-vars
switch as suggested here https://github.com/cactus/go-camo/issues/65#issuecomment-1777861157 would work well.