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

Redis plugin missing lots of metrics #1685

Closed
phemmer opened this issue Aug 30, 2016 · 1 comment
Closed

Redis plugin missing lots of metrics #1685

phemmer opened this issue Aug 30, 2016 · 1 comment

Comments

@phemmer
Copy link
Contributor

phemmer commented Aug 30, 2016

Feature Request

The redis plugin is missing a lot of the metrics shown in an info command.
For example

  • client_longest_output_list
  • client_biggest_input_buf
  • blocked_clients
  • rdb_last_bgsave_time_sec
  • rdb_last_bgsave_status
  • rdb_last_save_time
  • total_net_input_bytes
  • total_net_output_bytes

The list goes on.

These metrics should be recorded.

Proposal:

Provide some way of getting these additional metrics in influxdb. The implementation should be future proof as well. Meaning that if new metrics are added to a future redis version, the source code of the plugin should not have to be modified.

Thus the plugin should either pass through unknown metrics, and rely on fielddrop to omit them if the user does not want them. Or the plugin should have a configurable list where the user can add extra metric names to the hard coded list.

Current behavior:

Hard coded list of metrics.

Desired behavior:

Configurable list of metrics.

Use case: [Why is this important (helps with prioritizing requests)]

Users might want to track metrics the plugin author does not, or that weren't available at the time of authoring.

@sparrc
Copy link
Contributor

sparrc commented Aug 30, 2016

I agree, I think it would be better to just pass through all available metrics from redis, I'm not sure why we ever put the hardcoded list to begin with...

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