Rob-cos-grafana-agent system-files interface

  • name: rob-cos-grafana-agent
  • description: Strictly confined Grafana agent snap with configuration mechanism via a content sharing interface
  • snapcraft: snapcraft.yaml
  • upstream: link to the upstream repository
  • upstream-relation: We are simply publishing the upstream project with the flow mode in a snap format working for our use case.
  • interfaces:
    • proc-sys-kernel-threads-max:
      • request-type: installation
      • reasoning: The grafana agent must access the host file /proc/sys/kernel/threads-max. This is part of the prometheus unix exporter. For now, the agent is generating an error: level=error msg="collector failed" component=prometheus.exporter.unix.default name=processes duration_seconds=0.122266887 err="unable to retrieve limit number of threads: open /proc/sys/kernel/threads-max: permission denied"

Thank you

This request has been added to the queue for review by the @reviewers team.

+1 (#voteFor) from me as it it fits the purpose of the snap

Hello @RoboticsCommunity

+1 #voteFor the proc-sys-kernel-threads-max interface from me as well

+2 for, 0 aginst. Granting system-files interaface having read access on file /proc/sys/kernel/threads-max as per the request for this snap. This is now live