Module Values.EventSourceMappingMetricsConfigSource

The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.

Sourcetype nonrec t = {
  1. metrics : EventSourceMappingMetricList.t option;
    (*

    The metrics you want your event source mapping to produce, including EventCount, ErrorCount, KafkaMetrics. EventCount to receive metrics related to the number of events processed by your event source mapping. ErrorCount (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing. KafkaMetrics (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping. For more information about these metrics, see Event source mapping metrics.

    *)
}
Sourceval make : ?metrics:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string ] 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