Closed Joufu closed 11 months ago
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale
label.
This issue was closed because it has been stalled for 5 days with no activity.
Bug Report
Describe the bug "Untyped" type metrics are not being converted to OpenTelemetry supported type using OpenTelemetry output. We are facing an issue where we use Fluent-bit to scrape node_exporter and export the metrics to OpenTelementry Collector stack. Recently we modified some node_exporter collectors and we saw this error popping in Otel Collector logs:
The metrics from the error log, all of them have type "untyped". It seems that when Fluent-bit sending out "untyped" type metrics is not converting them to supported OTel types (OpenTelemetry Collector converts untyped to gauge). Using OTel Collector instead of Fluent-Bit , we do not face this problem as untyped is converted to gauge.
Our infra looks like this:
node_exporter <--[Input]Prometheus Scrape Metrics --> [Output]OpenTelemetry --> OTel Collectors --> Thanos
To Reproduce
Expected behavior Untyped type metrics should be converted to OpenTelemetry supported types.
Your Environment
Fluent-Bit:
[INPUT] name prometheus_scrape host localhost port 19100 tag node_exporter metrics_path /metrics scrape_interval 15s
[OUTPUT] Name opentelemetry Match exporter Host os-metrics-nop Port 443 Metrics_uri /v1/metrics Tls On Tls.verify Off add_label platform linux add_label environment test add_label resource
TYPE node_netstat_Icmp_InErrors untyped
TYPE node_netstat_TcpExt_DelayedACKs untyped
TYPE node_netstat_TcpExt_ListenDrops untyped
TYPE node_netstat_TcpExt_ListenOverflows untyped
TYPE node_netstat_TcpExt_SyncookiesFailed untyped
TYPE node_netstat_TcpExt_SyncookiesRecv untyped
TYPE node_netstat_TcpExt_SyncookiesSent untyped
TYPE node_netstat_TcpExt_TCPSynRetrans untyped
TYPE node_netstat_TcpExt_TCPTimeouts untyped
TYPE node_netstat_Tcp_ActiveOpens untyped
TYPE node_netstat_Tcp_CurrEstab untyped
TYPE node_netstat_Tcp_InErrs untyped
TYPE node_netstat_Tcp_InSegs untyped
TYPE node_netstat_Tcp_OutRsts untyped
TYPE node_netstat_Tcp_OutSegs untyped
TYPE node_netstat_Tcp_PassiveOpens untyped
TYPE node_netstat_Tcp_RetransSegs untyped
TYPE node_netstat_UdpLite_InErrors untyped
TYPE node_netstat_Udp_InErrors untyped
TYPE node_vmstat_kswapd_high_wmark_hit_quickly untyped
TYPE node_vmstat_kswapd_inodesteal untyped
TYPE node_vmstat_kswapd_low_wmark_hit_quickly untyped
TYPE node_vmstat_nr_dirty untyped
TYPE node_vmstat_nr_dirty_background_threshold untyped
TYPE node_vmstat_nr_dirty_threshold untyped
TYPE node_vmstat_nr_writeback untyped
TYPE node_vmstat_nr_writeback_temp untyped
TYPE node_vmstat_oom_kill untyped
TYPE node_vmstat_pgfault untyped
TYPE node_vmstat_pgmajfault untyped
TYPE node_vmstat_pgpgin untyped
TYPE node_vmstat_pgpgout untyped
TYPE node_vmstat_pgscan_direct untyped
TYPE node_vmstat_pgscan_direct_throttle untyped
TYPE node_vmstat_pgscan_kswapd untyped
TYPE node_vmstat_pgsteal_direct untyped
TYPE node_vmstat_pgsteal_kswapd untyped
TYPE node_vmstat_pswpin untyped
TYPE node_vmstat_pswpout untyped