Skip to main content

collectd-swift-stat

Overview

This plugin uses the swift client in order to issue a swift stat against a specific swift account.

Sample Graphs

Sample Graphs

Metrics

swift_stat/gauge-$PREFIX-bytes
swift_stat/gauge-$PREFIX-containers
swift_stat/gauge-$PREFIX-objects

$PREFIX will be the configured Prefix value in the plugin configuration in collectd.conf

Install / Configuration

  1. Assuming you have collectd installed already, append the following plugin details to your collectd.conf config file. Adjust the configuration items as you see fit. The plugin must be able to subprocess the ceph and rados commands.

    <LoadPlugin python>
      Globals true
    </LoadPlugin>
    
    <Plugin python>
      LogTraces true
      Interactive false
      Import "collectd_swift_stat"
      <Module collectd_swift_stat>
        Interval 30
        Prefix "gnocchi"
        User "gnocchi"
        Password "xxxxxxxxxxxxxxxxxxxxxxxxx"
        AuthURL "http://172.21.0.10:5000/v3"
        AuthVersion "3.0"
        Project "service"
      </Module>
    </Plugin>
  2. Install plugin

    [root@overcloud-controller-0 ~]# pip install collectd-swift-stat
  3. Restart collectd

    [root@overcloud-controller-0 ~]# systemctl restart collectd
  4. View metrics on the configured Swift account in your TSDB

Resources

  1. wiki.openstack.org/wiki/Swift

  2. Collectd.org

Release files for collectd-swift-stat 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collectd-swift-stat 0.0.2
File Size Uploaded
collectd-swift-stat-0.0.2.tar.gz 40.3 kB Details

Release files / collectd-swift-stat-0.0.2.tar.gz

Download URL collectd-swift-stat-0.0.2.tar.gz
Size 40.3 kB
Tags Source
SHA-256 checksum
How to use checksums
80975b99dbe83eeeffcae02688d94c8d703db4aa2d0d8da45065fc8598c9c294
BLAKE2b-256 checksum
How to use checksums
c437ebdad7488618835256e8420f43fdda60eff80b66ac9b2d8b5577be695aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page