aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johnston <chris.johnston@canonical.com>2019-09-03 21:25:26 +0000
committerBryn M. Reeves <bmr@redhat.com>2019-10-01 15:09:55 +0100
commit379743572ae24debb1067a9ffde25151acbd2fae (patch)
treef990e02c9bc641106fa5c84b038f240da3f588e5
parenta08196b8c02924a47271d6d31660b1ad528f09dd (diff)
downloadsos-379743572ae24debb1067a9ffde25151acbd2fae.tar.gz
[grafana] Updates Grafana plugin to work on Debian and Ubuntu.
Closes: #1771 Resolves: #1772 Signed-off-by: Chris Johnston <chris.johnston@canonical.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/grafana.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/grafana.py b/sos/plugins/grafana.py
index 8482d518..0ce98345 100644
--- a/sos/plugins/grafana.py
+++ b/sos/plugins/grafana.py
@@ -8,16 +8,16 @@
#
# See the LICENSE file in the source distribution for further information.
-from sos.plugins import Plugin, RedHatPlugin
+from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin
-class Grafana(Plugin, RedHatPlugin):
+class Grafana(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"""Fetch Grafana configuration, logs and CLI output
"""
plugin_name = "grafana"
profiles = ('services', 'openstack', 'openstack_controller')
- packages = ('graphana',)
+ packages = ('grafana')
def setup(self):
if self.get_option("all_logs"):