Documentation ¶
Overview ¶
Package hana provides functionality to collect SAP HANA metrics. The package implements processmetrics.Collector interface to collect HANA metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceProperties ¶
type InstanceProperties struct { SAPInstance *sapb.SAPInstance Config *cnfpb.Configuration Client cloudmonitoring.TimeSeriesCreator HANAQueryFailCount int64 }
InstanceProperties has necessary context for Metrics collection. InstanceProperties implements Collector interface for HANA.
func (*InstanceProperties) Collect ¶
func (p *InstanceProperties) Collect(ctx context.Context) []*mrpb.TimeSeries
Collect is HANA implementation of Collector interface from processmetrics.go. Returns a list of HANA related metrics.
Click to show internal directories.
Click to hide internal directories.