Module Values.LabelSource

A single label container. This is used as an element of a label array in multiple contexts, for example, in RuleLabels inside a Rule and in Labels inside a SampledHTTPRequest.

Sourcetype nonrec t = {
  1. name : LabelName.t;
    (*

    The label string.

    *)
}
Sourceval context_ : string
Sourceval make : name:LabelName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of LabelName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t