outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

Add 2 very useful endpoints

Open WenzzyX opened this issue 2 years ago • 1 comments

Hello. I ran into the problem of normal counting of the transferred data, if there are many keys, then statistics are obtained for all keys, therefore, I ask you to add 2 endpoints.

  1. {SECRET_URL}/:id/data-transferred - Returns transferred data for one key by id
  2. {SECRET_URL}/data-transferred-keys (Request body : { keys: [1, 2, 3 ... n] }) - Returns the passed data for all keys that are specified in the request (IDs)

WenzzyX avatar Mar 17 '22 16:03 WenzzyX

A very necessary function! Please implement!

skala-vl avatar Sep 02 '22 20:09 skala-vl

Could you assign me this issue?

Blueclaus13 avatar Feb 14 '23 18:02 Blueclaus13

@Blueclaus13 sorry for the delay over here – would you still like to work on this? We'd love that!

maddyhof avatar Jun 26 '23 15:06 maddyhof

@WenzzyX you can access the metrics directly from the Prometheus metrics backend: https://stackoverflow.com/questions/76869983/monitoring-outline-vpn-how-to-access-performance-metrics-of-an-outline-server

fortuna avatar Aug 30 '23 19:08 fortuna