Gibraltar Loupe
EventMetric Class Members
Properties  Methods 


The following tables list the members exposed by EventMetric.

Public Properties
 NameDescription
Public PropertyCaptionA short caption of what the metric tracks, suitable for end-user display.  
Public PropertyCategoryNameThe category of this metric for display purposes. Category is the top displayed hierarchy.  
Public PropertyCounterNameThe display name of this metric (unique within the category name).  
Public PropertyDefinitionThe definition of this event metric.  
Public PropertyDescriptionA description of what is tracked by this metric, suitable for end-user display.  
Public PropertyIdThe unique Id of this event metric instance. This can reliably be used as a key to refer to this item, within the same session which created it.  
Public PropertyInstanceNameGets the instance name for this event metric.  
Public PropertyIsDefaultIndicates whether this is the default metric instance for this metric definition or not.  
Public PropertyKeyThe four-part key of the metric instance being captured, as a single string.  
Public PropertyMetricsSystemThe metrics capture system label of this metric definition.  
Top
Public Methods
 NameDescription
Public MethodCompareToIndicates the relative sort order of this object to another of the same type.  
Public MethodCreateSampleCreate a new, emtpy metric sample for this event metric instance, ready to be filled out and written.  
Public MethodEqualsOverloaded. Determines if the provided object is identical to this object.  
Public Methodstatic (Shared in Visual Basic)RegisterOverloaded. Registers all event metric definitions defined by attributes on the provided object or Type, and registers metric instances where EventMetricInstanceName attribute is also found (with a live object).  
Public Methodstatic (Shared in Visual Basic)WriteOverloaded. Write event metric samples for all event metrics defined on the provided data object by attributes.  
Public MethodWriteSampleOverloaded. Write an event metric sample for this event metric instance using the provided data object.  
Top
See Also

Reference

EventMetric Class
Gibraltar.Agent.Metrics Namespace

Related Classes

EventMetricSample Class
EventMetricDefinition Class
EventMetricAttribute Class
EventMetricValueAttribute Class
SampledMetric Class

Developer's Reference

Metrics - Introduction
Metrics - Sampled and Event Metrics

 

 


Copyright © 2008-2013 Gibraltar Software, Inc.

Send Feedback