GRPC-Reporter-Option.md 649 字节
Newer Older
Z
zhang-wei 已提交
1 2 3 4 5 6 7 8
### GRPCReporterOption

`GRPCReporterOption` allows for functional options to adjust behaviour of a `gRPC` reporter to be created by `NewGRPCReporter`.

|    Function    | Describe |
| ---------- | --- |
| `reporter.WithLogger` |  setup logger for gRPC reporter |
| `reporter.WithCheckInterval` |  setup service and endpoint registry check interval |
Z
zhang-wei 已提交
9
| `reporter.WithMaxSendQueueSize` | setup send span queue buffer length |
Z
zhang-wei 已提交
10 11 12
| `reporter.WithInstanceProps` |  setup service instance properties eg: org=SkyAPM |
| `reporter.WithTransportCredentials` |  setup transport layer security |
| `reporter.WithAuthentication` |  used Authentication for gRPC |