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

Calamari #321

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Calamari #321

wants to merge 26 commits into from

Commits on Oct 19, 2015

  1. Make Ceph collector to pick up cluster name

    Previously the prefix on admin socket names
    was a config setting, had to be manually set
    for one and only one cluster name.  In the
    output stats, the cluster name was not used,
    'ceph' was always passed through.
    
    This change makes the collector gather stats
    for all clusters it sees, and include the
    name of the cluster in the metric names.
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    9619759 View commit details
    Browse the repository at this point in the history
  2. Extend Ceph collector to collect pool stats

    These stats are only present in more recent versions
    of Ceph (currently >=0.72, but expected to be backported).
    
    Because these stats are for cluster-wide pools rather than
    an individual host/service, they are reported with a global
    name, ceph.<cluster name>.pool.<pool id>.*
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    545cfdf View commit details
    Browse the repository at this point in the history
  3. CephCollector: Gather 'ceph df' statistics

    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    023f6df View commit details
    Browse the repository at this point in the history
  4. Generate an 'all' pool which includes sum of

    pool statistics.
    
    Optionally (off by default) report service
    statistics under ceph.cluster isntead
    of servers.<hostname>
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    59030a5 View commit details
    Browse the repository at this point in the history
  5. Use counters instead of deltas for throughput stats

    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    a72319c View commit details
    Browse the repository at this point in the history
  6. Fix boolean config option handling

    jcsp authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    9c23cf2 View commit details
    Browse the repository at this point in the history
  7. BUG #7005 Remove redundant space stats

    jcsp authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    63bcde4 View commit details
    Browse the repository at this point in the history
  8. ceph: fix ceph tests and temporarily disable mocks

    This fixes some of the Ceph tests, and disables the tests that use
    mocking.
    
    Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
    dotnwat authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    8610f1e View commit details
    Browse the repository at this point in the history
  9. Reconcile branches wip-ceph vs cluster-stats

    - Removing use of 2.7-only subprocess.check_call
    - Using 'perf schema' for perf counter output
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    0b66026 View commit details
    Browse the repository at this point in the history
  10. ceph.py: join path returned from flatten_dictionary

    I don't think the filter(None,...) idiom is necessary here?...
    
    Signed-off-by: Dan Mick <dan.mick@inktank.com>
    Dan Mick authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    9fe1743 View commit details
    Browse the repository at this point in the history
  11. Fix Calamari issue #7137 with some better error handling

    The goal here is to have failures to talk to one service
    not prevent us gathering stats from other services.  The
    symptom was that when there was one stale ceph socket file
    all ceph stats stopped being collected.
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    94dc1a9 View commit details
    Browse the repository at this point in the history
  12. Fix Calamari issue #7138, bad default arg

    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    b6a7949 View commit details
    Browse the repository at this point in the history
  13. CephCollector: add options for disabling stats

    For larger systems, the stat collection can be
    overly verbose and cause excessive load on low
    powered graphite servers.  We introduce 'osd_stats_enabled'
    and 'long_running_detail' to provide a flexible way
    to tone down the verbosity.
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    c7a9e56 View commit details
    Browse the repository at this point in the history
  14. CephCollector: fix service_stats_global mode

    Signed-off-by: John Spray <john.spray@inktank.com>
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    58f2b63 View commit details
    Browse the repository at this point in the history
  15. CephCollector: remove stray whitespace

    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    5ed28f2 View commit details
    Browse the repository at this point in the history
  16. CephCollector: fix OSD stats (service_stats_global)

    Longrunning avg and _bytes statistics were losing
    the GlobalName type and getting emitted as stats within
    a server's path.  Introduce LocalName and require explicit
    local/global type for all stats names to make issues like
    this more obvious.
    John Spray authored and ChristinaMeno committed Oct 19, 2015
    Configuration menu
    Copy the full SHA
    1bc3703 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2015

  1. cephcollector: fix signature of __init__

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Oct 28, 2015
    Configuration menu
    Copy the full SHA
    948d07d View commit details
    Browse the repository at this point in the history
  2. cephcollector tests: fix tests to work with new ceph internal interfaces

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Oct 28, 2015
    Configuration menu
    Copy the full SHA
    74e41f4 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2015

  1. tests: wrapping near 80 lines

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    747ad4e View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2015

  1. ceph collector: deal with schema that has more than type

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    ed7d35a View commit details
    Browse the repository at this point in the history
  2. tests: fix ceph collector publish tests

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Nov 2, 2015
    Configuration menu
    Copy the full SHA
    3911783 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2015

  1. ceph collector: wrap long lines

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    b7c938c View commit details
    Browse the repository at this point in the history
  2. ceph collector test: fix test to work with our CalledProcessError

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    1216c03 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2015

  1. ceph collector: add docstrings to exceptions we define

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    c47e2c5 View commit details
    Browse the repository at this point in the history
  2. ceph collector: document source of metric data types

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    8f06a94 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2015

  1. ceph collector test fix pep8 violation

    Signed-off-by: Gregory Meno <gmeno@redhat.com>
    ChristinaMeno committed Nov 12, 2015
    Configuration menu
    Copy the full SHA
    02939e5 View commit details
    Browse the repository at this point in the history