SuggestIngestionMetrics
public struct SuggestIngestionMetrics
extension SuggestIngestionMetrics: Sendable
extension SuggestIngestionMetrics: Equatable, Hashable
Ingestion metrics
These are recorded during [crate::Store::ingest] and returned to the consumer to record.
-
Samples for the
suggest.ingestion_timemetricDeclaration
Swift
public var ingestionTimes: [LabeledTimingSample] -
Samples for the
suggest.ingestion_download_timemetricDeclaration
Swift
public var downloadTimes: [LabeledTimingSample] -
Declaration
Swift
public init( /** * Samples for the `suggest.ingestion_time` metric */ingestionTimes: [LabeledTimingSample], /** * Samples for the `suggest.ingestion_download_time` metric */downloadTimes: [LabeledTimingSample]) -
Declaration
Swift
public static func == (lhs: SuggestIngestionMetrics, rhs: SuggestIngestionMetrics) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher)