Add trace export grpc-gateway config (#77)
Add API configuration file and auto-generate command and for HTTP/JSON -> gRPC gateway for the OpenCensus trace exporter service. This will enable the opencensus-service to implement an HTTP endpoint for exporting traces.pull/155/head
parent
654f0722aa
commit
ad721dcdba
2 changed files with 14 additions and 1 deletions
@ -0,0 +1,9 @@ |
||||
# This is an API configuration to generate an HTTP/JSON -> gRPC gateway for the |
||||
# OpenCensus service using github.com/grpc-ecosystem/grpc-gateway. |
||||
type: google.api.Service |
||||
config_version: 3 |
||||
http: |
||||
rules: |
||||
- selector: opencensus.proto.agent.trace.v1.TraceService.Export |
||||
post: /v1/trace |
||||
body: "*" |
Loading…
Reference in new issue