Show / Hide Table of Contents

Class WatsonODataClientFailuresExtensions

Inheritance
System.Object
WatsonODataClientFailuresExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.PullIngestion.Watson
Assembly: CrashCABN.PullIngestion.Watson.dll
Syntax
public static class WatsonODataClientFailuresExtensions

Methods

View Source

GetTopHits(WatsonODataClient, String, String, DateTime, Nullable<Int32>)

Gets the most frequently occuring buckets for the given app/version/time range.

Declaration
public static async Task<IEnumerable<FailureInfo>> GetTopHits(this WatsonODataClient client, string appName, string version, DateTime since, int? limit = default(int? ))
Parameters
Type Name Description
WatsonODataClient client
System.String appName
System.String version
System.DateTime since
System.Nullable<System.Int32> limit
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<FailureInfo>>
View Source

GetTopVersions(WatsonODataClient, String, DateTime)

Gets the most frequently failing build version for the given app/time range.

Declaration
public static async Task<IEnumerable<BuildHits>> GetTopVersions(this WatsonODataClient client, string appName, DateTime since)
Parameters
Type Name Description
WatsonODataClient client
System.String appName
System.DateTime since
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<BuildHits>>

Each version gets a unique entry per day in the time range.

  • View Source
In This Article
Back to top Generated by DocFX