Click or drag to resize
Grid Solutions Framework

GrafanaDataSourceBase Class

Represents a base implementation for Grafana data sources.
Inheritance Hierarchy
SystemObject
  GrafanaAdaptersGrafanaDataSourceBase

Namespace: GrafanaAdapters
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.218-beta
Syntax
[SerializableAttribute]
public abstract class GrafanaDataSourceBase
View Source

The GrafanaDataSourceBase type exposes the following members.

Constructors
 NameDescription
Protected methodGrafanaDataSourceBaseInitializes a new instance of the GrafanaDataSourceBase class
Top
Properties
 NameDescription
Public propertyInstanceName Gets or sets instance name for this GrafanaDataSourceBase implementation.
Public propertyMaximumAnnotationsPerRequest Gets or sets maximum number of annotations to return during an annotations query.
Public propertyMaximumSearchTargetsPerRequest Gets or sets maximum number of search targets to return during a search query.
Public propertyMetadata Gets or sets DataSetAdapter used to hold DataSet based metadata source available to this GrafanaDataSourceBase implementation.
Top
Methods
 NameDescription
Public methodAnnotations Queries data source for annotations in a time-range (e.g., Alarms).
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAlarmState Queries current alarm device state.
Public methodGetDeviceAlarms Queries All Available Device Alarm states.
Public methodGetDeviceGroups Queries All Available Device Groups.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetValueTypeFunctions Gets the functions that are available for a given data source value type.
Public methodGetValueTypes Gets the data source value types, i.e., any type that has implemented IDataSourceValueType, that have been loaded into the application domain.
Public methodGetValueTypeTableFields Gets the field names for a given table when dataTypeIndex is a valid index in the data source value cache and selected table name contains all the fields that the value type has defined as required, see RequiredMetadataFieldNames . When dataTypeIndex is -1, fields for any valid metadata table name are returned.
Public methodGetValueTypeTables Gets the table names that, at a minimum, contain all the fields that the value type has defined as required, see RequiredMetadataFieldNames when dataTypeIndex is a valid index in the data source value cache. When dataTypeIndex is -1, all table names are returned.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodQuery Queries data source returning data as Grafana time-series data set.
Protected methodQueryDataSourceValues Starts a query that will read data source values, given a set of point IDs and targets, over a time range.
Public methodReloadDataSourceValueTypes Reloads data source value types cache.
Public methodReloadGrafanaFunctions Reloads Grafana functions cache.
Public methodSearch Search data source meta-data for a target.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also