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

Ceph pgmap state should use tags, not field names #2224

Closed
j-vizcaino opened this issue Jan 3, 2017 · 1 comment
Closed

Ceph pgmap state should use tags, not field names #2224

j-vizcaino opened this issue Jan 3, 2017 · 1 comment
Milestone

Comments

@j-vizcaino
Copy link
Contributor

Bug report

Ceph input for Telegraf uses field names to count the number of PG statuses and this is really not practical. Building graphs is tedious as the user needs to create a line graph for every field name, instead of the group by tag traditional approach.

System info:

Telegraf 1.1.1
Ceph 0.94 (Hammer)

Steps to reproduce:

  1. run telegraf with ceph input enabled and cluster stats enabled
  2. inspect the contents of the ceph_pgmap_state serie

Expected behavior:

Unique field name, with tag to differenciate the values

field_name      value       tag
count           123         state=active+clean
count           3           state=active+clean+scrubbing

Actual behavior:

Multiple field names (one for each pgmap_state)

field_name               value
active+clean             123
active+clean+scrubbing   3
@sparrc sparrc added this to the 1.3.0 milestone Jan 9, 2017
@sparrc
Copy link
Contributor

sparrc commented Feb 1, 2017

closed by #2229

@sparrc sparrc closed this as completed Feb 1, 2017
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