All checks were successful
		
		
	
	test / test (push) Successful in 1m56s
				
			move to v4 micro Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org> Reviewed-on: #199 Co-authored-by: Evstigneev Denis <danteevstigneev@yandex.ru> Co-committed-by: Evstigneev Denis <danteevstigneev@yandex.ru>
		
			
				
	
	
		
			25 lines
		
	
	
		
			617 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			617 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| syntax = "proto3";
 | |
| 
 | |
| package micro.server.http.v3.handler.meter;
 | |
| option go_package = "go.unistack.org/micro-server-http/v4/handler/meter;meter_handler";
 | |
| 
 | |
| import "api/annotations.proto";
 | |
| import "openapiv3/annotations.proto";
 | |
| import "codec/frame.proto";
 | |
| 
 | |
| service MeterService {
 | |
| 	rpc Metrics(micro.codec.Frame) returns (micro.codec.Frame) {
 | |
| 		option (micro.openapiv3.openapiv3_operation) = {
 | |
|       operation_id: "Metrics";
 | |
|       responses: {
 | |
|         default: {
 | |
|           reference: {
 | |
|             _ref: "micro.codec.Frame";
 | |
|           };
 | |
|         };
 | |
|       };
 | |
|     };
 | |
| 		option (micro.api.http) = { get: "/metrics"; };
 | |
|   };
 | |
| };
 |