C# Class Microsoft.Azure.Insights.Legacy.Customizations.Shoebox.BlobShoeboxMetricRetriever

Metric retriever for getting metrics in "shoebox" storage accounts using provided SAS keys for blobs
Inheritance: IMetricRetriever
Exibir arquivo Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
GetMetricsAsync ( string resourceId, string filterString, IEnumerable definitions, string invocationId ) : Task

Private Methods

Method Description
Aggregate ( MetricValue lastSeen, MetricValueBlob m ) : void
CompareMetrics ( MetricValueBlob a, MetricValueBlob b ) : int
FetchMetricValuesFromBlob ( BlobInfo blobInfo, MetricFilter filter ) : List>>.Task
GetAggregatedByTimestamp ( List metricValues ) : List
GetBlobEndpoint ( BlobInfo blobInfo ) : string
GetConvertedMetric ( MetricValueBlob m ) : MetricValue
IsMetricDefinitionIncluded ( MetricFilter filter, MetricDefinition metricDefinition ) : bool

Method Details

GetMetricsAsync() public method

public GetMetricsAsync ( string resourceId, string filterString, IEnumerable definitions, string invocationId ) : Task
resourceId string
filterString string
definitions IEnumerable
invocationId string
return Task