Module Values.DataSourceSyncJobMetricsSource

Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.

Sourcetype nonrec t = {
  1. documentsAdded : MetricValue.t option;
    (*

    The number of documents added from the data source up to now in the data source sync.

    *)
  2. documentsModified : MetricValue.t option;
    (*

    The number of documents modified in the data source up to now in the data source sync run.

    *)
  3. documentsDeleted : MetricValue.t option;
    (*

    The number of documents deleted from the data source up to now in the data source sync run.

    *)
  4. documentsFailed : MetricValue.t option;
    (*

    The number of documents that failed to sync from the data source up to now in the data source sync run.

    *)
  5. documentsScanned : MetricValue.t option;
    (*

    The current number of documents crawled by the current sync job in the data source.

    *)
}
Sourceval make : ?documentsAdded:??? -> ?documentsModified:??? -> ?documentsDeleted:??? -> ?documentsFailed:??? -> ?documentsScanned:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MetricValue.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