Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricCollector ¶
type MetricCollector struct { // Host & port of the Temporal server. Must be set before calling Open(). Address string // Namespace to connect to. Must be set before calling Open(). Namespace string // Certificate & key data. Optional. Must be set before calling Open(). Cert []byte Key []byte // Query string used to filter running workflows. Query string // contains filtered or unexported fields }
func NewMetricCollector ¶
func NewMetricCollector(name string) *MetricCollector
func (*MetricCollector) Close ¶
func (c *MetricCollector) Close() error
func (*MetricCollector) CollectMetric ¶
func (*MetricCollector) Name ¶
func (c *MetricCollector) Name() string
func (*MetricCollector) Open ¶
func (c *MetricCollector) Open() (err error)
Click to show internal directories.
Click to hide internal directories.