Documentation
¶
Overview ¶
Package export contains OpenCensus metrics and views for export operations
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BatcherLockContention = stats.Int64(exportMetricsPrefix+"export_batcher_lock_contention", "Instances of export batcher lock contention", stats.UnitDimensionless) BatcherFailure = stats.Int64(exportMetricsPrefix+"export_batcher_failure", "Instances of export batcher failures", stats.UnitDimensionless) BatcherNoWork = stats.Int64(exportMetricsPrefix+"export_batcher_no_work", "Instances of export batcher having no work", stats.UnitDimensionless) BatcherCreated = stats.Int64(exportMetricsPrefix+"export_batches_created", "Number of export batchers created", stats.UnitDimensionless) WorkerBadKeyLength = stats.Int64(exportMetricsPrefix+"export_worker_bad_key_length", "Number of dropped keys caused by bad key length", stats.UnitDimensionless) )
View Source
var ( Views = []*view.View{ { Name: metrics.MetricRoot + "export_batcher_lock_contention_count", Description: "Total count of lock contention instances", Measure: BatcherLockContention, Aggregation: view.Sum(), }, { Name: metrics.MetricRoot + "export_batcher_failure_count", Description: "Total count of export batcher failures", Measure: BatcherFailure, Aggregation: view.Sum(), }, { Name: metrics.MetricRoot + "export_batcher_no_work_count", Description: "Total count for instances of export batcher having no work", Measure: BatcherNoWork, Aggregation: view.Sum(), }, { Name: metrics.MetricRoot + "export_batches_created_count", Description: "Total count for number of export batches created", Measure: BatcherCreated, Aggregation: view.Sum(), }, { Name: metrics.MetricRoot + "export_worker_bad_key_length_latest", Description: "Latest number of dropped keys caused by bad key length", Measure: WorkerBadKeyLength, Aggregation: view.LastValue(), }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.