diff --git a/receiver/memcachedreceiver/metadata.yaml b/receiver/memcachedreceiver/metadata.yaml index 7fc86e249631e..6c1f73a9e3526 100644 --- a/receiver/memcachedreceiver/metadata.yaml +++ b/receiver/memcachedreceiver/metadata.yaml @@ -15,36 +15,36 @@ attributes: description: The type of command. type: string enum: - - get - - set - - flush - - touch + - get + - set + - flush + - touch direction: description: Direction of data flow. type: string enum: - - sent - - received - type: - description: Result of cache request. - type: string - enum: - - hit - - miss + - sent + - received operation: description: The type of operation. type: string enum: - - increment - - decrement - - get + - increment + - decrement + - get state: description: The type of CPU usage. type: string enum: - - system - - user + - system + - user + type: + description: Result of cache request. + type: string + enum: + - hit + - miss metrics: memcached.bytes: enabled: true @@ -55,6 +55,17 @@ metrics: gauge: value_type: int attributes: [] + memcached.commands: + enabled: true + description: Commands executed. + stability: + level: development + unit: "{commands}" + sum: + value_type: int + monotonic: true + aggregation_temporality: cumulative + attributes: [command] memcached.connections.current: enabled: true description: The current number of open connections. @@ -77,17 +88,17 @@ metrics: monotonic: true aggregation_temporality: cumulative attributes: [] - memcached.commands: + memcached.cpu.usage: enabled: true - description: Commands executed. + description: Accumulated user and system time. stability: level: development - unit: "{commands}" + unit: s sum: - value_type: int + value_type: double monotonic: true aggregation_temporality: cumulative - attributes: [command] + attributes: [state] memcached.current_items: enabled: true description: Number of items currently stored in the cache. @@ -121,17 +132,6 @@ metrics: monotonic: true aggregation_temporality: cumulative attributes: [direction] - memcached.operations: - enabled: true - description: Operation counts. - stability: - level: development - unit: "{operations}" - sum: - value_type: int - monotonic: true - aggregation_temporality: cumulative - attributes: [type,operation] memcached.operation_hit_ratio: enabled: true description: Hit ratio for operations, expressed as a percentage value between 0.0 and 100.0. @@ -141,17 +141,17 @@ metrics: gauge: value_type: double attributes: [operation] - memcached.cpu.usage: + memcached.operations: enabled: true - description: Accumulated user and system time. + description: Operation counts. stability: level: development - unit: s + unit: "{operations}" sum: - value_type: double + value_type: int monotonic: true aggregation_temporality: cumulative - attributes: [state] + attributes: [type, operation] memcached.threads: enabled: true description: Number of threads used by the memcached instance.