Skip to content

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

@dkuldeep22

Description

@dkuldeep22

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions