Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support for Canonical Snap builds to run on Ubuntu Core #17199

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Mar 19, 2024

  1. First working version of Netdata Agent running as Snap

    This minimal snap downloads the kickstart.sh script during the pull
    stage, executes the script without starting the Agent, and then ensures
    it is properly packed.
    
    This only awards the `network` and `network-bind` plugs to the Agent,
    and the `network` plug for the claim script.
    ralphm committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    3154fe5 View commit details
    Browse the repository at this point in the history
  2. Add plug for logind metrics

    ralphm committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    c6bbc53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4bad1b View commit details
    Browse the repository at this point in the history
  4. Add plug for various system metrics

    This includes many `disk.*` metrics, cpu and memory pressure,
    `system.io`.
    ralphm committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    f8faf5a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    439c273 View commit details
    Browse the repository at this point in the history
  6. Add snap for various network metrics

    This includes `ip.*`, `ipv4.*`, `ipv6.*`, `wireless.*` and
    `netfilter.conntrack_sockets`.
    ralphm committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    c75aa96 View commit details
    Browse the repository at this point in the history
  7. Add plug to provide access to /@{PROC}/@{pid}/limits

    This is the only plug that provides wide read access to other processes'
    properties, opening up proper metrics on file descriptors and limits.
    
    However, I don't think this is proper and `snapd` should expose another
    way to get this type of access, because it isn't necessarily beholden to
    using Docker.
    ralphm committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    96494f2 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Add plug for access to cgroups

    This enables `cgroups.plugin` to access unified cgroups files in
    `/sys/fs/cgroup` and emit metrics for cgroups of various kinds,
    including systemd services.
    
    Note that systemd user slices (and their child slices) are disabled by
    default by the plugin.
    ralphm committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    e0731b0 View commit details
    Browse the repository at this point in the history