Skip to content

Commit

Permalink
[juju] Add juju commands from juju agents
Browse files Browse the repository at this point in the history
Related: SET-623

Signed-off-by: Arif Ali <[email protected]>
  • Loading branch information
arif-ali authored and TurboTurtle committed Oct 23, 2024
1 parent 1d2e27e commit a53991f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sos/report/plugins/juju.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ def setup(self):
self.add_journal(service)
self.add_service_status(service)

self.add_cmd_output([
'juju_engine_report',
'juju_goroutines',
'juju_heap_profile',
'juju_leases',
'juju_metrics',
'juju_pubsub_report',
'juju_presence_report',
'juju_statepool_report',
'juju_statetracker_report',
'juju_unit_status',
])

# Get agent configs for each agent.
self.add_copy_spec("/var/lib/juju/agents/*/agent.conf")

Expand Down

0 comments on commit a53991f

Please sign in to comment.