Documentation ¶
Index ¶
Constants ¶
View Source
const Type config.Type = "memcachedreceiver"
Type is the component type name.
Variables ¶
View Source
var A = Attributes
A is an alias for Attributes.
View Source
var Attributes = struct {
}{}
Attributes contains the possible metric attributes 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.MetricDataTypeGauge) }, }, &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.MetricDataTypeGauge) }, }, &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.MetricDataTypeSum) metric.Sum().SetIsMonotonic(true) metric.Sum().SetAggregationTemporality(pdata.MetricAggregationTemporalityCumulative) }, }, &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.MetricDataTypeSum) metric.Sum().SetIsMonotonic(true) metric.Sum().SetAggregationTemporality(pdata.MetricAggregationTemporalityCumulative) }, }, &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.MetricDataTypeSum) metric.Sum().SetIsMonotonic(true) metric.Sum().SetAggregationTemporality(pdata.MetricAggregationTemporalityCumulative) }, }, }
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.