Journey from Fluent Bit, Fluentd and Prometheus to
Journey from Fluent Bit, Fluentd and Prometheus to
Journey from Fluent Bit, Fluentd and Prometheus to
Vendor provided
OpenTelemetry provided
OpenTelemetry provided
Vendor provided
Guidelines - cross language requirements and expectations for all implementations
Semantic conventions
API, SDK
OTLP
Guidelines - cross language requirements and expectations for all implementations
Semantic conventions
API, SDK
OTLP
receivers:
hostmetrics:
scrapers:
memory:
processors:
resourcedetection/detect-host-name:
detectors:
- system
system:
hostname_sources:
- os
exporters:
otlp:
endpoint: otelcol2:4317
service:
pipelines:
metrics:
receivers:
- hostmetrics
processors:
- resourcedetection/detect-host-name
exporters:
- otlp
receivers:
hostmetrics:
scrapers:
memory:
processors:
resourcedetection/detect-host-name:
detectors:
- system
system:
hostname_sources:
- os
exporters:
otlp:
endpoint: otelcol2:4317
service:
pipelines:
metrics:
receivers:
- hostmetrics
processors:
- resourcedetection/detect-host-name
exporters:
- otlp
service:
pipelines:
metrics:
receivers: [hostmetrics]
processors: [resourcedetection/detect-host-name]
exporters: [otlp]
metrics/kafka:
receivers: [kafka]
exporters: [otlp/kafka]
logs:
receivers: [filelog]
exporters: [otlp]
logs/kafka:
receivers: [kafka]
exporters: [otlp, otlp/kafka]
traces:
receivers: [otlp, kafka]
processors: [resourcedetection/detect-host-name]
exporters: [otlp, otlp/kafka]
Core distribution
github.com/open-telemetry/opentelemetry-collector - components
Contrib distribution
https://github.com/open-telemetry/opentelemetry-collector-contrib - components
Custom distributions
~March 2020
Battle tested
Single threaded
Weak performance
Ruby magic
K8s Attributes in beta
Go-lang performance
Removed backpressure from Prometheus'
remote-write
Lowered Prometheus' memory
February 2022
~ 38 CPUs
~ 13 CPUs
~ 220G of RAM
~75G of RAM
~11G - 20x less
~85
~20
~11 instances - 8x less
Great CPU usage
Great memory usage
Hard to debug issues
Didn't support metrics and traces at the time
(it does now)
Filelog Receiver in beta
Great CPU usage
Reasonable memory usage
No major feature missing
June 2022
Remote write
Load balancing
Memory usage
Prometheus receiver in beta
Metric names quirks
Small resource usage
September 2023
~ 0.7 CPUs
~ 0.15 CPUs
~ 7.5G of RAM
~1.6G of RAM
Marcin "Perk" Stożek
@marcinstozek / perk.pl