AgsMetrics

open class AgsMetrics

AeroGear Services metrics

  • Undocumented

    Declaration

    Swift

    public init(_ http: AgsHttp, _ configService: ServiceConfig)
  • Internal method for publishing SDK defined metrics. Not to be called in end user application

    Declaration

    Swift

    public func publish(_ type: String, _ metrics: [Metrics], _ handler: @escaping (AgsHttpResponse?) -> Void)

    Parameters

    type

    represents metrics type

    metrics

    instances that should be published

    handler

    handler for success/failire