feat: metrics including pprof, expvars

This commit is contained in:
yichya 2022-03-25 11:24:23 +08:00 committed by yuhan6665
parent 91ffb7617d
commit 35eb165f63
9 changed files with 530 additions and 1 deletions

13
app/metrics/config.proto Normal file
View file

@ -0,0 +1,13 @@
syntax = "proto3";
package xray.app.metrics;
option csharp_namespace = "Xray.App.Metrics";
option go_package = "github.com/xtls/xray-core/app/metrics";
option java_package = "com.xray.app.metrics";
option java_multiple_files = true;
// Config is the settings for metrics.
message Config {
// Tag of the outbound handler that handles metrics http connections.
string tag = 1;
}