attributes: replace reporter local with reporter type (#1627)

This commit is contained in:
Kuat 2018-06-29 06:38:14 -07:00 committed by Martin Taillefer
parent 9876cf1b8a
commit 221f373a6c
1 changed files with 4 additions and 4 deletions

View File

@ -73,10 +73,10 @@ deployments will have agents (Envoy or Mixer adapters) that produce these attrib
| `connection.sent.bytes_total` | int64 | Total number of bytes sent by a destination service during the lifetime of a connection. | |
| `connection.duration` | duration | The total amount of time a connection has been open. | |
| `connection.mtls` | boolean | Indicates whether a request is received over a mTLS enabled downstream connection. | |
| `context.protocol` | string | Protocol of the request or connection being proxied. | tcp |
| `context.time` | timestamp | The timestamp of Mixer operation. | |
| `context.reporter.local` | boolean | Indicates whether the attribute reporter is co-located with the service instance (e.g. `true` for the server sidecar, `false` for the client sidecar). | |
| `context.reporter.uid` | string | Platform-specific identifier of the attribute reporter. | kubernetes://my-svc-234443-5sffe.my-namespace |
| `context.protocol` | string | Protocol of the request or connection being proxied. | tcp |
| `context.time` | timestamp | The timestamp of Mixer operation. | |
| `context.reporter.type` | string | Contextualizes the reported attribute set. Set to `inbound` for the server-side calls from sidecars and `outbound` for the client-side calls from sidecars and gateways | `inbound` |
| `context.reporter.uid` | string | Platform-specific identifier of the attribute reporter. | kubernetes://my-svc-234443-5sffe.my-namespace |
| `api.service` | string | The public service name. This is different than the in-mesh service identity and reflects the name of the service exposed to the client. | my-svc.com |
| `api.version` | string | The API version. | v1alpha1 |
| `api.operation` | string | Unique string used to identify the operation. The id is unique among all operations described in a specific <service, version>. | getPetsById |