Module Values.ScraperComponentSource

A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.

Sourcetype nonrec t = {
  1. type_ : ScraperComponentType.t;
    (*

    The type of the scraper component.

    *)
  2. config : ComponentConfig.t option;
    (*

    The configuration settings for the scraper component.

    *)
}
Sourceval context_ : string
Sourceval make : ?config:??? -> type_:ScraperComponentType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list ]) list ]) 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