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

Allow other fluentd metrics apart from retry_count, buffer_queue_length, buffer_total_queued_size #11055

Closed
dkuldeep22 opened this issue May 2, 2022 · 0 comments · Fixed by #11056
Labels
feature request Requests for new plugin and for new features to existing plugins

Comments

@dkuldeep22
Copy link
Contributor

Feature Request

Currently, telegraf creates only three fluentd metrics in Gather function and ignore rest of the metrics exposed by fluentd. Fluentd as td-agent exposes following metrics :

  • buffer_queue_length
  • buffer_total_queued_size
  • retry_count
  • emit_records
  • emit_size
  • emit_count
  • write_count
  • rollback_count
  • slow_flush_count
  • flush_time_count
  • buffer_stage_length
  • buffer_stage_byte_size
  • buffer_queue_byte_size
  • buffer_available_buffer_space_ratios

The above metrics are ignored by telegraf except first 3.

Proposal:

To add other metrics exposed by fluentd as td-agent.

Current behavior:

Currently fluentd creates only 3 metrics e.g. retry_count, buffer_queue_length, buffer_total_queued_size and ignore rest of the metrics.

Desired behavior:

Enable telegraf to expose other metrics similar to existing 3 metrics.

Use case:

With the fluentd installation e.g. https://docs.fluentd.org/installation/install-by-deb, tdlog plugin type is by default enabled and it exposes the above mentioned metrics. When creating dashboards with the help of telegraf integration showing charts for each of the metrics, only 3 metrics are shown on the dashboard and rest are missing as telegraf filters out only 3 metrics.

@dkuldeep22 dkuldeep22 added the feature request Requests for new plugin and for new features to existing plugins label May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant