Skip to content

Interface to retrigger the tedge-agent log-plugins list commands #3812

@reubenmiller

Description

@reubenmiller

Is your feature improvement request related to a problem? Please describe.

When the output of a log plugin has a new log entry, there isn't any easy mechanism to communicate to the tedge-agent that it should re-execute the log plugin list commands.

For instance below shows the problematic workflow:

  1. Install tedge-container-plugin which will include a "container" log plugin which reports the list of container on the device.
  2. Install a new container called "app1" (via the container software management plugin)
  3. The user wishes to get the logs from the command, however the "app1::container" log type isn't included in the log type list, so it is not selectable in the Cumulocity Device Management UI

Describe the solution you'd like

Add support for a mechanism that a component can get the tedge-agent to re-evaluate the log types list without having to restart the tedge-agent service.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions