docker_engine

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2020 License: GPL-3.0 Imports: 7 Imported by: 1

README

Docker Engine monitoring with Netdata

Docker Engine is the industry’s de facto container runtime that runs on various Linux (CentOS, Debian, Fedora, Oracle Linux, RHEL, SUSE, and Ubuntu) and Windows Server operating systems.

This module will monitor one or more Docker Engines applications, depending on your configuration.

Requirements

Charts

It produces the following charts:

  • Container Actions in actions/s
  • Container States in containers
  • Builder Builds Fails By Reason in fails/s
  • Health Checks in events/s

If Docker is running in in Swarm mode and the instance is a Swarm manager:

  • Swarm Manager Leader in bool
  • Swarm Manager Object Store in count
  • Swarm Manager Nodes Per State in count
  • Swarm Manager Tasks Per State in count

Configuration

Edit the go.d/docker_engine.conf configuration file using edit-config from the your agent's config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/docker_engine.conf

Needs only url to docker metric-address. Here is an example for 2 docker instances:

jobs:
  - name: local
    url : http://127.0.0.1:9323/metrics
      
  - name: remote
    url : http://203.0.113.10:9323/metrics

For all available options, please see the module's configuration file.

Troubleshooting

Check the module debug output. Run the following command as netdata user:

./go.d.plugin -d -m docker_engine

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts = module.Charts

type Config

type Config struct {
	web.HTTP `yaml:",inline"`
}

type Dims

type Dims = module.Dims

type DockerEngine

type DockerEngine struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *DockerEngine

func (DockerEngine) Charts

func (de DockerEngine) Charts() *Charts

func (*DockerEngine) Check

func (de *DockerEngine) Check() bool

func (DockerEngine) Cleanup

func (DockerEngine) Cleanup()

func (*DockerEngine) Collect

func (de *DockerEngine) Collect() map[string]int64

func (*DockerEngine) Init

func (de *DockerEngine) Init() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL