C# Class Netuitive.CollectdWin.WriteNetuitivePlugin

Inheritance: ICollectdWritePlugin
Exibir arquivo Open project: Netuitive/collectdwin

Public Methods

Method Description
Configure ( ) : void
GetIngestMetrics ( MetricValue metric, List &metrics, List &samples ) : void
Start ( ) : void
Stop ( ) : void
Write ( CollectableValue value ) : void
Write ( Queue values ) : void

Protected Methods

Method Description
ConvertEventsToIngestEvents ( List events ) : List
ConvertMetricsAttributesAndRelationsToIngestElements ( List metricsAttributes ) : List
GetIngestAttributes ( AttributeValue value, List &attributes ) : void
GetIngestRelations ( RelationValue value, List &relations ) : void
GetSortedValueLists ( Queue values, List &metricsAttributesAndRelations, List &events ) : void
MergeIngestElements ( List ieList ) : List
ProcessResponseCode ( int responseCode ) : bool
SerialiseJsonObject ( Object obj, Type type ) : string

Private Methods

Method Description
PostEvents ( List eventList ) : void
PostMetricsAndAttributes ( List mergedIngestElementList ) : void

Method Details

Configure() public method

public Configure ( ) : void
return void

ConvertEventsToIngestEvents() protected method

protected ConvertEventsToIngestEvents ( List events ) : List
events List
return List

ConvertMetricsAttributesAndRelationsToIngestElements() protected method

protected ConvertMetricsAttributesAndRelationsToIngestElements ( List metricsAttributes ) : List
metricsAttributes List
return List

GetIngestAttributes() protected method

protected GetIngestAttributes ( AttributeValue value, List &attributes ) : void
value BloombergFLP.CollectdWin.AttributeValue
attributes List
return void

GetIngestMetrics() public method

public GetIngestMetrics ( MetricValue metric, List &metrics, List &samples ) : void
metric BloombergFLP.CollectdWin.MetricValue
metrics List
samples List
return void

GetIngestRelations() protected method

protected GetIngestRelations ( RelationValue value, List &relations ) : void
value BloombergFLP.CollectdWin.RelationValue
relations List
return void

GetSortedValueLists() protected method

protected GetSortedValueLists ( Queue values, List &metricsAttributesAndRelations, List &events ) : void
values Queue
metricsAttributesAndRelations List
events List
return void

MergeIngestElements() protected method

protected MergeIngestElements ( List ieList ) : List
ieList List
return List

ProcessResponseCode() protected method

protected ProcessResponseCode ( int responseCode ) : bool
responseCode int
return bool

SerialiseJsonObject() protected method

protected SerialiseJsonObject ( Object obj, Type type ) : string
obj Object
type System.Type
return string

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Write() public method

public Write ( CollectableValue value ) : void
value BloombergFLP.CollectdWin.CollectableValue
return void

Write() public method

public Write ( Queue values ) : void
values Queue
return void