GRPC Core  3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
load_reporting.h File Reference
#include <grpc/impl/codegen/port_platform.h>
#include <grpc/slice.h>

Go to the source code of this file.

Data Structures

struct  grpc_load_reporting_cost_context
 A sequence of values for load reporting purposes. More...
 

Macros

#define GRPC_LB_TOKEN_MD_KEY   "lb-token"
 Metadata key for the gRPC LB load balancer token. More...
 

Typedefs

typedef struct
grpc_load_reporting_cost_context 
grpc_load_reporting_cost_context
 A sequence of values for load reporting purposes. More...
 

Macro Definition Documentation

#define GRPC_LB_TOKEN_MD_KEY   "lb-token"

Metadata key for the gRPC LB load balancer token.

The value corresponding to this key is an opaque token that is given to the frontend as part of each pick; the frontend sends this token to the backend in each request it sends when using that pick. The token is used by the backend to verify the request and to allow the backend to report load to the gRPC LB system.

Typedef Documentation

A sequence of values for load reporting purposes.