Commit 7100a7ba authored by zhujiashun's avatar zhujiashun

make the path of PrometheusMetricsService be different from default /metrics

parent fe556250
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
namespace brpc { namespace brpc {
class PrometheusMetricsService : public metrics { class PrometheusMetricsService : public brpc_vars_metrics {
public: public:
PrometheusMetricsService(Server* server) PrometheusMetricsService(Server* server)
: _server(server) {} : _server(server) {}
......
...@@ -97,7 +97,7 @@ service sockets { ...@@ -97,7 +97,7 @@ service sockets {
rpc default_method(SocketsRequest) returns (SocketsResponse); rpc default_method(SocketsRequest) returns (SocketsResponse);
} }
service metrics { service brpc_vars_metrics {
rpc default_method(MetricsRequest) returns (MetricsResponse); rpc default_method(MetricsRequest) returns (MetricsResponse);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment