Hello team! I am playing around with <https://docs...
# fluent-bit
m
Hello team! I am playing around with https://docs.fluentbit.io/manual/data-pipeline/inputs/prometheus-scrape-metrics Trying to understand what all potential "output" alternatives we have for this? Is there some otel-native exporter supported for getting the metrics out?
I see that there is
opentelemetry
to send to the otel collector, but that would need another otel pipeline to get it to CW which is an overkill since otelcollector already has a prometheus scraper (can completely skip FB in that way), trying to see if using an otel endpoint like https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OTLPEndpoint.html is feasible?
p
There's a Prometheus exporter output which is just a Prometheus endpoint
I don't understand your statement that you need the otel collector though, you can use the open telemetry output to send direct to wherever the collector would do
m
Thanks for the response @Pat , what I meant above is that if I am using
opentelemetry
for output, I can use it for scraping the metrics too (basically for the input too) Won't need the fluent-bit scraper at all. Trying to compare
fluentbit
with
opentelemetry
for metric scraping and exporting.
What is the general opinion in the community around using fluentbit for all telemetry including logs and metrics? Do you know if people are more inclined to use otel-collector for metrics or is fluent-bit also used extensively?