diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/lib/cmetrics/tests/data | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/lib/cmetrics/tests/data')
7 files changed, 593 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/cmetrics/tests/data/histogram_different_label_count.txt b/src/fluent-bit/lib/cmetrics/tests/data/histogram_different_label_count.txt new file mode 100644 index 000000000..3aab53682 --- /dev/null +++ b/src/fluent-bit/lib/cmetrics/tests/data/histogram_different_label_count.txt @@ -0,0 +1,14 @@ +# HELP k8s_network_load Network load +# TYPE k8s_network_load histogram +k8s_network_load_bucket{le="0.05"} 0 0 +k8s_network_load_bucket{le="5.0"} 1 0 +k8s_network_load_bucket{le="10.0"} 2 0 +k8s_network_load_bucket{le="+Inf"} 3 0 +k8s_network_load_sum 1013 0 +k8s_network_load_count 3 0 +k8s_network_load_bucket{le="0.05",my_label="my_val"} 0 0 +k8s_network_load_bucket{le="5.0",my_label="my_val"} 1 0 +k8s_network_load_bucket{le="10.0",my_label="my_val"} 2 0 +k8s_network_load_bucket{le="+Inf",my_label="my_val"} 3 0 +k8s_network_load_sum{my_label="my_val"} 1013 0 +k8s_network_load_count{my_label="my_val"} 3 0 diff --git a/src/fluent-bit/lib/cmetrics/tests/data/issue_6534.txt b/src/fluent-bit/lib/cmetrics/tests/data/issue_6534.txt new file mode 100644 index 000000000..d19ebe99a --- /dev/null +++ b/src/fluent-bit/lib/cmetrics/tests/data/issue_6534.txt @@ -0,0 +1,165 @@ +# HELP dotnet_threadpool_num_threads The number of active threads in the thread pool +# TYPE dotnet_threadpool_num_threads gauge +dotnet_threadpool_num_threads 6 +# HELP dotnet_jit_method_total Total number of methods compiled by the JIT compiler +# TYPE dotnet_jit_method_total counter +dotnet_jit_method_total 6476 +# HELP dotnet_gc_heap_size_bytes The current size of all heaps (only updated after a garbage collection) +# TYPE dotnet_gc_heap_size_bytes gauge +dotnet_gc_heap_size_bytes{gc_generation="0"} 24 +dotnet_gc_heap_size_bytes{gc_generation="loh"} 550280 +dotnet_gc_heap_size_bytes{gc_generation="2"} 2625704 +dotnet_gc_heap_size_bytes{gc_generation="1"} 226944 +# HELP dotnet_gc_collection_count_total Counts the number of garbage collections that have occurred, broken down by generation number and the reason for the collection. +# TYPE dotnet_gc_collection_count_total counter +dotnet_gc_collection_count_total{gc_generation="1",gc_reason="alloc_small"} 133 +dotnet_gc_collection_count_total{gc_generation="0",gc_reason="alloc_small"} 618 +dotnet_gc_collection_count_total{gc_generation="2",gc_reason="alloc_small"} 8 +# HELP dotnet_threadpool_timer_count The number of timers active +# TYPE dotnet_threadpool_timer_count gauge +dotnet_threadpool_timer_count 5 +# HELP dotnet_threadpool_queue_length Measures the queue length of the thread pool. Values greater than 0 indicate a backlog of work for the threadpool to process. +# TYPE dotnet_threadpool_queue_length histogram +dotnet_threadpool_queue_length_sum 5 +dotnet_threadpool_queue_length_count 321733 +dotnet_threadpool_queue_length_bucket{le="0"} 321728 +dotnet_threadpool_queue_length_bucket{le="1"} 321733 +dotnet_threadpool_queue_length_bucket{le="10"} 321733 +dotnet_threadpool_queue_length_bucket{le="100"} 321733 +dotnet_threadpool_queue_length_bucket{le="1000"} 321733 +dotnet_threadpool_queue_length_bucket{le="+Inf"} 321733 +# HELP dotnet_gc_cpu_ratio The percentage of process CPU time spent running garbage collections +# TYPE dotnet_gc_cpu_ratio gauge +dotnet_gc_cpu_ratio 0 +# HELP dotnet_collection_count_total GC collection count +# TYPE dotnet_collection_count_total counter +dotnet_collection_count_total{generation="0"} 759 +dotnet_collection_count_total{generation="2"} 8 +dotnet_collection_count_total{generation="1"} 141 +# HELP dotnet_threadpool_adjustments_total The total number of changes made to the size of the thread pool, labeled by the reason for change +# TYPE dotnet_threadpool_adjustments_total counter +dotnet_threadpool_adjustments_total{adjustment_reason="starvation"} 957 +dotnet_threadpool_adjustments_total{adjustment_reason="warmup"} 4 +dotnet_threadpool_adjustments_total{adjustment_reason="thread_timed_out"} 2409 +dotnet_threadpool_adjustments_total{adjustment_reason="climbing_move"} 93458 +# HELP process_open_handles Number of open handles +# TYPE process_open_handles gauge +process_open_handles 264 +# HELP dotnet_gc_pause_ratio The percentage of time the process spent paused for garbage collection +# TYPE dotnet_gc_pause_ratio gauge +dotnet_gc_pause_ratio 0 +# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds. +# TYPE process_cpu_seconds_total counter +process_cpu_seconds_total 1450.85 +# HELP dotnet_gc_pause_seconds The amount of time execution was paused for garbage collection +# TYPE dotnet_gc_pause_seconds histogram +dotnet_gc_pause_seconds_sum 1.3192573999999997 +dotnet_gc_pause_seconds_count 759 +dotnet_gc_pause_seconds_bucket{le="0.001"} 7 +dotnet_gc_pause_seconds_bucket{le="0.01"} 747 +dotnet_gc_pause_seconds_bucket{le="0.05"} 759 +dotnet_gc_pause_seconds_bucket{le="0.1"} 759 +dotnet_gc_pause_seconds_bucket{le="0.5"} 759 +dotnet_gc_pause_seconds_bucket{le="1"} 759 +dotnet_gc_pause_seconds_bucket{le="10"} 759 +dotnet_gc_pause_seconds_bucket{le="+Inf"} 759 +# HELP dotnet_jit_il_bytes Total bytes of IL compiled by the JIT compiler +# TYPE dotnet_jit_il_bytes gauge +dotnet_jit_il_bytes 487850 +# HELP dotnet_gc_collection_seconds The amount of time spent running garbage collections +# TYPE dotnet_gc_collection_seconds histogram +dotnet_gc_collection_seconds_sum{gc_generation="1",gc_type="non_concurrent_gc"} 0.20421500000000006 +dotnet_gc_collection_seconds_count{gc_generation="1",gc_type="non_concurrent_gc"} 133 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="0.001"} 3 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="0.01"} 133 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="0.05"} 133 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="0.1"} 133 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="0.5"} 133 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="1"} 133 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="10"} 133 +dotnet_gc_collection_seconds_bucket{gc_generation="1",gc_type="non_concurrent_gc",le="+Inf"} 133 +dotnet_gc_collection_seconds_sum 0 +dotnet_gc_collection_seconds_count 0 +dotnet_gc_collection_seconds_bucket{le="0.001"} 0 +dotnet_gc_collection_seconds_bucket{le="0.01"} 0 +dotnet_gc_collection_seconds_bucket{le="0.05"} 0 +dotnet_gc_collection_seconds_bucket{le="0.1"} 0 +dotnet_gc_collection_seconds_bucket{le="0.5"} 0 +dotnet_gc_collection_seconds_bucket{le="1"} 0 +dotnet_gc_collection_seconds_bucket{le="10"} 0 +dotnet_gc_collection_seconds_bucket{le="+Inf"} 0 +dotnet_gc_collection_seconds_sum{gc_generation="2",gc_type="non_concurrent_gc"} 0.09344780000000001 +dotnet_gc_collection_seconds_count{gc_generation="2",gc_type="non_concurrent_gc"} 8 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="0.001"} 0 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="0.01"} 0 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="0.05"} 8 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="0.1"} 8 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="0.5"} 8 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="1"} 8 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="10"} 8 +dotnet_gc_collection_seconds_bucket{gc_generation="2",gc_type="non_concurrent_gc",le="+Inf"} 8 +dotnet_gc_collection_seconds_sum{gc_generation="0",gc_type="non_concurrent_gc"} 0.855451900000001 +dotnet_gc_collection_seconds_count{gc_generation="0",gc_type="non_concurrent_gc"} 618 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="0.001"} 127 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="0.01"} 617 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="0.05"} 618 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="0.1"} 618 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="0.5"} 618 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="1"} 618 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="10"} 618 +dotnet_gc_collection_seconds_bucket{gc_generation="0",gc_type="non_concurrent_gc",le="+Inf"} 618 +# HELP dotnet_contention_total The number of locks contended +# TYPE dotnet_contention_total counter +dotnet_contention_total 6758 +# HELP dotnet_contention_seconds_total The total amount of time spent contending locks +# TYPE dotnet_contention_seconds_total counter +dotnet_contention_seconds_total 1.0246322000000074 +# HELP dotnet_gc_memory_total_available_bytes The upper limit on the amount of physical memory .NET can allocate to +# TYPE dotnet_gc_memory_total_available_bytes gauge +dotnet_gc_memory_total_available_bytes 805306368 +# HELP dotnet_build_info Build information about prometheus-net.DotNetRuntime and the environment +# TYPE dotnet_build_info gauge +dotnet_build_info{version="4.2.4.0",target_framework=".NETCoreApp,Version=v6.0",runtime_version=".NET 6.0.11",os_version="Linux 5.4.0-1094-azure #100~18.04.1-Ubuntu SMP Mon Oct 17 11:44:30 UTC 2022",process_architecture="X64",gc_mode="Workstation"} 1 +# HELP dotnet_internal_recycle_count prometheus-net.DotNetRuntime internal metric. Counts the number of times the underlying event listeners have been recycled +# TYPE dotnet_internal_recycle_count counter +dotnet_internal_recycle_count 3 +# HELP dotnet_gc_allocated_bytes_total The total number of bytes allocated on the managed heap +# TYPE dotnet_gc_allocated_bytes_total counter +dotnet_gc_allocated_bytes_total{gc_heap="soh"} 19853322336 +# HELP process_start_time_seconds Start time of the process since unix epoch in seconds. +# TYPE process_start_time_seconds gauge +process_start_time_seconds 1670526623.05 +# HELP process_cpu_count The number of processor cores available to this process. +# TYPE process_cpu_count gauge +process_cpu_count 1 +# HELP dotnet_gc_pinned_objects The number of pinned objects +# TYPE dotnet_gc_pinned_objects gauge +dotnet_gc_pinned_objects 0 +# HELP dotnet_total_memory_bytes Total known allocated memory +# TYPE dotnet_total_memory_bytes gauge +dotnet_total_memory_bytes 20979896 +# HELP process_virtual_memory_bytes Virtual memory size in bytes. +# TYPE process_virtual_memory_bytes gauge +process_virtual_memory_bytes 8562679808 +# HELP dotnet_threadpool_throughput_total The total number of work items that have finished execution in the thread pool +# TYPE dotnet_threadpool_throughput_total counter +dotnet_threadpool_throughput_total 3381388 +# HELP process_working_set_bytes Process working set +# TYPE process_working_set_bytes gauge +process_working_set_bytes 135118848 +# HELP process_num_threads Total number of threads +# TYPE process_num_threads gauge +process_num_threads 21 +# HELP dotnet_gc_finalization_queue_length The number of objects waiting to be finalized +# TYPE dotnet_gc_finalization_queue_length gauge +dotnet_gc_finalization_queue_length 15 +# HELP process_private_memory_bytes Process private memory size +# TYPE process_private_memory_bytes gauge +process_private_memory_bytes 247390208 +# HELP dotnet_exceptions_total Count of exceptions thrown, broken down by type +# TYPE dotnet_exceptions_total counter +dotnet_exceptions_total{type="System.Net.Http.HttpRequestException"} 792 +dotnet_exceptions_total{type="System.ObjectDisposedException"} 11977 +dotnet_exceptions_total{type="System.IO.DirectoryNotFoundException"} 14 +dotnet_exceptions_total{type="System.Net.Sockets.SocketException"} 258287 +dotnet_exceptions_total{type="Grpc.Core.RpcException"} 72 diff --git a/src/fluent-bit/lib/cmetrics/tests/data/issue_71.txt b/src/fluent-bit/lib/cmetrics/tests/data/issue_71.txt new file mode 100644 index 000000000..2f16af55d --- /dev/null +++ b/src/fluent-bit/lib/cmetrics/tests/data/issue_71.txt @@ -0,0 +1,11 @@ +# HELP node_power_supply_info info of /sys/class/power_supply/<power_supply>. +# TYPE node_power_supply_info gauge +node_power_supply_info{power_supply="AC",type="Mains"} 1 +node_power_supply_info{power_supply="ucsi-source-psy-USBC000:001",type="USB",usb_type="[C] PD PD_PPS"} 1 +node_power_supply_info{power_supply="ucsi-source-psy-USBC000:002",type="USB",usb_type="C [PD] PD_PPS"} 1 +node_power_supply_info{capacity_level="Normal",manufacturer="SMP",model_name="02DL005",power_supply="BAT0",serial_number="4195",status="Discharging",technology="Li-poly",type="Battery"} 1 +# HELP node_power_supply_online online value of /sys/class/power_supply/<power_supply>. +# TYPE node_power_supply_online gauge +node_power_supply_online{power_supply="AC"} 0 +node_power_supply_online{power_supply="ucsi-source-psy-USBC000:001"} 0 +node_power_supply_online{power_supply="ucsi-source-psy-USBC000:002"} 1 diff --git a/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_5541.txt b/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_5541.txt new file mode 100644 index 000000000..b51a46c5d --- /dev/null +++ b/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_5541.txt @@ -0,0 +1,19 @@ +# HELP http_request_duration_seconds HTTP request latency (seconds) +# TYPE http_request_duration_seconds histogram +http_request_duration_seconds_bucket{le="0.005"} 2.0 +http_request_duration_seconds_bucket{le="0.01"} 2.0 +http_request_duration_seconds_bucket{le="0.025"} 2.0 +http_request_duration_seconds_bucket{le="0.05"} 2.0 +http_request_duration_seconds_bucket{le="0.075"} 2.0 +http_request_duration_seconds_bucket{le="0.1"} 2.0 +http_request_duration_seconds_bucket{le="0.25"} 2.0 +http_request_duration_seconds_bucket{le="0.5"} 2.0 +http_request_duration_seconds_bucket{le="0.75"} 2.0 +http_request_duration_seconds_bucket{le="1.0"} 2.0 +http_request_duration_seconds_bucket{le="2.5"} 2.0 +http_request_duration_seconds_bucket{le="5.0"} 2.0 +http_request_duration_seconds_bucket{le="7.5"} 2.0 +http_request_duration_seconds_bucket{le="10.0"} 2.0 +http_request_duration_seconds_bucket{le="+Inf"} 2.0 +http_request_duration_seconds_count 2.0 +http_request_duration_seconds_sum 0.0006913102697581053 diff --git a/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_5894.txt b/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_5894.txt new file mode 100644 index 000000000..482494053 --- /dev/null +++ b/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_5894.txt @@ -0,0 +1,141 @@ +# HELP process_start_time_seconds Start time of the process since unix epoch. +# TYPE process_start_time_seconds gauge +process_start_time_seconds 1.660594096832E9 +# HELP hikaricp_connections_timeout_total Connection timeout total count +# TYPE hikaricp_connections_timeout_total counter +hikaricp_connections_timeout_total{pool="mcadb",} 0.0 +# HELP spring_kafka_listener_seconds_max Kafka Listener Timer +# TYPE spring_kafka_listener_seconds_max gauge +spring_kafka_listener_seconds_max{exception="ListenerExecutionFailedException",name="org.springframework.kafka.KafkaListenerEndpointContainer#0-0",result="failure",} 0.0 +spring_kafka_listener_seconds_max{exception="none",name="org.springframework.kafka.KafkaListenerEndpointContainer#0-0",result="success",} 0.0 +# HELP spring_kafka_listener_seconds Kafka Listener Timer +# TYPE spring_kafka_listener_seconds summary +spring_kafka_listener_seconds_count{exception="ListenerExecutionFailedException",name="org.springframework.kafka.KafkaListenerEndpointContainer#0-0",result="failure",} 0.0 +spring_kafka_listener_seconds_sum{exception="ListenerExecutionFailedException",name="org.springframework.kafka.KafkaListenerEndpointContainer#0-0",result="failure",} 0.0 +spring_kafka_listener_seconds_count{exception="none",name="org.springframework.kafka.KafkaListenerEndpointContainer#0-0",result="success",} 0.0 +spring_kafka_listener_seconds_sum{exception="none",name="org.springframework.kafka.KafkaListenerEndpointContainer#0-0",result="success",} 0.0 +# HELP process_files_max_files The maximum file descriptor count +# TYPE process_files_max_files gauge +process_files_max_files 1048576.0 +# HELP hikaricp_connections_pending Pending threads +# TYPE hikaricp_connections_pending gauge +hikaricp_connections_pending{pool="mcadb",} 0.0 +# HELP jvm_memory_committed_bytes The amount of memory in bytes that is committed for the Java virtual machine to use +# TYPE jvm_memory_committed_bytes gauge +jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.605632E7 +jvm_memory_committed_bytes{area="heap",id="G1 Survivor Space",} 2.097152E7 +jvm_memory_committed_bytes{area="heap",id="G1 Old Gen",} 2.32783872E8 +jvm_memory_committed_bytes{area="nonheap",id="Metaspace",} 1.03374848E8 +jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 4390912.0 +jvm_memory_committed_bytes{area="heap",id="G1 Eden Space",} 3.73293056E8 +jvm_memory_committed_bytes{area="nonheap",id="Compressed Class Space",} 1.3500416E7 +jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-profiled nmethods'",} 4521984.0 +# HELP process_files_open_files The open file descriptor count +# TYPE process_files_open_files gauge +process_files_open_files 290.0 +# HELP rabbitmq_consumed_total +# TYPE rabbitmq_consumed_total counter +rabbitmq_consumed_total{name="rabbit",} 0.0 +# HELP hikaricp_connections_usage_seconds Connection usage time +# TYPE hikaricp_connections_usage_seconds summary +hikaricp_connections_usage_seconds_count{pool="mcadb",} 0.0 +hikaricp_connections_usage_seconds_sum{pool="mcadb",} 0.0 +# HELP kafka_consumer_sync_time_max_seconds The max time taken for a group sync. +# TYPE kafka_consumer_sync_time_max_seconds gauge +kafka_consumer_sync_time_max_seconds{client_id="consumer-1",} NaN +# HELP kafka_consumer_fetch_latency_avg_seconds The average time taken for a fetch request. +# TYPE kafka_consumer_fetch_latency_avg_seconds gauge +kafka_consumer_fetch_latency_avg_seconds{client_id="consumer-1",} NaN +# HELP rabbitmq_channels +# TYPE rabbitmq_channels gauge +rabbitmq_channels{name="rabbit",} 0.0 +# HELP kafka_consumer_sync_rate_syncs The number of group syncs per second. Group synchronization is the second and last phase of the rebalance protocol. A large value indicates group instability. +# TYPE kafka_consumer_sync_rate_syncs gauge +kafka_consumer_sync_rate_syncs{client_id="consumer-1",} 0.0 +# HELP jvm_classes_loaded_classes The number of classes that are currently loaded in the Java virtual machine +# TYPE jvm_classes_loaded_classes gauge +jvm_classes_loaded_classes 17220.0 +# HELP jdbc_connections_min +# TYPE jdbc_connections_min gauge +jdbc_connections_min{name="dataSource",} 10.0 +# HELP kafka_consumer_fetch_throttle_time_avg_seconds The average throttle time. When quotas are enabled, the broker may delay fetch requests in order to throttle a consumer which has exceeded its limit. This metric indicates how throttling time has been added to fetch requests on average. +# TYPE kafka_consumer_fetch_throttle_time_avg_seconds gauge +kafka_consumer_fetch_throttle_time_avg_seconds{client_id="consumer-1",} NaN +# HELP rabbitmq_failed_to_publish_total +# TYPE rabbitmq_failed_to_publish_total counter +rabbitmq_failed_to_publish_total{name="rabbit",} 0.0 + +# HELP tomcat_sessions_active_max_sessions +# TYPE tomcat_sessions_active_max_sessions gauge +tomcat_sessions_active_max_sessions 0.0 +# HELP process_cpu_usage The "recent cpu usage" for the Java Virtual Machine process +# TYPE process_cpu_usage gauge +process_cpu_usage 7.079390305569602E-4 +# HELP jvm_buffer_total_capacity_bytes An estimate of the total capacity of the buffers in this pool +# TYPE jvm_buffer_total_capacity_bytes gauge +jvm_buffer_total_capacity_bytes{id="mapped",} 0.0 +jvm_buffer_total_capacity_bytes{id="direct",} 81920.0 +# HELP kafka_consumer_fetch_throttle_time_max_seconds The maximum throttle time. +# TYPE kafka_consumer_fetch_throttle_time_max_seconds gauge +kafka_consumer_fetch_throttle_time_max_seconds{client_id="consumer-1",} NaN +# HELP system_load_average_1m The sum of the number of runnable entities queued to available processors and the number of runnable entities running on the available processors averaged over a period of time +# TYPE system_load_average_1m gauge +system_load_average_1m 0.52 +# HELP rabbitmq_acknowledged_published_total +# TYPE rabbitmq_acknowledged_published_total counter +rabbitmq_acknowledged_published_total{name="rabbit",} 0.0 +# HELP kafka_consumer_join_time_avg_seconds The average time taken for a group rejoin. This value can get as high as the configured session timeout for the consumer, but should usually be lower. +# TYPE kafka_consumer_join_time_avg_seconds gauge +kafka_consumer_join_time_avg_seconds{client_id="consumer-1",} NaN +# HELP jdbc_connections_max +# TYPE jdbc_connections_max gauge +jdbc_connections_max{name="dataSource",} 10.0 +# HELP kafka_consumer_assigned_partitions The number of partitions currently assigned to this consumer. +# TYPE kafka_consumer_assigned_partitions gauge +kafka_consumer_assigned_partitions{client_id="consumer-1",} 0.0 +# HELP tomcat_sessions_rejected_sessions_total +# TYPE tomcat_sessions_rejected_sessions_total counter +tomcat_sessions_rejected_sessions_total 0.0 + +# HELP kafka_consumer_heartbeat_response_time_max_seconds The max time taken to receive a response to a heartbeat request. +# TYPE kafka_consumer_heartbeat_response_time_max_seconds gauge +kafka_consumer_heartbeat_response_time_max_seconds{client_id="consumer-1",} NaN +# HELP jvm_threads_daemon_threads The current number of live daemon threads +# TYPE jvm_threads_daemon_threads gauge +jvm_threads_daemon_threads 20.0 +# HELP system_cpu_count The number of processors available to the Java virtual machine +# TYPE system_cpu_count gauge +system_cpu_count 16.0 +# HELP jvm_buffer_count_buffers An estimate of the number of buffers in the pool +# TYPE jvm_buffer_count_buffers gauge +jvm_buffer_count_buffers{id="mapped",} 0.0 +jvm_buffer_count_buffers{id="direct",} 10.0 +# HELP kafka_consumer_io_wait_time_avg_seconds The average length of time the I/O thread spent waiting for a socket to be ready for reads or writes. +# TYPE kafka_consumer_io_wait_time_avg_seconds gauge +kafka_consumer_io_wait_time_avg_seconds{client_id="consumer-1",} 0.047184790159065626 +# HELP jvm_memory_max_bytes The maximum amount of memory in bytes that can be used for memory management +# TYPE jvm_memory_max_bytes gauge +jvm_memory_max_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.22028032E8 +jvm_memory_max_bytes{area="heap",id="G1 Survivor Space",} -1.0 +jvm_memory_max_bytes{area="heap",id="G1 Old Gen",} 8.331984896E9 +jvm_memory_max_bytes{area="nonheap",id="Metaspace",} -1.0 +jvm_memory_max_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 7598080.0 +jvm_memory_max_bytes{area="heap",id="G1 Eden Space",} -1.0 +jvm_memory_max_bytes{area="nonheap",id="Compressed Class Space",} 1.073741824E9 +jvm_memory_max_bytes{area="nonheap",id="CodeHeap 'non-profiled nmethods'",} 1.22032128E8 +# HELP jvm_gc_pause_seconds Time spent in GC pause +# TYPE jvm_gc_pause_seconds summary +jvm_gc_pause_seconds_count{action="end of minor GC",cause="Metadata GC Threshold",} 2.0 +jvm_gc_pause_seconds_sum{action="end of minor GC",cause="Metadata GC Threshold",} 0.031 +jvm_gc_pause_seconds_count{action="end of minor GC",cause="G1 Evacuation Pause",} 1.0 +jvm_gc_pause_seconds_sum{action="end of minor GC",cause="G1 Evacuation Pause",} 0.016 +# HELP jvm_gc_pause_seconds_max Time spent in GC pause +# TYPE jvm_gc_pause_seconds_max gauge +jvm_gc_pause_seconds_max{action="end of minor GC",cause="Metadata GC Threshold",} 0.02 +jvm_gc_pause_seconds_max{action="end of minor GC",cause="G1 Evacuation Pause",} 0.0 +# HELP kafka_consumer_connection_count_connections The current number of active connections. +# TYPE kafka_consumer_connection_count_connections gauge +kafka_consumer_connection_count_connections{client_id="consumer-1",} 0.0 +# HELP jdbc_connections_active +# TYPE jdbc_connections_active gauge +jdbc_connections_active{name="dataSource",} 0.0 diff --git a/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_6021.txt b/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_6021.txt new file mode 100644 index 000000000..4f8cb76ba --- /dev/null +++ b/src/fluent-bit/lib/cmetrics/tests/data/issue_fluent_bit_6021.txt @@ -0,0 +1,221 @@ +# TYPE envoy_cluster_manager_cds_init_fetch_timeout counter +envoy_cluster_manager_cds_init_fetch_timeout{} 0 + +# TYPE envoy_cluster_manager_cds_update_attempt counter +envoy_cluster_manager_cds_update_attempt{} 1 + +# TYPE envoy_cluster_manager_cds_update_failure counter +envoy_cluster_manager_cds_update_failure{} 0 + +# TYPE envoy_http_downstream_cx_length_ms histogram +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="0.5"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="1"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="5"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="10"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="25"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="50"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="100"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="250"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="500"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="1000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="2500"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="5000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="10000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="30000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="60000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="300000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="600000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="1800000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="3600000"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="admin",le="+Inf"} 1 +envoy_http_downstream_cx_length_ms_sum{envoy_http_conn_manager_prefix="admin"} 15.5 +envoy_http_downstream_cx_length_ms_count{envoy_http_conn_manager_prefix="admin"} 1 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="0.5"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="1"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="5"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="10"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="25"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="50"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="100"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="250"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="500"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="1000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="2500"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="5000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="10000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="30000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="60000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="300000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="600000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="1800000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="3600000"} 0 +envoy_http_downstream_cx_length_ms_bucket{envoy_http_conn_manager_prefix="ingress_http",le="+Inf"} 0 +envoy_http_downstream_cx_length_ms_sum{envoy_http_conn_manager_prefix="ingress_http"} 0 +envoy_http_downstream_cx_length_ms_count{envoy_http_conn_manager_prefix="ingress_http"} 0 + +# TYPE envoy_http_downstream_rq_time histogram +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="0.5"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="1"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="5"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="10"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="25"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="50"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="100"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="250"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="500"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="1000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="2500"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="5000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="10000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="30000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="60000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="300000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="600000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="1800000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="3600000"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="admin",le="+Inf"} 10 +envoy_http_downstream_rq_time_sum{envoy_http_conn_manager_prefix="admin"} 25.5 +envoy_http_downstream_rq_time_count{envoy_http_conn_manager_prefix="admin"} 10 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="0.5"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="1"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="5"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="10"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="25"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="50"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="100"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="250"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="500"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="1000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="2500"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="5000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="10000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="30000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="60000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="300000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="600000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="1800000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="3600000"} 0 +envoy_http_downstream_rq_time_bucket{envoy_http_conn_manager_prefix="ingress_http",le="+Inf"} 0 +envoy_http_downstream_rq_time_sum{envoy_http_conn_manager_prefix="ingress_http"} 0 +envoy_http_downstream_rq_time_count{envoy_http_conn_manager_prefix="ingress_http"} 0 + +# TYPE envoy_listener_admin_downstream_cx_length_ms histogram +envoy_listener_admin_downstream_cx_length_ms_bucket{le="0.5"} 0 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="1"} 0 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="5"} 0 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="10"} 0 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="25"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="50"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="100"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="250"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="500"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="1000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="2500"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="5000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="10000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="30000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="60000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="300000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="600000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="1800000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="3600000"} 1 +envoy_listener_admin_downstream_cx_length_ms_bucket{le="+Inf"} 1 +envoy_listener_admin_downstream_cx_length_ms_sum{} 15.5 +envoy_listener_admin_downstream_cx_length_ms_count{} 1 + +# TYPE envoy_listener_downstream_cx_length_ms histogram +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="0.5"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="1"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="5"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="10"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="25"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="50"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="100"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="250"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="500"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="1000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="2500"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="5000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="10000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="30000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="60000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="300000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="600000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="1800000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="3600000"} 0 +envoy_listener_downstream_cx_length_ms_bucket{envoy_listener_address="0.0.0.0_10000",le="+Inf"} 0 +envoy_listener_downstream_cx_length_ms_sum{envoy_listener_address="0.0.0.0_10000"} 0 +envoy_listener_downstream_cx_length_ms_count{envoy_listener_address="0.0.0.0_10000"} 0 + +# TYPE envoy_listener_manager_lds_update_duration histogram +envoy_listener_manager_lds_update_duration_bucket{le="0.5"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="1"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="5"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="10"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="25"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="50"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="100"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="250"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="500"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="1000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="2500"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="5000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="10000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="30000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="60000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="300000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="600000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="1800000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="3600000"} 0 +envoy_listener_manager_lds_update_duration_bucket{le="+Inf"} 0 +envoy_listener_manager_lds_update_duration_sum{} 0 +envoy_listener_manager_lds_update_duration_count{} 0 + +# TYPE envoy_sds_tls_sds_update_duration histogram +envoy_sds_tls_sds_update_duration_bucket{le="0.5"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="1"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="5"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="10"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="25"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="50"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="100"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="250"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="500"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="1000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="2500"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="5000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="10000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="30000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="60000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="300000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="600000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="1800000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="3600000"} 0 +envoy_sds_tls_sds_update_duration_bucket{le="+Inf"} 0 +envoy_sds_tls_sds_update_duration_sum{} 0 +envoy_sds_tls_sds_update_duration_count{} 0 + +# TYPE envoy_server_initialization_time_ms histogram +envoy_server_initialization_time_ms_bucket{le="0.5"} 0 +envoy_server_initialization_time_ms_bucket{le="1"} 0 +envoy_server_initialization_time_ms_bucket{le="5"} 0 +envoy_server_initialization_time_ms_bucket{le="10"} 0 +envoy_server_initialization_time_ms_bucket{le="25"} 0 +envoy_server_initialization_time_ms_bucket{le="50"} 1 +envoy_server_initialization_time_ms_bucket{le="100"} 1 +envoy_server_initialization_time_ms_bucket{le="250"} 1 +envoy_server_initialization_time_ms_bucket{le="500"} 1 +envoy_server_initialization_time_ms_bucket{le="1000"} 1 +envoy_server_initialization_time_ms_bucket{le="2500"} 1 +envoy_server_initialization_time_ms_bucket{le="5000"} 1 +envoy_server_initialization_time_ms_bucket{le="10000"} 1 +envoy_server_initialization_time_ms_bucket{le="30000"} 1 +envoy_server_initialization_time_ms_bucket{le="60000"} 1 +envoy_server_initialization_time_ms_bucket{le="300000"} 1 +envoy_server_initialization_time_ms_bucket{le="600000"} 1 +envoy_server_initialization_time_ms_bucket{le="1800000"} 1 +envoy_server_initialization_time_ms_bucket{le="3600000"} 1 +envoy_server_initialization_time_ms_bucket{le="+Inf"} 1 +envoy_server_initialization_time_ms_sum{} 30.5 +envoy_server_initialization_time_ms_count{} 1 + diff --git a/src/fluent-bit/lib/cmetrics/tests/data/pr_168.txt b/src/fluent-bit/lib/cmetrics/tests/data/pr_168.txt new file mode 100644 index 000000000..f6fa0ad0d --- /dev/null +++ b/src/fluent-bit/lib/cmetrics/tests/data/pr_168.txt @@ -0,0 +1,22 @@ +# HELP prometheus_engine_query_duration_seconds Query timings +# TYPE prometheus_engine_query_duration_seconds summary +prometheus_engine_query_duration_seconds{slice="inner_eval",quantile="0.5"} NaN +prometheus_engine_query_duration_seconds{slice="inner_eval",quantile="0.9"} NaN +prometheus_engine_query_duration_seconds{slice="inner_eval",quantile="0.99"} NaN +prometheus_engine_query_duration_seconds_sum{slice="inner_eval"} 0 +prometheus_engine_query_duration_seconds_count{slice="inner_eval"} 0 +prometheus_engine_query_duration_seconds{slice="prepare_time",quantile="0.5"} NaN +prometheus_engine_query_duration_seconds{slice="prepare_time",quantile="0.9"} NaN +prometheus_engine_query_duration_seconds{slice="prepare_time",quantile="0.99"} NaN +prometheus_engine_query_duration_seconds_sum{slice="prepare_time"} 0 +prometheus_engine_query_duration_seconds_count{slice="prepare_time"} 0 +prometheus_engine_query_duration_seconds{slice="queue_time",quantile="0.5"} NaN +prometheus_engine_query_duration_seconds{slice="queue_time",quantile="0.9"} NaN +prometheus_engine_query_duration_seconds{slice="queue_time",quantile="0.99"} NaN +prometheus_engine_query_duration_seconds_sum{slice="queue_time"} 0 +prometheus_engine_query_duration_seconds_count{slice="queue_time"} 0 +prometheus_engine_query_duration_seconds{slice="result_sort",quantile="0.5"} NaN +prometheus_engine_query_duration_seconds{slice="result_sort",quantile="0.9"} NaN +prometheus_engine_query_duration_seconds{slice="result_sort",quantile="0.99"} NaN +prometheus_engine_query_duration_seconds_sum{slice="result_sort"} 0 +prometheus_engine_query_duration_seconds_count{slice="result_sort"} 0 |