diff --git a/connector/servicegraphconnector/metadata.yaml b/connector/servicegraphconnector/metadata.yaml index 06b7e4de5b9a..dec0c981f265 100644 --- a/connector/servicegraphconnector/metadata.yaml +++ b/connector/servicegraphconnector/metadata.yaml @@ -16,21 +16,21 @@ telemetry: metrics: connector_servicegraph_dropped_spans: description: Number of spans dropped when trying to add edges - unit: 1 + unit: "1" enabled: true sum: value_type: int monotonic: true connector_servicegraph_total_edges: description: Total number of unique edges - unit: 1 + unit: "1" enabled: true sum: value_type: int monotonic: true connector_servicegraph_expired_edges: description: Number of edges that expired before finding its matching span - unit: 1 + unit: "1" enabled: true sum: value_type: int diff --git a/exporter/lokiexporter/metadata.yaml b/exporter/lokiexporter/metadata.yaml index a0b3be7a2cef..99472ec495a9 100644 --- a/exporter/lokiexporter/metadata.yaml +++ b/exporter/lokiexporter/metadata.yaml @@ -18,7 +18,7 @@ telemetry: lokiexporter_send_failed_due_to_missing_labels: enabled: true description: Number of log records failed to send because labels were missing - unit: 1 + unit: "1" sum: monotonic: true value_type: int diff --git a/exporter/prometheusremotewriteexporter/metadata.yaml b/exporter/prometheusremotewriteexporter/metadata.yaml index 492aaacc1d66..08c3555111cb 100644 --- a/exporter/prometheusremotewriteexporter/metadata.yaml +++ b/exporter/prometheusremotewriteexporter/metadata.yaml @@ -17,14 +17,14 @@ telemetry: exporter_prometheusremotewrite_failed_translations: enabled: true description: Number of translation operations that failed to translate metrics from Otel to Prometheus - unit: 1 + unit: "1" sum: value_type: int monotonic: true exporter_prometheusremotewrite_translated_time_series: enabled: true description: Number of Prometheus time series that were translated from OTel metrics - unit: 1 + unit: "1" sum: value_type: int monotonic: true diff --git a/processor/filterprocessor/metadata.yaml b/processor/filterprocessor/metadata.yaml index 516979b85d34..5474feaa46c5 100644 --- a/processor/filterprocessor/metadata.yaml +++ b/processor/filterprocessor/metadata.yaml @@ -17,21 +17,21 @@ telemetry: processor_filter_datapoints.filtered: enabled: true description: Number of metric data points dropped by the filter processor - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_filter_logs.filtered: enabled: true description: Number of logs dropped by the filter processor - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_filter_spans.filtered: enabled: true description: Number of spans dropped by the filter processor - unit: 1 + unit: "1" sum: value_type: int monotonic: true diff --git a/processor/groupbyattrsprocessor/metadata.yaml b/processor/groupbyattrsprocessor/metadata.yaml index 7db4cd69d3ee..b1fb3b8a2cd6 100644 --- a/processor/groupbyattrsprocessor/metadata.yaml +++ b/processor/groupbyattrsprocessor/metadata.yaml @@ -17,60 +17,60 @@ telemetry: processor_groupbyattrs_num_grouped_spans: enabled: true description: Number of spans that had attributes grouped - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbyattrs_num_non_grouped_spans: enabled: true description: Number of spans that did not have attributes grouped - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbyattrs_span_groups: enabled: true description: Distribution of groups extracted for spans - unit: 1 + unit: "1" histogram: value_type: int processor_groupbyattrs_num_grouped_logs: enabled: true description: Number of logs that had attributes grouped - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbyattrs_num_non_grouped_logs: enabled: true description: Number of logs that did not have attributes grouped - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbyattrs_log_groups: enabled: true description: Distribution of groups extracted for logs - unit: 1 + unit: "1" histogram: value_type: int processor_groupbyattrs_num_grouped_metrics: enabled: true description: Number of metrics that had attributes grouped - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbyattrs_num_non_grouped_metrics: enabled: true description: Number of metrics that did not have attributes grouped - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbyattrs_metric_groups: enabled: true description: Distribution of groups extracted for metrics - unit: 1 + unit: "1" histogram: value_type: int diff --git a/processor/groupbytraceprocessor/metadata.yaml b/processor/groupbytraceprocessor/metadata.yaml index 45d7c4947e46..1ff46fea2e8c 100644 --- a/processor/groupbytraceprocessor/metadata.yaml +++ b/processor/groupbytraceprocessor/metadata.yaml @@ -19,39 +19,39 @@ telemetry: processor_groupbytrace_conf_num_traces: enabled: true description: Maximum number of traces to hold in the internal storage - unit: 1 + unit: "1" gauge: value_type: int processor_groupbytrace_num_events_in_queue: enabled: true description: Number of events currently in the queue - unit: 1 + unit: "1" gauge: value_type: int processor_groupbytrace_num_traces_in_memory: enabled: true description: Number of traces currently in the in-memory storage - unit: 1 + unit: "1" gauge: value_type: int processor_groupbytrace_traces_evicted: enabled: true description: Traces evicted from the internal buffer - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbytrace_spans_released: enabled: true description: Spans released to the next consumer - unit: 1 + unit: "1" sum: value_type: int monotonic: true processor_groupbytrace_traces_released: enabled: true description: Traces released to the next consumer - unit: 1 + unit: "1" sum: value_type: int monotonic: true diff --git a/receiver/bigipreceiver/metadata.yaml b/receiver/bigipreceiver/metadata.yaml index 8e7632072c19..230294c9e3da 100644 --- a/receiver/bigipreceiver/metadata.yaml +++ b/receiver/bigipreceiver/metadata.yaml @@ -107,14 +107,14 @@ metrics: enabled: true bigip.virtual_server.availability: description: Availability of the virtual server. - unit: 1 + unit: "1" gauge: value_type: int attributes: [availability.status] enabled: true bigip.virtual_server.enabled: description: Enabled state of of the virtual server. - unit: 1 + unit: "1" gauge: value_type: int attributes: [enabled.status] @@ -164,14 +164,14 @@ metrics: enabled: true bigip.pool.availability: description: Availability of the pool. - unit: 1 + unit: "1" gauge: value_type: int attributes: [availability.status] enabled: true bigip.pool.enabled: description: Enabled state of of the pool. - unit: 1 + unit: "1" gauge: value_type: int attributes: [enabled.status] @@ -220,14 +220,14 @@ metrics: enabled: true bigip.pool_member.availability: description: Availability of the pool member. - unit: 1 + unit: "1" gauge: value_type: int attributes: [availability.status] enabled: true bigip.pool_member.enabled: description: Enabled state of of the pool member. - unit: 1 + unit: "1" gauge: value_type: int attributes: [enabled.status] @@ -276,14 +276,14 @@ metrics: enabled: true bigip.node.availability: description: Availability of the node. - unit: 1 + unit: "1" gauge: value_type: int attributes: [availability.status] enabled: true bigip.node.enabled: description: Enabled state of of the node. - unit: 1 + unit: "1" gauge: value_type: int attributes: [enabled.status] diff --git a/receiver/dockerstatsreceiver/metadata.yaml b/receiver/dockerstatsreceiver/metadata.yaml index 1618783d0bc9..3f8473aa5dfc 100644 --- a/receiver/dockerstatsreceiver/metadata.yaml +++ b/receiver/dockerstatsreceiver/metadata.yaml @@ -188,7 +188,7 @@ metrics: container.memory.percent: enabled: true description: "Percentage of memory used." - unit: 1 + unit: "1" gauge: value_type: double container.memory.cache: diff --git a/receiver/elasticsearchreceiver/metadata.yaml b/receiver/elasticsearchreceiver/metadata.yaml index 819b1811b5db..ce8c4426d2d3 100644 --- a/receiver/elasticsearchreceiver/metadata.yaml +++ b/receiver/elasticsearchreceiver/metadata.yaml @@ -211,7 +211,7 @@ metrics: enabled: true elasticsearch.breaker.tripped: description: Total number of times the circuit breaker has been triggered and prevented an out of memory error. - unit: 1 + unit: "1" sum: monotonic: true aggregation_temporality: cumulative @@ -484,14 +484,14 @@ metrics: # See https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/jmx-metrics/docs/target-systems/jvm.md jvm.classes.loaded: description: The number of loaded classes - unit: 1 + unit: "1" gauge: value_type: int attributes: [] enabled: true jvm.gc.collections.count: description: The total number of garbage collections that have occurred - unit: 1 + unit: "1" sum: monotonic: true aggregation_temporality: cumulative @@ -523,7 +523,7 @@ metrics: enabled: true jvm.memory.heap.utilization: description: Fraction of heap memory usage - unit: 1 + unit: "1" gauge: value_type: double attributes: [] @@ -565,7 +565,7 @@ metrics: enabled: true jvm.threads.count: description: The current number of threads - unit: 1 + unit: "1" gauge: value_type: int attributes: [] @@ -677,7 +677,7 @@ metrics: enabled: true elasticsearch.indexing_pressure.memory.total.primary_rejections: description: Cumulative number of indexing requests rejected in the primary stage. - unit: 1 + unit: "1" sum: monotonic: true aggregation_temporality: cumulative @@ -686,7 +686,7 @@ metrics: enabled: true elasticsearch.indexing_pressure.memory.total.replica_rejections: description: Number of indexing requests rejected in the replica stage. - unit: 1 + unit: "1" sum: monotonic: true aggregation_temporality: cumulative @@ -702,7 +702,7 @@ metrics: enabled: true elasticsearch.cluster.state_queue: description: Number of cluster states in queue. - unit: 1 + unit: "1" sum: monotonic: false aggregation_temporality: cumulative @@ -711,7 +711,7 @@ metrics: enabled: true elasticsearch.cluster.published_states.full: description: Number of published cluster states. - unit: 1 + unit: "1" sum: monotonic: false aggregation_temporality: cumulative @@ -720,7 +720,7 @@ metrics: enabled: true elasticsearch.cluster.published_states.differences: description: Number of differences between published cluster states. - unit: 1 + unit: "1" sum: monotonic: false aggregation_temporality: cumulative @@ -729,7 +729,7 @@ metrics: enabled: true elasticsearch.cluster.state_update.count: description: The number of cluster state update attempts that changed the cluster state since the node started. - unit: 1 + unit: "1" sum: monotonic: true aggregation_temporality: cumulative @@ -819,7 +819,7 @@ metrics: enabled: true elasticsearch.node.script.cache_evictions: description: Total number of times the script cache has evicted old data. - unit: 1 + unit: "1" sum: monotonic: true aggregation_temporality: cumulative @@ -828,7 +828,7 @@ metrics: enabled: true elasticsearch.node.script.compilation_limit_triggered: description: Total number of times the script compilation circuit breaker has limited inline script compilations. - unit: 1 + unit: "1" sum: monotonic: true aggregation_temporality: cumulative @@ -946,7 +946,7 @@ metrics: enabled: false elasticsearch.index.cache.size: description: The number of elements of the query cache for an index. - unit: 1 + unit: "1" sum: monotonic: false aggregation_temporality: cumulative diff --git a/receiver/expvarreceiver/metadata.yaml b/receiver/expvarreceiver/metadata.yaml index ac1267fd44eb..294d15b16eaf 100644 --- a/receiver/expvarreceiver/metadata.yaml +++ b/receiver/expvarreceiver/metadata.yaml @@ -262,6 +262,6 @@ metrics: enabled: true description: The fraction of this program's available CPU time used by the GC since the program started. extended_documentation: As defined by https://pkg.go.dev/runtime#MemStats - unit: 1 + unit: "1" gauge: value_type: double diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml index c96b26fae5ae..9a2da8af8c3e 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/metadata.yaml @@ -29,7 +29,7 @@ metrics: system.cpu.utilization: enabled: false description: Difference in system.cpu.time since the last measurement per logical CPU, divided by the elapsed time (value in interval [0,1]). - unit: 1 + unit: "1" gauge: value_type: double attributes: [cpu, state] diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml index fedbb0c21a92..ce04c84f555c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/metadata.yaml @@ -51,7 +51,7 @@ metrics: system.filesystem.utilization: enabled: false description: Fraction of filesystem bytes used. - unit: 1 + unit: "1" gauge: value_type: double attributes: [device, mode, mountpoint, type] diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml index fe63f9f55280..10938e2fbfc3 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/metadata.yaml @@ -34,7 +34,7 @@ metrics: system.memory.utilization: enabled: false description: Percentage of memory bytes in use. - unit: 1 + unit: "1" gauge: value_type: double attributes: [state] diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml index 409044fb1b27..d23e20c2917f 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/metadata.yaml @@ -59,7 +59,7 @@ metrics: system.paging.utilization: enabled: false description: Swap (unix) or pagefile (windows) utilization. - unit: 1 + unit: "1" gauge: value_type: double attributes: [device, state] diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml b/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml index b12f9b1da51d..d7318612a76c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml @@ -92,7 +92,7 @@ metrics: Percentage of total CPU time used by the process since last scrape, expressed as a value between 0 and 1. On the first scrape, no data point is emitted for this metric. - unit: 1 + unit: "1" gauge: value_type: double attributes: [state] @@ -118,7 +118,7 @@ metrics: process.memory.utilization: enabled: false description: Percentage of total physical memory that is used by the process. - unit: 1 + unit: "1" gauge: value_type: double diff --git a/receiver/httpcheckreceiver/metadata.yaml b/receiver/httpcheckreceiver/metadata.yaml index f5588bdb1219..3495f31782f8 100644 --- a/receiver/httpcheckreceiver/metadata.yaml +++ b/receiver/httpcheckreceiver/metadata.yaml @@ -37,7 +37,7 @@ metrics: value_type: int aggregation_temporality: cumulative monotonic: false - unit: 1 + unit: "1" attributes: [http.url, http.status_code, http.method, http.status_class] httpcheck.duration: description: Measures the duration of the HTTP check. diff --git a/receiver/kafkametricsreceiver/metadata.yaml b/receiver/kafkametricsreceiver/metadata.yaml index 6e51d08b06f0..535ba74db345 100644 --- a/receiver/kafkametricsreceiver/metadata.yaml +++ b/receiver/kafkametricsreceiver/metadata.yaml @@ -43,14 +43,14 @@ metrics: kafka.partition.current_offset: enabled: true description: Current offset of partition of topic. - unit: 1 + unit: "1" gauge: value_type: int attributes: [topic, partition] kafka.partition.oldest_offset: enabled: true description: Oldest offset of partition of topic - unit: 1 + unit: "1" gauge: value_type: int attributes: [topic, partition] @@ -85,28 +85,28 @@ metrics: kafka.consumer_group.offset: enabled: true description: Current offset of the consumer group at partition of topic - unit: 1 + unit: "1" gauge: value_type: int attributes: [group, topic, partition] kafka.consumer_group.offset_sum: enabled: true description: Sum of consumer group offset across partitions of topic - unit: 1 + unit: "1" gauge: value_type: int attributes: [group, topic] kafka.consumer_group.lag: enabled: true description: Current approximate lag of consumer group at partition of topic - unit: 1 + unit: "1" gauge: value_type: int attributes: [group, topic, partition] kafka.consumer_group.lag_sum: enabled: true description: Current approximate sum of consumer group lag across all partitions of topic - unit: 1 + unit: "1" gauge: value_type: int attributes: [group, topic] diff --git a/receiver/kubeletstatsreceiver/metadata.yaml b/receiver/kubeletstatsreceiver/metadata.yaml index bc6d1bb779eb..1c016859cd8f 100644 --- a/receiver/kubeletstatsreceiver/metadata.yaml +++ b/receiver/kubeletstatsreceiver/metadata.yaml @@ -94,7 +94,7 @@ metrics: description: "Node CPU utilization" warnings: if_enabled: "WARNING: This metric will be disabled in a future release. Use metric k8s.node.cpu.usage instead." - unit: 1 + unit: "1" gauge: value_type: double attributes: [] @@ -138,14 +138,14 @@ metrics: k8s.node.memory.page_faults: enabled: true description: "Node memory page_faults" - unit: 1 + unit: "1" gauge: value_type: int attributes: [] k8s.node.memory.major_page_faults: enabled: true description: "Node memory major_page_faults" - unit: 1 + unit: "1" gauge: value_type: int attributes: [] @@ -182,7 +182,7 @@ metrics: k8s.node.network.errors: enabled: true description: "Node network errors" - unit: 1 + unit: "1" sum: value_type: int monotonic: true @@ -209,7 +209,7 @@ metrics: description: "Pod CPU utilization" warnings: if_enabled: "This metric will be disabled in a future release. Use metric k8s.pod.cpu.usage instead." - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] @@ -239,35 +239,35 @@ metrics: k8s.pod.cpu.node.utilization: enabled: false description: "Pod cpu utilization as a ratio of the node's capacity" - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.pod.cpu_limit_utilization: enabled: false description: "Pod cpu utilization as a ratio of the pod's total container limits. If any container is missing a limit the metric is not emitted." - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.pod.cpu_request_utilization: enabled: false description: "Pod cpu utilization as a ratio of the pod's total container requests. If any container is missing a request the metric is not emitted." - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.pod.memory_limit_utilization: enabled: false description: "Pod memory utilization as a ratio of the pod's total container limits. If any container is missing a limit the metric is not emitted." - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.pod.memory_request_utilization: enabled: false description: "Pod memory utilization as a ratio of the pod's total container requests. If any container is missing a request the metric is not emitted." - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] @@ -288,14 +288,14 @@ metrics: k8s.pod.memory.page_faults: enabled: true description: "Pod memory page_faults" - unit: 1 + unit: "1" gauge: value_type: int attributes: [] k8s.pod.memory.major_page_faults: enabled: true description: "Pod memory major_page_faults" - unit: 1 + unit: "1" gauge: value_type: int attributes: [] @@ -332,7 +332,7 @@ metrics: k8s.pod.network.errors: enabled: true description: "Pod network errors" - unit: 1 + unit: "1" sum: value_type: int monotonic: true @@ -359,7 +359,7 @@ metrics: description: "Container CPU utilization" warnings: if_enabled: "WARNING: This metric will be disabled in a future release. Use metric container.cpu.usage instead." - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] @@ -389,35 +389,35 @@ metrics: k8s.container.cpu.node.utilization: enabled: false description: "Container cpu utilization as a ratio of the node's capacity" - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.container.cpu_limit_utilization: enabled: false description: "Container cpu utilization as a ratio of the container's limits" - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.container.cpu_request_utilization: enabled: false description: "Container cpu utilization as a ratio of the container's requests" - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.container.memory_limit_utilization: enabled: false description: "Container memory utilization as a ratio of the container's limits" - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] k8s.container.memory_request_utilization: enabled: false description: "Container memory utilization as a ratio of the container's requests" - unit: 1 + unit: "1" gauge: value_type: double attributes: [ ] @@ -438,14 +438,14 @@ metrics: container.memory.page_faults: enabled: true description: "Container memory page_faults" - unit: 1 + unit: "1" gauge: value_type: int attributes: [] container.memory.major_page_faults: enabled: true description: "Container memory major_page_faults" - unit: 1 + unit: "1" gauge: value_type: int attributes: [] @@ -496,21 +496,21 @@ metrics: k8s.volume.inodes: enabled: true description: "The total inodes in the filesystem." - unit: 1 + unit: "1" gauge: value_type: int attributes: [] k8s.volume.inodes.free: enabled: true description: "The free inodes in the filesystem." - unit: 1 + unit: "1" gauge: value_type: int attributes: [] k8s.volume.inodes.used: enabled: true description: "The inodes used by the filesystem. This may not equal inodes - free because filesystem may share inodes with other filesystems." - unit: 1 + unit: "1" gauge: value_type: int attributes: [] diff --git a/receiver/mongodbatlasreceiver/metadata.yaml b/receiver/mongodbatlasreceiver/metadata.yaml index 704001939105..147d6b1066f6 100644 --- a/receiver/mongodbatlasreceiver/metadata.yaml +++ b/receiver/mongodbatlasreceiver/metadata.yaml @@ -248,7 +248,7 @@ metrics: enabled: true description: Amount of data flushed in the background extended_documentation: MongoDB Metric BACKGROUND_FLUSH_AVG - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.process.cache.io: @@ -282,7 +282,7 @@ metrics: enabled: true description: CPU Usage (%) extended_documentation: Aggregate of MongoDB Metrics MAX_PROCESS_CPU_KERNEL, MAX_PROCESS_CPU_USER - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -290,7 +290,7 @@ metrics: enabled: true description: CPU Usage (%) extended_documentation: Aggregate of MongoDB Metrics PROCESS_CPU_KERNEL, PROCESS_CPU_USER - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -298,7 +298,7 @@ metrics: enabled: true description: CPU Usage for child processes (%) extended_documentation: Aggregate of MongoDB Metrics MAX_PROCESS_CPU_CHILDREN_USER, MAX_PROCESS_CPU_CHILDREN_KERNEL - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -306,7 +306,7 @@ metrics: enabled: true description: CPU Usage for child processes (%) extended_documentation: Aggregate of MongoDB Metrics PROCESS_CPU_CHILDREN_KERNEL, PROCESS_CPU_CHILDREN_USER - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -314,7 +314,7 @@ metrics: enabled: true description: CPU Usage for child processes, normalized to pct extended_documentation: Aggregate of MongoDB Metrics MAX_PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL, MAX_PROCESS_NORMALIZED_CPU_CHILDREN_USER - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -322,7 +322,7 @@ metrics: enabled: true description: CPU Usage for child processes, normalized to pct extended_documentation: Aggregate of MongoDB Metrics PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL, PROCESS_NORMALIZED_CPU_CHILDREN_USER - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -330,7 +330,7 @@ metrics: enabled: true description: CPU Usage, normalized to pct extended_documentation: Aggregate of MongoDB Metrics MAX_PROCESS_NORMALIZED_CPU_USER, MAX_PROCESS_NORMALIZED_CPU_KERNEL - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -338,7 +338,7 @@ metrics: enabled: true description: CPU Usage, normalized to pct extended_documentation: Aggregate of MongoDB Metrics PROCESS_NORMALIZED_CPU_KERNEL, PROCESS_NORMALIZED_CPU_USER - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -378,7 +378,7 @@ metrics: enabled: true description: Index miss ratio (%) extended_documentation: MongoDB Metric INDEX_COUNTERS_BTREE_MISS_RATIO - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.process.index.counters: @@ -536,7 +536,7 @@ metrics: description: System CPU Usage (%) extended_documentation: Aggregate of MongoDB Metrics MAX_SYSTEM_CPU_SOFTIRQ, MAX_SYSTEM_CPU_IRQ, MAX_SYSTEM_CPU_GUEST, MAX_SYSTEM_CPU_IOWAIT, MAX_SYSTEM_CPU_NICE, MAX_SYSTEM_CPU_KERNEL, MAX_SYSTEM_CPU_USER, MAX_SYSTEM_CPU_STEAL attributes: [cpu_state] - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.system.cpu.usage.average: @@ -544,7 +544,7 @@ metrics: description: System CPU Usage (%) extended_documentation: Aggregate of MongoDB Metrics SYSTEM_CPU_USER, SYSTEM_CPU_GUEST, SYSTEM_CPU_SOFTIRQ, SYSTEM_CPU_IRQ, SYSTEM_CPU_KERNEL, SYSTEM_CPU_IOWAIT, SYSTEM_CPU_NICE, SYSTEM_CPU_STEAL attributes: [cpu_state] - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.system.memory.usage.max: @@ -584,7 +584,7 @@ metrics: description: System CPU Normalized to pct extended_documentation: Aggregate of MongoDB Metrics MAX_SYSTEM_NORMALIZED_CPU_USER, MAX_SYSTEM_NORMALIZED_CPU_NICE, MAX_SYSTEM_NORMALIZED_CPU_IOWAIT, MAX_SYSTEM_NORMALIZED_CPU_SOFTIRQ, MAX_SYSTEM_NORMALIZED_CPU_STEAL, MAX_SYSTEM_NORMALIZED_CPU_KERNEL, MAX_SYSTEM_NORMALIZED_CPU_GUEST, MAX_SYSTEM_NORMALIZED_CPU_IRQ attributes: [cpu_state] - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.system.cpu.normalized.usage.average: @@ -592,7 +592,7 @@ metrics: description: System CPU Normalized to pct extended_documentation: Aggregate of MongoDB Metrics SYSTEM_NORMALIZED_CPU_IOWAIT, SYSTEM_NORMALIZED_CPU_GUEST, SYSTEM_NORMALIZED_CPU_IRQ, SYSTEM_NORMALIZED_CPU_KERNEL, SYSTEM_NORMALIZED_CPU_STEAL, SYSTEM_NORMALIZED_CPU_SOFTIRQ, SYSTEM_NORMALIZED_CPU_NICE, SYSTEM_NORMALIZED_CPU_USER attributes: [cpu_state] - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.process.tickets: @@ -623,7 +623,7 @@ metrics: enabled: true description: Disk partition usage (%) extended_documentation: Aggregate of MongoDB Metrics MAX_DISK_PARTITION_SPACE_PERCENT_USED, MAX_DISK_PARTITION_SPACE_PERCENT_FREE - unit: 1 + unit: "1" attributes: [disk_status] gauge: value_type: double @@ -631,7 +631,7 @@ metrics: enabled: true description: Disk partition usage (%) extended_documentation: Aggregate of MongoDB Metrics DISK_PARTITION_SPACE_PERCENT_FREE, DISK_PARTITION_SPACE_PERCENT_USED - unit: 1 + unit: "1" attributes: [disk_status] gauge: value_type: double @@ -639,14 +639,14 @@ metrics: enabled: true description: The maximum percentage of time during which requests are being issued to and serviced by the partition. extended_documentation: MongoDB Metrics MAX_DISK_PARTITION_UTILIZATION - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.disk.partition.utilization.average: enabled: true description: The percentage of time during which requests are being issued to and serviced by the partition. extended_documentation: MongoDB Metrics DISK_PARTITION_UTILIZATION - unit: 1 + unit: "1" gauge: value_type: double mongodbatlas.disk.partition.latency.max: @@ -718,7 +718,7 @@ metrics: enabled: true description: Full-text search (%) extended_documentation: Aggregate of MongoDB Metrics FTS_PROCESS_CPU_USER, FTS_PROCESS_CPU_KERNEL - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double @@ -726,7 +726,7 @@ metrics: enabled: true description: Full text search disk usage (%) extended_documentation: Aggregate of MongoDB Metrics FTS_PROCESS_NORMALIZED_CPU_USER, FTS_PROCESS_NORMALIZED_CPU_KERNEL - unit: 1 + unit: "1" attributes: [cpu_state] gauge: value_type: double diff --git a/receiver/mongodbreceiver/metadata.yaml b/receiver/mongodbreceiver/metadata.yaml index b3fc0b939cb2..1feb24f8bb4c 100644 --- a/receiver/mongodbreceiver/metadata.yaml +++ b/receiver/mongodbreceiver/metadata.yaml @@ -346,7 +346,7 @@ metrics: extended_documentation: A value of '1' indicates healthy. A value of '0' indicates unhealthy. - unit: 1 + unit: "1" gauge: value_type: int attributes: [ ] diff --git a/receiver/mysqlreceiver/metadata.yaml b/receiver/mysqlreceiver/metadata.yaml index fbae73de5069..5ab97e08552a 100644 --- a/receiver/mysqlreceiver/metadata.yaml +++ b/receiver/mysqlreceiver/metadata.yaml @@ -177,7 +177,7 @@ metrics: mysql.buffer_pool.pages: enabled: true description: The number of pages in the InnoDB buffer pool. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -187,7 +187,7 @@ metrics: mysql.buffer_pool.data_pages: enabled: true description: The number of data pages in the InnoDB buffer pool. - unit: 1 + unit: "1" sum: value_type: int monotonic: false @@ -196,7 +196,7 @@ metrics: mysql.buffer_pool.page_flushes: enabled: true description: The number of requests to flush pages from the InnoDB buffer pool. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -205,7 +205,7 @@ metrics: mysql.buffer_pool.operations: enabled: true description: The number of operations on the InnoDB buffer pool. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -233,7 +233,7 @@ metrics: mysql.prepared_statements: enabled: true description: The number of times each type of prepared statement command has been issued. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -243,7 +243,7 @@ metrics: mysql.commands: enabled: false description: The number of times each type of command has been executed. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -253,7 +253,7 @@ metrics: mysql.handlers: enabled: true description: The number of requests to various MySQL handlers. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -263,7 +263,7 @@ metrics: mysql.double_writes: enabled: true description: The number of writes to the InnoDB doublewrite buffer. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -273,7 +273,7 @@ metrics: mysql.log_operations: enabled: true description: The number of InnoDB log operations. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -283,7 +283,7 @@ metrics: mysql.operations: enabled: true description: The number of InnoDB operations. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -293,7 +293,7 @@ metrics: mysql.page_operations: enabled: true description: The number of InnoDB page operations. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -303,7 +303,7 @@ metrics: mysql.table.io.wait.count: enabled: true description: The total count of I/O wait events for a table. - unit: 1 + unit: "1" sum: value_type: int monotonic: true @@ -321,7 +321,7 @@ metrics: mysql.table.rows: enabled: false description: The number of rows for a given table. - unit: 1 + unit: "1" sum: value_type: int monotonic: false @@ -348,7 +348,7 @@ metrics: mysql.index.io.wait.count: enabled: true description: The total count of I/O wait events for an index. - unit: 1 + unit: "1" sum: value_type: int monotonic: true @@ -366,7 +366,7 @@ metrics: mysql.row_locks: enabled: true description: The number of InnoDB row locks. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -376,7 +376,7 @@ metrics: mysql.row_operations: enabled: true description: The number of InnoDB row operations. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -386,7 +386,7 @@ metrics: mysql.locks: enabled: true description: The number of MySQL locks. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -396,7 +396,7 @@ metrics: mysql.sorts: enabled: true description: The number of MySQL sorts. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -406,7 +406,7 @@ metrics: mysql.threads: enabled: true description: The state of MySQL threads. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -426,7 +426,7 @@ metrics: mysql.opened_resources: enabled: true description: The number of opened resources. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -481,7 +481,7 @@ metrics: mysql.connection.count: enabled: false description: The number of connection attempts (successful or not) to the MySQL server. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -490,7 +490,7 @@ metrics: mysql.connection.errors: enabled: false description: Errors that occur during the client connection process. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -501,7 +501,7 @@ metrics: enabled: true description: The number of mysqlx connections. extended_documentation: This metric is specific for MySQL working as Document Store (X-Plugin). [more docs](https://dev.mysql.com/doc/refman/8.0/en/document-store.html) - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -511,7 +511,7 @@ metrics: mysql.joins: enabled: false description: The number of joins that perform table scans. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -521,7 +521,7 @@ metrics: mysql.tmp_resources: enabled: true description: The number of created temporary resources. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -549,7 +549,7 @@ metrics: mysql.statement_event.count: enabled: false description: Summary of current and recent statement events. - unit: 1 + unit: "1" sum: value_type: int monotonic: false @@ -567,7 +567,7 @@ metrics: mysql.mysqlx_worker_threads: enabled: false description: The number of worker threads available. - unit: 1 + unit: "1" extended_documentation: This metric is specific for MySQL working as Document Store (X-Plugin). [more docs](https://dev.mysql.com/doc/refman/8.0/en/document-store.html) sum: value_type: int @@ -578,7 +578,7 @@ metrics: mysql.table_open_cache: enabled: false description: The number of hits, misses or overflows for open tables cache lookups. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -588,7 +588,7 @@ metrics: mysql.query.client.count: enabled: false description: The number of statements executed by the server. This includes only statements sent to the server by clients. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -597,7 +597,7 @@ metrics: mysql.query.count: enabled: false description: The number of statements executed by the server. - unit: 1 + unit: "1" sum: value_type: int input_type: string @@ -606,7 +606,7 @@ metrics: mysql.query.slow.count: enabled: false description: The number of slow queries. - unit: 1 + unit: "1" sum: value_type: int input_type: string diff --git a/receiver/oracledbreceiver/metadata.yaml b/receiver/oracledbreceiver/metadata.yaml index 401d6d02e06b..1d220c621b63 100644 --- a/receiver/oracledbreceiver/metadata.yaml +++ b/receiver/oracledbreceiver/metadata.yaml @@ -130,7 +130,7 @@ metrics: monotonic: true value_type: int input_type: string - unit: 1 + unit: "1" oracledb.sessions.usage: attributes: - session_type diff --git a/receiver/otelarrowreceiver/metadata.yaml b/receiver/otelarrowreceiver/metadata.yaml index 99bc88c359cd..d90cd4c0bed5 100644 --- a/receiver/otelarrowreceiver/metadata.yaml +++ b/receiver/otelarrowreceiver/metadata.yaml @@ -22,7 +22,7 @@ telemetry: otel_arrow_receiver_in_flight_items: description: Number of items in flight enabled: true - unit: 1 + unit: "1" sum: monotonic: false value_type: int @@ -30,7 +30,7 @@ telemetry: otel_arrow_receiver_in_flight_requests: description: Number of requests in flight enabled: true - unit: 1 + unit: "1" sum: monotonic: false value_type: int diff --git a/receiver/podmanreceiver/metadata.yaml b/receiver/podmanreceiver/metadata.yaml index b1ce716920c3..936ffc2b8c1b 100644 --- a/receiver/podmanreceiver/metadata.yaml +++ b/receiver/podmanreceiver/metadata.yaml @@ -64,7 +64,7 @@ metrics: container.cpu.percent: enabled: true description: "Percent of CPU used by the container." - unit: 1 + unit: "1" gauge: value_type: double # Memory @@ -87,7 +87,7 @@ metrics: container.memory.percent: enabled: true description: "Percentage of memory used." - unit: 1 + unit: "1" gauge: value_type: double # Network diff --git a/receiver/postgresqlreceiver/metadata.yaml b/receiver/postgresqlreceiver/metadata.yaml index eb03b5a66f81..0352305ebb0d 100644 --- a/receiver/postgresqlreceiver/metadata.yaml +++ b/receiver/postgresqlreceiver/metadata.yaml @@ -135,11 +135,11 @@ metrics: aggregation_temporality: cumulative monotonic: true value_type: int - unit: 1 + unit: "1" postgresql.blocks_read: enabled: true description: The number of blocks read. - unit: 1 + unit: "1" sum: value_type: int monotonic: true @@ -148,7 +148,7 @@ metrics: postgresql.commits: enabled: true description: The number of commits. - unit: 1 + unit: "1" sum: value_type: int monotonic: true @@ -179,7 +179,7 @@ metrics: postgresql.backends: enabled: true description: The number of backends. - unit: 1 + unit: "1" sum: value_type: int monotonic: false @@ -193,7 +193,7 @@ metrics: postgresql.rows: enabled: true description: The number of rows in the database. - unit: 1 + unit: "1" sum: value_type: int monotonic: false @@ -216,7 +216,7 @@ metrics: postgresql.operations: enabled: true description: The number of db row operations. - unit: 1 + unit: "1" sum: value_type: int monotonic: true @@ -232,7 +232,7 @@ metrics: postgresql.rollbacks: enabled: true description: The number of rollbacks. - unit: 1 + unit: "1" sum: value_type: int monotonic: true diff --git a/receiver/redisreceiver/metadata.yaml b/receiver/redisreceiver/metadata.yaml index 47e66f576f7c..b6cc14a1cef0 100644 --- a/receiver/redisreceiver/metadata.yaml +++ b/receiver/redisreceiver/metadata.yaml @@ -227,7 +227,7 @@ metrics: redis.memory.fragmentation_ratio: enabled: true description: Ratio between used_memory_rss and used_memory - unit: 1 + unit: "1" gauge: value_type: double diff --git a/receiver/snmpreceiver/README.md b/receiver/snmpreceiver/README.md index 0b71b74a1fbb..9747d0b15617 100644 --- a/receiver/snmpreceiver/README.md +++ b/receiver/snmpreceiver/README.md @@ -179,7 +179,7 @@ receivers: # This metric will have multiple datapoints wil 1 attribute on each. # Each datapoint will have a (hopefully) different attribute value metric.name.1: - unit: 1 + unit: "1" sum: aggregation: cumulative monotonic: true diff --git a/receiver/snmpreceiver/testdata/config.yaml b/receiver/snmpreceiver/testdata/config.yaml index 8f7ad8ce9003..4bcd63ea75cf 100644 --- a/receiver/snmpreceiver/testdata/config.yaml +++ b/receiver/snmpreceiver/testdata/config.yaml @@ -603,7 +603,7 @@ snmp/complex_good: oid: "1" metrics: m1: - unit: 1 + unit: "1" sum: aggregation: cumulative monotonic: true @@ -656,7 +656,7 @@ snmp/complex_good: - name: a1 value: val1 m6: - unit: 1 + unit: "1" sum: aggregation: delta monotonic: true diff --git a/receiver/snowflakereceiver/metadata.yaml b/receiver/snowflakereceiver/metadata.yaml index e4a083f8c5b0..1d4f1e00ca2e 100644 --- a/receiver/snowflakereceiver/metadata.yaml +++ b/receiver/snowflakereceiver/metadata.yaml @@ -106,7 +106,7 @@ metrics: # Login (Security) metrics snowflake.logins.total: description: Total login attempts for account over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: int enabled: false @@ -115,28 +115,28 @@ metrics: # High level low dimensionality query metrics snowflake.query.blocked: description: Blocked query count for warehouse over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: double enabled: true attributes: [warehouse_name] snowflake.query.executed: description: Executed query count for warehouse over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: double enabled: true attributes: [warehouse_name] snowflake.query.queued_overload: description: Overloaded query count for warehouse over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: double enabled: true attributes: [warehouse_name] snowflake.query.queued_provision: description: Number of compute resources queued for provisioning over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: double enabled: true @@ -145,7 +145,7 @@ metrics: # DB metrics snowflake.database.query.count: description: Total query count for database over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: int enabled: true @@ -194,7 +194,7 @@ metrics: attributes: [schema_name, execution_status, error_message, query_type, warehouse_name, database_name, warehouse_size] snowflake.query.data_scanned_cache.avg: description: Average percentage of data scanned from cache over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: double enabled: false @@ -208,7 +208,7 @@ metrics: attributes: [schema_name, execution_status, error_message, query_type, warehouse_name, database_name, warehouse_size] snowflake.query.partitions_scanned.avg: description: Number of partitions scanned during query so far over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: double enabled: false @@ -280,7 +280,7 @@ metrics: # Session metric snowflake.session_id.count: description: Distinct session id's associated with snowflake username over the last 24 hour window. - unit: 1 + unit: "1" gauge: value_type: int enabled: false diff --git a/receiver/sshcheckreceiver/metadata.yaml b/receiver/sshcheckreceiver/metadata.yaml index 3b956cec445f..84d3fd795891 100644 --- a/receiver/sshcheckreceiver/metadata.yaml +++ b/receiver/sshcheckreceiver/metadata.yaml @@ -27,7 +27,7 @@ metrics: value_type: int aggregation_temporality: cumulative monotonic: false - unit: 1 + unit: "1" sshcheck.duration: description: Measures the duration of SSH connection. enabled: true @@ -50,7 +50,7 @@ metrics: value_type: int aggregation_temporality: cumulative monotonic: false - unit: 1 + unit: "1" sshcheck.sftp_duration: description: Measures SFTP request duration. enabled: false diff --git a/receiver/zookeeperreceiver/metadata.yaml b/receiver/zookeeperreceiver/metadata.yaml index 0bd2d5aa3999..e3251259079a 100644 --- a/receiver/zookeeperreceiver/metadata.yaml +++ b/receiver/zookeeperreceiver/metadata.yaml @@ -152,7 +152,7 @@ metrics: zookeeper.ruok: enabled: true description: Response from zookeeper ruok command - unit: 1 + unit: "1" gauge: value_type: int diff --git a/receiver/zookeeperreceiver/testdata/scraper/correctness-ruok.yaml b/receiver/zookeeperreceiver/testdata/scraper/correctness-ruok.yaml index e612c1dc075b..54ca5bd54a9c 100644 --- a/receiver/zookeeperreceiver/testdata/scraper/correctness-ruok.yaml +++ b/receiver/zookeeperreceiver/testdata/scraper/correctness-ruok.yaml @@ -8,4 +8,4 @@ resourceMetrics: - asInt: "1" startTimeUnixNano: "1642685966447704000" timeUnixNano: "1642685966447860000" - unit: 1 + unit: "1"