Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aggregated_metrics gives incomplete output #175

Open
pranavmarla opened this issue Sep 28, 2020 · 1 comment
Open

aggregated_metrics gives incomplete output #175

pranavmarla opened this issue Sep 28, 2020 · 1 comment

Comments

@pranavmarla
Copy link

pranavmarla commented Sep 28, 2020

Details

I have Fluentd set up with multiple workers and multiple plugins. Because of that, there are many Prometheus metrics.
When I hit the /metrics endpoint for individual workers, there are no issues. However, when I hit the /aggregated_metrics endpoint, I only get partial output -- the output seems to abruptly cut off after a certain point.
Does /aggregated_metrics have a size limit??

Eg. If I hit the /aggregated_metrics endpoint (curl http://localhost:24240/aggregated_metrics), here are the last 3 lines of the resulting output:

fluentd_output_status_slow_flush_count{worker_id="0",plugin_id="object:be0",type="null"} 0.0
fluentd_output_status_slow_flush_count{worker_id="0",plugin_id="object:463c",type="relabel"} 0.0
fluentd_output_status_slow_flush_count{worker_id="0",plugin_id="object:465

Notice that the last line is abruptly cut off mid-way!

Prometheus Config

<source>
  @type prometheus
  port 24240
  metrics_path /metrics
  aggregated_metrics_path /aggregated_metrics
</source>

<source>
  @type prometheus_output_monitor
</source>

Env Info

  • Fluentd: 1.11.2
  • fluent-plugin-prometheus: 1.8.2
  • fluent-plugin-prometheus_pushgateway: 0.0.2
  • Note that Fluentd has multi-process workers enabled -- specifically, 6 workers
@pranavmarla pranavmarla changed the title aggregated_metrics endpoint only gives partial output aggregated_metrics gives incomplete output Sep 28, 2020
@raviepgithub
Copy link

I'm also facing similar issue. Is this working fine for you now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants