Documentation ¶
Index ¶
Constants ¶
View Source
const Type configmodels.Type = "memcachedreceiver"
Type is the component type name.
Variables ¶
View Source
var L = Labels
L contains the possible metric labels that can be used. L is an alias for Labels.
View Source
var Labels = struct {
}{}
Labels contains the possible metric labels that can be used.
View Source
var M = Metrics
M contains a set of methods for each metric that help with manipulating those metrics. M is an alias for Metrics
View Source
var Metrics = &metricStruct{ &metricImpl{ "memcached.bytes", func(metric pdata.Metric) { metric.SetName("memcached.bytes") metric.SetDescription("Current number of bytes used by this server to store items") metric.SetUnit("By") metric.SetDataType(pdata.MetricDataTypeIntGauge) }, }, &metricImpl{ "memcached.current_connections", func(metric pdata.Metric) { metric.SetName("memcached.current_connections") metric.SetDescription("The current number of open connections") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntGauge) }, }, &metricImpl{ "memcached.get_hits", func(metric pdata.Metric) { metric.SetName("memcached.get_hits") metric.SetDescription("Number of keys that have been requested and found present") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntSum) metric.IntSum().SetIsMonotonic(true) metric.IntSum().SetAggregationTemporality(pdata.AggregationTemporalityCumulative) }, }, &metricImpl{ "memcached.get_misses", func(metric pdata.Metric) { metric.SetName("memcached.get_misses") metric.SetDescription("Number of items that have been requested and not found") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntSum) metric.IntSum().SetIsMonotonic(true) metric.IntSum().SetAggregationTemporality(pdata.AggregationTemporalityCumulative) }, }, &metricImpl{ "memcached.total_connections", func(metric pdata.Metric) { metric.SetName("memcached.total_connections") metric.SetDescription("Total number of connections opened since the server started running") metric.SetUnit("connections") metric.SetDataType(pdata.MetricDataTypeIntSum) metric.IntSum().SetIsMonotonic(true) metric.IntSum().SetAggregationTemporality(pdata.AggregationTemporalityCumulative) }, }, }
Metrics contains a set of methods for each metric that help with manipulating those metrics.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.