-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Support the stabilized specification:
GetAll
For many language implementations, the
GetAllfunction will be added after the stable release ofGetter.
For these languages, requiring implementations ofGetterto includeGetAllconstitutes a breaking change
since instrumentation which previously functioned would fail. Language implementations should be cognizant
of this, and addGetAllin a way that retains backwards compatibility. For example, by providing a default
GetAllimplementation based on Get, or by creating an extendedGettertype.If explicitly implemented, the
GetAllfunction MUST return all values of the given propagation key.
It SHOULD return them in the same order as they appear in the carrier.
If the key doesn't exist, it SHOULD return an empty collection.Required arguments:
- the carrier of propagation fields, such as an HTTP request.
- the key of the field.
The
GetAllfunction is responsible for handling case sensitivity. If the getter is intended to work with an HTTP request object, the getter MUST be case insensitive.