Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OpenSessionCount is a measure of the number of sessions currently opened. // It is EXPERIMENTAL and subject to change or removal without notice. OpenSessionCount = stats.Int64(statsPrefix+"open_session_count", "Number of sessions currently opened", stats.UnitDimensionless) // OpenSessionCountView is a view of the last value of OpenSessionCount. // It is EXPERIMENTAL and subject to change or removal without notice. OpenSessionCountView = &view.View{ Name: OpenSessionCount.Name(), Description: OpenSessionCount.Description(), Measure: OpenSessionCount, Aggregation: view.LastValue(), } )
Functions ¶
func RecordStat ¶
func RecordStat(ctx context.Context, m *stats.Int64Measure, n int64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.